Skip to main content

Step 4: User management dashboard

Setting up and viewing the user management dashboard#

With the user management dashboard, you can view the list of users on SuperTokens and be able to easily view, modify or delete their sessions, metadata, roles and account info.

To get started, initialise the Dashboard recipe in the recipeList on the backend and provide a random and unique API key that is known only to you. This API key will later be used to access the dashboard from the UI.

import SuperTokens from "supertokens-node";
import Dashboard from "supertokens-node/recipe/dashboard";

appInfo: {
apiDomain: "...",
appName: "...",
websiteDomain: "...",
recipeList: [
apiKey: "<SOME API KEY>"

Now, if you navigate to <YOUR_API_DOMAIN>/auth/dashboard, you will now be able to see the enter API screen.

Enter API screen of dashboard

You should enter the same API as the one you provided in the dashboard.init function call. On successful authentication, you will see the following UI

Empty dashboard

Now, navigate to the your frontend app and create a user (via the sign up flow). On creation, if you head back to the dashboard and refresh the page, you will see that user:

One user in dashboard

Content Security Policy#

If you return a Content-Security-Policy header in from your backend, you will need to include the following directives for the user management dashboard to work correctly


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