© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
2 replies
Eminelson1

Supabase Environment Key Confusion

Hello everyone. This is my first time using Supabase. While reading the docs on setting up the local .env file, I noticed both NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY and NEXT_PUBLIC_SUPABASE_ANON_KEY being used. I’m confused about which one is correct. Any Help would be much appreciated. Thank you.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Supabase migration confusion
SupabaseSSupabase / help-and-questions
6mo ago
environment on supabase.
SupabaseSSupabase / help-and-questions
7mo ago
Supabase Environment Management
SupabaseSSupabase / help-and-questions
7mo ago
Supabase Local - API Key?
SupabaseSSupabase / help-and-questions
3y ago