The easiest way to get started with Realtime is to sign up to our Alpha.
If you want to host your own Realtime server, this document will help you to get set up. You have options to host using Docker, AWS, DigitalOcean, or build from source.
- Postgres 10+
- Environment variables to set:
DB_HOST: defaults to
DB_NAME: defaults to
DB_USER: defaults to
DB_PASSWORD: defaults to
DB_PORT: defaults to
Setting Up Replication
For us to receive the streaming data, we need the database to have a free replication slot:
If you want to receive the old record (previous values) on
DELETE, you can set the
REPLICA IDENTITY to
FULL like this:
This has to be set for each table.