Super Admin
Get admin access to your platform - manage users, plans, waitlists, and more from the super admin dashboard.
Super Admin
Get admin access to your platform! Manage users, plans, waitlists, and more from the super admin dashboard.
Prerequisites
Make sure you have database and authentication configured first.
Video Walkthrough
Super Admin Powers
With super admin access, you can:
- Manage Users - View, edit, impersonate users
- Manage Plans - Create and edit subscription plans
- Waitlist Management - View and export waitlist signups
- Analytics - Platform-wide stats and insights
- User Credits - Add or remove credits manually
- Platform Settings - Configure app-wide settings
Setup (30 seconds)
Step 1: Add Admin Emails
Add to .env.local:
# Single admin
SUPER_ADMIN_EMAILS=admin@yourapp.com
# Multiple admins (comma-separated)
SUPER_ADMIN_EMAILS=admin@yourapp.com,manager@yourapp.com,support@yourapp.com
# Enable signin
NEXT_PUBLIC_SIGNIN_ENABLED=trueUse Your Actual Email
Make sure to use the email address you'll sign in with! Case-sensitive matching.
Step 2: Restart Server
pnpm devStep 3: Sign In
- Sign in with your admin email
- Visit
/super-admin - See the admin dashboard!
That's It!
You now have full admin access to your platform!
Admin Dashboard Features
User Management
- View all users with search and filters
- See user activity and subscription status
- Impersonate users (see app from their perspective)
- Manually adjust user data
- Add/remove credits
Access: /super-admin/users
Plan Management
- Create new subscription plans
- Edit existing plans (pricing, features, quotas)
- Set default plans for new signups
- Configure payment provider IDs (Stripe, Dodo, etc.)
- Archive old plans
Access: /super-admin/plans
Plan Changes
Existing subscriptions aren't affected when you edit plans. Users on old plans keep their pricing until they change plans.
Waitlist Management
- View all waitlist signups
- Export to CSV
- Send bulk emails
- Track signup sources
Access: /super-admin/waitlist
Contact Form Submissions
- View all contact form submissions
- Mark as resolved
- Respond to inquiries
- Export submissions
Access: /super-admin/contact
User Impersonation
- Go to
/super-admin/users - Find the user you want to impersonate
- Click "Impersonate"
- See the app exactly as they see it
- Click "Exit Impersonation" when done
Use cases: Debug user issues, see what users experience, help users navigate, test permissions.
Common Tasks
Add a New Admin
SUPER_ADMIN_EMAILS=existing@admin.com,new@admin.comRestart server. New admin can access /super-admin immediately.
Remove Admin Access
Remove their email from SUPER_ADMIN_EMAILS and restart.
Troubleshooting
Can't access /super-admin?
- Check your email is in
SUPER_ADMIN_EMAILS - Verify email matches exactly (case-sensitive)
- Restart dev server after adding email
- Ensure
NEXT_PUBLIC_SIGNIN_ENABLED=trueif sign-in is required - Sign out and back in
Multiple admins not working? Use commas, no spaces: admin1@app.com,admin2@app.com