Prerequisites
Understanding Supabase connection modes
Supabase offers two ways to connect to your database. Choosing the right one matters:Connect Supabase to VexiData
1
Get your Supabase connection details
- Log in to your Supabase Dashboard
- Select the project you want to connect
- Go to Project Settings (gear icon) > Database
- Under Connection string, select the URI tab
- Choose Transaction Pooler mode (recommended)
- Copy the connection string — it looks like this:
2
Whitelist VexiData's IP addresses
If your Supabase project has network restrictions enabled, add VexiData’s IP addresses to your allowlist:
46.101.71.122
By default, Supabase allows connections from all IP addresses. You only need this step if you have explicitly enabled network restrictions.
3
Add the connection in VexiData
- Go to Data Sources in VexiData
- Click PostgreSQL to open the connection form
- Fill in the details:
4
Test and save
Click Test & Save Connection. VexiData will verify it can reach your database. Once connected, your schema will be analyzed automatically.
Finding your database password
If you don’t remember your database password, you can reset it in Supabase:- Go to Project Settings > Database
- Under Database Password, click Reset Database Password
Resetting your database password will break any existing connections using the old password. Update them after resetting.
Troubleshooting
Connection timed out
Connection timed out
- Verify that VexiData’s IP addresses are allowlisted if you have network restrictions enabled
- Check that you’re using the correct host and port for your chosen connection mode
- Ensure your Supabase project is not paused — free-tier projects pause after inactivity
Authentication failed
Authentication failed
- Double-check your username format — the Transaction Pooler requires
postgres.[project-ref], not justpostgres - Verify your password is correct. If unsure, reset it in Supabase Project Settings
- Make sure you’re not mixing up Direct Connection and Transaction Pooler credentials
No tables visible after connecting
No tables visible after connecting
- Confirm your tables are in the
publicschema. If they’re in a custom schema, update the Schema field in VexiData - Check that the database user has
SELECTpermissions on the tables you want to query
Connection works but queries are slow
Connection works but queries are slow
- If your Supabase project is on the free tier, it may be running on shared infrastructure with limited resources
- Consider upgrading your Supabase plan for better performance