Connection Configuration
Example Configuration
Setup Requirements
1
Copy the pooler connection details
In the Supabase dashboard, open Connect → Session pooler. Copy the host,
port, database, and username from there.Prefer the pooler host over the direct
db.<ref>.supabase.co host — the
direct host is IPv6-only and will fail to resolve from most networks.2
Get the database password
Your database password lives under Project Settings → Database. Reset it
there if you no longer have it.
3
Keep SSL on
Leave
ssl_mode at require or higher. Supabase terminates TLS on the
pooler, so this costs nothing and keeps data encrypted in transit.
