Skip to main content

Feature setup

1) Enable the UserMetadata recipe#

import SuperTokens from "supertokens-node";import UserMetadata from "supertokens-node/recipe/usermetadata";
SuperTokens.init({    supertokens: {        connectionURI: "..."    },    appInfo: {        apiDomain: "...",        appName: "...",        websiteDomain: "..."    },    recipeList: [        // Initialize other recipes as seen in the quick setup guide        UserMetadata.init(),    ]});

2) Use the recipe in your APIs#

Please check the next pages to see how to:

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