Skip to main content
Version: Next

Call the init function

import SuperTokens from "supertokens-auth-react";
SuperTokens.init({    appInfo: {        appName: string,        apiDomain: string,        websiteDomain: string,        apiBasePath?: string,        websiteBasePath?: string,        apiGatewayPath?: string    },    recipeList: [/* TODO */]});

You can learn more about the appInfo object in the recipe guides.

What type of UI do you want to use?
Custom UI
Pre built UI