Connect Supabase
Supabase projects run PostgreSQL, so the flow is the same as Connect PostgreSQL, with a few Supabase-specific settings. This feature is in beta .
Beta — ready to use, but some details may still change.
Supabase projects run PostgreSQL, so the flow is the same as Connect PostgreSQL, with a few Supabase-specific settings. This feature is in beta.
Find your connection details
In the Supabase dashboard open Project Settings → Database. You need the host, port, database name (postgres), user and the database password. The database password is not your Supabase account password and not an API key.
Pooling
Supabase offers a direct connection and a connection pooler:
- Session mode works for inspection, migrations and the running app.
- Transaction mode is fine for the running app but not for migrations, because some statements need a whole session. Use session mode or the direct connection for the migration credential.
When you connect through the pooler, the user name usually includes the project reference (for example postgres.abcdefgh).
SSL
Supabase requires encrypted connections. Keep SSL on; the connection test shows Encryption: Enabled.
Users and permissions
Create separate users for inspection, migration and runtime with the SQL from Show setup instructions, and run it in the Supabase SQL editor. Row Level Security policies on your own tables still apply to the runtime user when you use existing tables.
Next
Continue with Importing existing data or Migrations.