Feature setup
#
1) Enable the UserMetadata recipe- NodeJS
- GoLang
- Python
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(), ]});
import ( "github.com/supertokens/supertokens-golang/recipe/usermetadata" "github.com/supertokens/supertokens-golang/supertokens")
func main() { supertokens.Init(supertokens.TypeInput{ RecipeList: []supertokens.Recipe{ // Initialize other recipes as seen in the quick setup guide usermetadata.Init(nil), }, })}
from supertokens_python import InputAppInfo, initfrom supertokens_python.recipe import usermetadata
init( app_info=InputAppInfo( api_domain="...", app_name="...", website_domain="..." ), framework='...', recipe_list=[ # Initialize other recipes as seen in the quick setup guide usermetadata.init() ])
#
2) Use the recipe in your APIsPlease check the next pages to see how to: