The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: Key changes in high impact partials (#44481)
Chris Chinchillaf415fb9f5ebf
diff --git a/apps/docs/content/_partials/api_settings_steps.mdx b/apps/docs/content/_partials/api_settings_steps.mdxindex e3f21307de0..8708951aef7 100644--- a/apps/docs/content/_partials/api_settings_steps.mdx+++ b/apps/docs/content/_partials/api_settings_steps.mdx@@ -2,15 +2,22 @@You can also get the Project URL and key from [the project's **Connect** dialog](/dashboard/project/\_?showConnect=true&connectTab={{ .tab }}&framework={{ .framework }}).+### Get API details++Now that you've created some database tables, you are ready to insert data using the auto-generated API.++To do this, you need to get the Project URL and key from [the project **Connect** dialog](/dashboard/project/\_?showConnect=true&connectTab={{ .tab }}&framework={{ .framework }}).++[Read the API keys docs](/docs/guides/api/api-keys) for a full explanation of all key types and their uses.+<Admonition type="note" title="Changes to API keys">Supabase is changing the way keys work to improve project security and developer experience. You can [read the full announcement](https://github.com/orgs/supabase/discussions/29260), but in the transition period, you can use both the current `anon` and `service_role` keys and the new publishable key with the form `sb_publishable_xxx` which will replace the older keys.+**The legacy keys will be deprecated shortly, so we strongly encourage switching to and using the new publishable and secret API keys**.+In most cases, you can get the correct key from [the Project's **Connect** dialog](/dashboard/project/\_?showConnect=true&connectTab={{ .tab }}&framework={{ .framework }}), but if you want a specific key, you can find all keys in [the API Keys section of a Project's Settings page](/dashboard/project/_/settings/api-keys/):-- **For legacy keys**, copy the `anon` key for client-side operations and the `service_role` key for server-side operations from the **Legacy API Keys** tab.-- **For new keys**, open the **API Keys** tab, if you don't have a publishable key already, click **Create new API Keys**, and copy the value from the **Publishable key** section.+**For new keys**, open the **API Keys** tab, if you don't have a publishable key already, click **Create new API Keys**, and copy the value from the **Publishable key** section.</Admonition>--[Read the API keys docs](/docs/guides/api/api-keys) for a full explanation of all key types and their uses.diff --git a/apps/docs/content/_partials/database_setup.mdx b/apps/docs/content/_partials/database_setup.mdxindex dc8ccb952b0..92112438ddc 100644--- a/apps/docs/content/_partials/database_setup.mdx+++ b/apps/docs/content/_partials/database_setup.mdx@@ -13,4 +13,4 @@ You can find your project credentials on the dashboard:- [Database connection strings](/dashboard/project/_/settings/api?showConnect=true): Direct and Pooler connection details including the connection string and parameters.- [Database password](/dashboard/project/_/database/settings): Reset database password here if you do not have it.-- [API credentials](/dashboard/project/_/settings/api): your serverless API URL and `anon` / `service_role` keys.+- [API credentials](/dashboard/project/_/settings/api): your serverless API URL and publishable keys.