Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(warehouse): correct supabase connection string instructions (#67276)

Thiago Salvatore07ccad894d0d
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/supabase/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/supabase/source.py
index 80569d1cc236..0f01ccf809b7 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/supabase/source.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/supabase/source.py
@@ -34,11 +34,14 @@ _SourceField = (
_SUPABASE_DIRECT_HOST_RE = re.compile(r"^db\.[a-z0-9]+\.supabase\.co$", re.IGNORECASE)
_SUPABASE_POOLER_HOST_CAPTION = (
- "For standard syncs, use the **Session pooler** host (Project settings → Database → "
- "Connection pooling), e.g. `aws-0-<region>.pooler.supabase.com`, with username "
+ "To get your connection string, click **Connect** in the top bar of your Supabase "
+ "dashboard, open the **Direct** tab, and pick **Session pooler** or **Direct "
+ "connection** — the URL is shown at the bottom. For standard syncs use the "
+ "**Session pooler** host, e.g. `aws-0-<region>.pooler.supabase.com`, with username "
"`postgres.<project-ref>` — the direct host `db.<ref>.supabase.co` is IPv6-only. "
- "For **change data capture (CDC)** you must use the direct host instead and enable "
- "Supabase's **IPv4 add-on**, because logical replication doesn't work through the pooler."
+ "For **change data capture (CDC)** you must use **Direct connection** instead and "
+ "enable Supabase's **IPv4 add-on**, because logical replication doesn't work through "
+ "the pooler."
)
_SUPABASE_DIRECT_HOST_IPV4_HINT = (