Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Document SB_PUBLISHABLE_KEY and SB_SECRET_KEY secrets.

Matthieu Hochlander802e36912fbb
diff --git a/doc/src/content/docs/developers/supabase-configuration.mdx b/doc/src/content/docs/developers/supabase-configuration.mdx
index 22a48f47..1b9c4292 100644
--- a/doc/src/content/docs/developers/supabase-configuration.mdx
+++ b/doc/src/content/docs/developers/supabase-configuration.mdx
@@ -33,6 +33,12 @@ Now, link the local project to the Supabase instance. You'll be asked to enter t
npx supabase link --project-ref ********************
```
+Set up secrets for the Supabase instance (follow this [guide](https://supabase.com/docs/guides/api/api-keys#where-to-find-keys) to find your publishable and secret keys):
+
+```sh
+npx supabase secrets set SB_PUBLISHABLE_KEY=<publishable_key> SB_SECRET_KEY=<secret_key>
+```
+
Then, apply the migrations and deploy the edge functions:
```sh