Çiçekçi Asistanı Docs
Çiçekçi Asistanı Docs
HomeAnother Page
Folder
Setting Up Your DatabaseSuper Admin
Setup

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=true

Use Your Actual Email

Make sure to use the email address you'll sign in with! Case-sensitive matching.

Step 2: Restart Server

pnpm dev

Step 3: Sign In

  1. Sign in with your admin email
  2. Visit /super-admin
  3. 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

  1. Go to /super-admin/users
  2. Find the user you want to impersonate
  3. Click "Impersonate"
  4. See the app exactly as they see it
  5. 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.com

Restart 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=true if sign-in is required
  • Sign out and back in

Multiple admins not working? Use commas, no spaces: admin1@app.com,admin2@app.com

Setting Up Your Database

Indie Kit supports multiple database providers. Choose the one that best fits your needs.

Password-Based Authentication

Let users sign in with email and password - the classic authentication method everyone knows and trusts.

On this page

Super AdminVideo WalkthroughSuper Admin PowersSetup (30 seconds)Step 1: Add Admin EmailsStep 2: Restart ServerStep 3: Sign InAdmin Dashboard FeaturesUser ManagementPlan ManagementWaitlist ManagementContact Form SubmissionsUser ImpersonationCommon TasksAdd a New AdminRemove Admin AccessTroubleshooting