Skip to content

Commit 7d799fe

Browse files
committed
feat: improve supabase powersync connection docs
1 parent 185cd00 commit 7d799fe

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed
180 KB
Loading
Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,35 @@
11
1. In your Supabase Dashboard, click **Connect** in the top bar:
2-
3-
<Frame>
4-
<img src="/images/installation/supabase-connect-database.png" />
5-
</Frame>
2+
3+
<Frame>
4+
<img src="/images/installation/supabase-connect-database.png" />
5+
</Frame>
66

77
* Under **Direct connection**, copy the connection string. The hostname should be `db.<PROJECT-ID>.supabase.co`, and not, for example, `aws-0-us-west-1.pooler.supabase.com`.
8-
9-
<Frame>
10-
<img src="/images/installation/supabase-connection-string.png" />
11-
</Frame>
128

13-
* Paste this URI in PowerSync instance **URI** field.
9+
<Frame>
10+
<img src="/images/installation/supabase-connection-string.png" />
11+
</Frame>
1412

15-
* Enter the **Password** for the `postgres` user in your Supabase database.
13+
* Paste this URI in PowerSync instance **URI** field.
1614

17-
* Supabase also [refers to this password](https://supabase.com/docs/guides/database/managing-passwords) as the *database password* or *project password*.
15+
* Enter the **Password** for the `postgres` user in your database (not your Supabase account). Supabase also [refers to this password](https://supabase.com/docs/guides/database/managing-passwords) as the *database password* or *project password*.
1816

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

19+
It should look similar to this:
20+
21+
<Frame>
22+
<img src="/images/integration-guides/powersync-supabase-connection.png" />
23+
</Frame>
24+
2125
2. Click **Test Connection** and fix any errors.
2226

2327
3. Under the **Client Auth** tab, enable **Use Supabase Auth** and enter your Supabase **JWT Secret**:
24-
28+
2529
<Frame caption="PowerSync uses the secret to verify Supabase's JWTs">
2630
<img src="/images/authentication/use-supabase-auth.png" />
2731
</Frame>
2832

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

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

0 commit comments

Comments
 (0)