Managed Service
#
Creating a development environment ✨- First, please sign up
- Select the auth method you want to use and follow the guided steps to integrate with our frontend and backend SDK if you have not done this already
- Select a region and click the deploy button:
tip
You should select a region that is closest to your backend.
- After the deployment is complete the dashboard will look similar to this:
#
Connecting the backend SDK with SuperTokens 🔌- Add the
connectionURI
and theapiKey
shown on the dashboard to your code on the backend.
- NodeJS
- GoLang
- Python
import supertokens from "supertokens-node";
supertokens.init({
supertokens: {
connectionURI: "<CONNECTION_URI_HERE_FROM_THE_POPUP>",
apiKey: "<API_KEY_HERE_FROM_THE_POPUP>"
},
appInfo: {
apiDomain: "...",
appName: "...",
websiteDomain: "..."
},
recipeList: []
});
import "github.com/supertokens/supertokens-golang/supertokens"
func main() {
supertokens.Init(supertokens.TypeInput{
Supertokens: &supertokens.ConnectionInfo{
ConnectionURI: "<CONNECTION_URI_HERE_FROM_THE_POPUP>",
APIKey: "<API_KEY_HERE_FROM_THE_POPUP>",
},
})
}
from supertokens_python import init, InputAppInfo, SupertokensConfig
init(
app_info=InputAppInfo(api_domain="...", app_name="...", website_domain="..."),
supertokens_config=SupertokensConfig(
connection_uri='<CONNECTION_URI_HERE_FROM_THE_POPUP>',
api_key='<API_KEY_HERE_FROM_THE_POPUP>'
),
framework='...',
recipe_list=[
#...
]
)