© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
1 reply
JADNET

API KEY "ANON_KEY " for REPLIT

🤖AI ToolsRLS
Hello,

I’m trying to connect a Vite frontend (hosted on Replit) to Supabase using @supabase/supabase-js.

The Replit AI agent asks me to provide an API key from Settings → API → Project API keys, specifically the “anon public” key, and mentions that it should start with eyJ... and be very long (200+ characters).

However, in my Supabase dashboard, the keys I see do not start with eyJ... and they are much shorter. I’m not sure if I’m looking at the correct place or if the format of the keys has changed recently.

Could someone please confirm:

Where exactly to find the correct anon public key in the current Supabase dashboard?

Whether the anon key is still expected to be a long JWT starting with eyJ, or if newer projects use a different format?

For context:

Frontend: Vite

Library: @supabase/supabase-js

Environment: Replit

Thank you for your help.
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

I leaked the anon API key...
SupabaseSSupabase / help-and-questions
13mo ago
Supabase branch API URL/anon key for expo preview build
SupabaseSSupabase / help-and-questions
5mo ago
New Publishable API Keys vs. Legacy Anon Key
SupabaseSSupabase / help-and-questions
6mo ago
Anon and Service key for Supabase local
SupabaseSSupabase / help-and-questions
4mo ago