Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions snippets/supabase-database-connection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@

* PowerSync has the Supabase CA certificate pre-configured — `verify-full` SSL mode can be used directly, without any custom certificates.

- In your Supabase dashboard, navigate to **"Project Settings"** -> **"Database" -> "Connection string**" and select the "URI" tab.
* In your Supabase dashboard, navigate to **Project Settings** > **Database** > **Connection string** and select the "URI" tab.

- Uncheck the "**Display connection pooler**" checkbox. PowerSync needs to connect to the database directly and cannot use the pooler.
* Uncheck the **Display connection pooler** checkbox. PowerSync needs to connect to the database directly and cannot use the pooler.

2. Click **"Test Connection"** and fix any errors.
2. Click **Test Connection** and fix any errors.

3. Under the **"Client Auth"** tab, enable **"Use Supabase Auth"** and enter your Supabase **JWT Secret**:
3. Under the **Client Auth** tab, enable **Use Supabase Auth** and enter your Supabase **JWT Secret**:

<Frame caption="PowerSync uses the secret to verify Supabase's JWTs">
<img src="/images/authentication/use-supabase-auth.png" />
</Frame>

4. Click **"Save and deploy"** to deploy the updates to your instance.
4. Click **Save and deploy** to deploy the updates to your instance.

PowerSync deploys and configures an isolated cloud environment for you, which will take a few minutes to complete.
Loading