Production Environment Variables for Next.js Supabase SaaS
Complete reference for generating and configuring production environment variables in your MakerKit Next.js Supabase application.
Generate and configure environment variables for your MakerKit Next.js Supabase Turbo production deployment.
Generate Environment Variables
The easiest way to configure production environment variables is using the Dev Tools application:
- Run Dev Tools:
pnpm --filter dev-tool dev - Open
http://localhost:3010/variables - Select Production mode from the dropdown
- Fill in missing variables (highlighted in red)
- Click Copy to copy all variables
- Paste into your hosting provider's environment settings. Non-secret variable may also be added to §.env.production§. Up to you.
For more details, see the Dev Tools documentation.
Next Steps
- Deployment Checklist: Complete deployment steps
- Vercel Deployment: Deploy to Vercel with CI/CD
- Supabase Configuration: Set up Supabase with migrations and RLS