Skip to main content

If you are using our backend SDK that is lesser than the following versions, please visit the older documentation link here.

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 versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI