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:

Looking for older version of the documentation?
Which UI do you use?
Custom UI
Pre built UI