Skip to main content

Managed Service

Creating a development environment ✨#

  • First, please sign up
  • Select a region and follow the guided steps until you see a dashboard like:SuperTokens managed service dashboard
tip

You should select a region that is closest to your backend.

Connecting the backend SDK with SuperTokens 🔌#

  • Add the connectionURI and the apiKey shown on the dashboard to your code on the backend.
SuperTokens managed service dashboard connectionURI and API key
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: []
});
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react