Skip to content

Super admin (first operator)

After deployment — sign up, verify email, then set is_super_admin in Supabase for your user.

2 min read

When to do this

Steps

Open the app

Open your frontend in the browser — for example http://localhost:5173 (default Vite dev), http://localhost:3000 if your setup serves the web app there, or your production site URL.

Sign up and verify your email

In the navbar, choose Sign up and complete registration with your email and password. Finish email verification using the code or link your setup sends (depends on Supabase Auth and backend email configuration).

Promote your user to super admin

The admin entry points may appear in the UI, but super-admin routes require is_super_admin on your user.

Open the Supabase Dashboard → your project → Table Editor → the users table (or the table where your app stores public.users). Find the row for your account and set is_super_admin from FALSE to TRUE, then save.

After that, sign out and sign in again if the app caches roles, or refresh the session as your app expects.

Related configuration