What you will learn
This tutorial shows how to set up Supabase as a data destination in Kondado. Supabase is a managed PostgreSQL service that requires specific connectivity configurations.
Prerequisites
- Supabase account with a created project
- Administrator access to the Supabase project
- Active Kondado account
Step 1 — Choose the connection mode
Supabase offers two connection modes for external integrations. We recommend Option A (Session Pooler): it is free, stable, and natively supported by Supabase.
Option A: Session Pooler (Recommended — Free)
This is the simplest and free way to enable IPv4 connectivity (included in every Supabase plan):
- Open the Supabase dashboard
- Select your project
- Click Connect at the top of the page (or go to Project Settings → Database)
- In the Connection string section, select Session pooler
- Note down host, port, and user values shown
aws-0-<region>.pooler.supabase.com (example: aws-1-sa-east-1.pooler.supabase.com) with port 5432.
Option B: IPv4 Add-on (Paid)
If you prefer to use the direct Supabase host, you can purchase the dedicated IPv4 add-on:
- In Supabase, go to Project Settings → Add-ons
- Enable the IPv4 Address add-on (paid)
- Use host
db.<project-ref>.supabase.cowith port 5432
Step 2 — Get Connection Credentials
In the Supabase dashboard, go to Project Settings → Database and locate the Connection string section:
| Kondado Field | Supabase Value | Example |
|---|---|---|
| Host (Address) | Session Pooler host (recommended) or IPv4 host | aws-1-sa-east-1.pooler.supabase.com |
| Port | 5432 (Session Pooler or Direct) |
5432 |
| User | postgres.<project-ref> (with the dot) ⚠️ NOT your email! |
postgres.abcdefghijklmnop |
| Password | Database password (set in Database Settings → Database password) | •••••••• |
| Database | Database name | postgres |
postgres.<project-ref>. The <project-ref> is your project's unique reference (visible in the dashboard URL or in Project Settings → General).
anon and service_role keys. If you forgot it or never set it, you can reset it in Project Settings → Database → Database password.
Step 3 — Configure in Kondado
- Go to app.kondado.com.br
- Click CREATE + → DESTINATIONS
- Select PostgreSQL
- Fill the fields with the values obtained in Step 2
- Click TEST CONNECTION
- If successful, click SAVE
Step 4 (Optional) — Whitelist Kondado IPs
If your Supabase project has Network Restrictions enabled, you need to whitelist Kondado IPs:
- In Supabase, go to Project Settings → Database → Network Restrictions
- Add the public Kondado IPs listed at Kondado IPs
Troubleshooting — Common Errors
| Error | Cause | Solution |
|---|---|---|
Connection refused / timeout |
Supabase's direct connection mode requires the IPv4 add-on in IPv4-only environments | Use the Session Pooler or purchase the IPv4 add-on |
password authentication failed for user "<email>" |
Email used in User field | Use postgres.<project-ref> (see Database Settings) |
password authentication failed (correct user) |
Wrong password | Reset the password at Database Settings → Database password (not the dashboard password) |
| Test connection works but pipelines fail | Active Network Restrictions blocking some IPs | Whitelist all Kondado IPs (see Step 4) |
Alternative: Via Kondado
If you cannot or prefer not to configure Supabase, Kondado offers the Via Kondado destination — direct connection to dashboards and AI, with one free unit included on every account.
To use it, simply select Via Kondado when creating a destination. Learn more at: Via Kondado.
Next steps
Connect Supabase as a Destination in Kondado
Configure a Supabase PostgreSQL database as a Kondado data destination using the Session Pooler.
Select Session Pooler in Supabase
In the Supabase dashboard, go to Project Settings → Database and select "Session pooler" in the Connection string section. Note down host, port, user, and password.
Identify the correct host and user
Use host aws-0-<region>.pooler.supabase.com with port 5432, user postgres.<project-ref> (with a dot, NOT your email), and database postgres.
Get the database password
The password is at Project Settings → Database → Database password. Do not confuse it with the dashboard login password or the anon/service_role keys. Reset it if needed.
Register the destination in Kondado
Go to app.kondado.com.br, click CREATE + → DESTINATIONS, select PostgreSQL, and fill the fields with the values you noted.
Test and save the connection
Click TEST CONNECTION. If it passes, click SAVE. If it fails, check the troubleshooting table in this article.
Whitelist IPs (if applicable)
If Supabase Network Restrictions are enabled, whitelist Kondado IPs at Project Settings → Database → Network Restrictions. List at kondado.io/wiki/en/kondado-ips.