Step 6 · about 7 minutes
Add your Supabase keys safely
Your .env.local file never leaves your laptop — so Vercel needs its own copy of those values.
In your project open Settings, then Environment Variables. Add the same two names you put in .env.local, with the same values.
- NEXT_PUBLIC_SUPABASE_URL — your project address.
- NEXT_PUBLIC_SUPABASE_ANON_KEY — the publishable key, never the secret one.
- Tick Production and Preview so both kinds of deploy can see them.
public/shots/vc-06-env-vars.png