Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: Couple of random anon leftovers (#46732)

Chris Chinchilladdba257686ff
diff --git a/apps/docs/app/contributing/content.mdx b/apps/docs/app/contributing/content.mdx
index 4f03645cc87..a4c0476d5d4 100644
--- a/apps/docs/app/contributing/content.mdx
+++ b/apps/docs/app/contributing/content.mdx
@@ -354,7 +354,7 @@ If your image has alternate light and dark versions, or you want to make it zoom
### Project Variables
-Some guides and tutorials will require that users copy their Supabase project URL and anon key. You can provide those inline if the user is signed in:
+Some guides and tutorials will require that users copy their Supabase project URL and publishable or secret key. You can provide those inline if the user is signed in:
```mdx
<ProjectConfigVariables variable="url" />
diff --git a/apps/docs/content/guides/ai-tools/mcp.mdx b/apps/docs/content/guides/ai-tools/mcp.mdx
index 8e3092c2d1e..bec493599d4 100644
--- a/apps/docs/content/guides/ai-tools/mcp.mdx
+++ b/apps/docs/content/guides/ai-tools/mcp.mdx
@@ -52,7 +52,7 @@ The Supabase MCP server provides tools organized into feature groups. All groups
### Development
- `get_project_url` - Get the API URL for a project
-- `get_publishable_keys` - Get anon/public keys
+- `get_publishable_keys` - Get publishable and legacy anon API keys for a project
- `generate_typescript_types` - Generate TypeScript types from schema
### Edge Functions
diff --git a/apps/docs/content/guides/auth/third-party/clerk.mdx b/apps/docs/content/guides/auth/third-party/clerk.mdx
index 1358f8421db..25cfda14e36 100644
--- a/apps/docs/content/guides/auth/third-party/clerk.mdx
+++ b/apps/docs/content/guides/auth/third-party/clerk.mdx
@@ -77,7 +77,7 @@ import Supabase
let supabase = SupabaseClient(
supabaseURL: URL(string: "https://project-ref.supabase.io")!,
- supabaseKey: "supabase.anon.key",
+ supabaseKey: "supabase.publishable.key",
options: SupabaseClientOptions(
auth: SupabaseClientOptions.AuthOptions(
accessToken: {
diff --git a/apps/docs/content/guides/getting-started/quickstarts/flutter.mdx b/apps/docs/content/guides/getting-started/quickstarts/flutter.mdx
index c68f7cb7c67..498936ca67f 100644
--- a/apps/docs/content/guides/getting-started/quickstarts/flutter.mdx
+++ b/apps/docs/content/guides/getting-started/quickstarts/flutter.mdx
@@ -73,7 +73,7 @@ hideToc: true
await Supabase.initialize(
url: 'YOUR_SUPABASE_URL',
- anonKey: 'YOUR_SUPABASE_PUBLISHABLE_KEY',
+ publishableKey: 'YOUR_SUPABASE_PUBLISHABLE_KEY',
);
runApp(MyApp());
}