Skip to main content

Full setup guide

Use this wizard after Supacharger works against the local Supabase stack. It takes the application from a local baseline to a tested hosted Supabase project and a production Vercel deployment.

This is a production-configuration wizard, not an installation guide. Supabase and Vercel MCP connections make the work easier for a coding agent, but they are developer tooling; the deployed application does not depend on either MCP connection.

What you will configure

StepOutcome
1. Before you beginConfirm the local baseline, select the intended projects, and decide application policy.
2. Connect hosted SupabaseLink the project, preview and apply migrations, and enable the access-token hook.
3. Configure environment variablesSet local and Vercel variables without exposing server credentials.
4. Deploy and establish URLsEstablish the canonical HTTPS origin and configure Supabase redirect URLs.
5. Configure authentication policyAlign hosted Auth settings with src/supacharger.config.ts.
6. Configure production emailConnect custom SMTP, authenticate the sending domain, and tune rate limits.
7. Install email templatesInstall templates that match OTP, link, recovery, and security flows.
8. Verify productionExercise the complete hosted authentication journey and run final checks.

Complete the steps in order. A later page assumes the earlier page has supplied its project, keys, domain, or policy decisions.

Keep environments separate

Repeat the hosted parts of the wizard for every Supabase environment. Local supabase/config.toml settings and files under supabase/templates/ configure only the local stack; they do not update a hosted project's Auth settings, templates, providers, hooks, or rate limits.

Use different Supabase projects and secrets for staging and production. Never test a migration against production merely because the CLI happens to be linked to it.

Optional branches

Finish the core wizard before adding integrations that the application does not need at launch:

Start with Before you begin.

Build Supacharger with SpecdriveKeep the specification, infrastructure and agent work in one project context.