Feature setup
1) Enable the UserMetadata recipe#
- NodeJS
- GoLang
- Python
- Other Frameworks
Important
For other backend frameworks, you can follow our guide on how to spin up a separate server configured with the SuperTokens backend SDK  to authenticate requests and issue session tokens.
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, init
from 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 APIs#
Please check the next pages to see how to: