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:

Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react