1. Create a Neon project
If you haven’t already, sign up for a Neon account and create a project. This will provision a new serverless PostgreSQL database. Note your project’s connection details.2. Enable logical replication
Connect to your Neon database using the provided SQL Editor or any compatiblepsql
client.
Run the following command to set the wal_level
to logical
, which is required for CDC.
3. Configure a replication user
Create or alter a user, granting them the necessary roles for replication.\du
in psql
.