apps/docs/content/_partials/api_keys_deprecation.mdx
Supabase has changed the way keys work to improve project security and developer experience. You can read the full announcement on GitHub.
They will be deprecated by the end of 2026, and you should now use the publishable (sb_publishable_xxx) and secret (sb_secret_xxx) keys instead.
In most cases, you can get keys from [the Project's Connect dialog](/dashboard/project/_?showConnect=true&connectTab={{ .tab }}&framework={{ .framework }}), but if you want a specific key, you can find them in the Settings > API Keys section of the Dashboard.
anon key for client-side operations and the service_role key for server-side operations from the Legacy API Keys tab.