Requirements
- PostgreSQL 14 or newer. Supabase, Neon, Amazon RDS and Aurora, Google Cloud SQL, and most managed providers qualify.
- Logical replication enabled. This is the built-in PostgreSQL setting that exposes the change feed Autopilot reads, and the same setting analytics tools such as Fivetran and Airbyte ask for. See Enable logical replication below.
- A direct connection host. Use your provider’s direct database host (typically port
5432), not a transaction pooler host. Pooled connections cannot follow the change feed.
Enable logical replication
Create the Autopilot user
Run these two statements as a role that can create roles (for examplepostgres), replacing <SECRET_PASSWORD> with a strong, unique password:
- Read access to your tables, through
pg_read_all_data, the read-only role built into PostgreSQL. - Permission to follow the change feed, through
REPLICATION.
It is best practice to create a separate database user for each service that
connects to your database. That way you can see exactly what each one is
allowed to do, and revoke any of them independently.
Share the connection string
Put the user and password into a standard connection string using your direct database host:My database only accepts connections from allowlisted IP addresses
My database only accepts connections from allowlisted IP addresses
Contact support and we will share the
addresses Autopilot connects from.
Some of my tables use row level security (RLS)
Some of my tables use row level security (RLS)
Tell us during onboarding. Row level security applies to queries, not to the
change feed, so Autopilot handles RLS-protected tables differently. We’ll go
through which tables your funnel needs and agree on how to include them.
I use Supabase Auth
I use Supabase Auth
Autopilot can read signups and logins from Supabase Auth’s tables the same
way it reads the rest of your database. If you also want Dreamlit to send
your auth emails (magic links, password resets), that is set up separately;
see the Supabase Auth emails guide.
Removing access
You can revoke Autopilot’s access at any time, in two steps. Once the connection is removed, drop the user:Last validated: 2026-09-08