Skip to content

You need a PgStack account, a PostgreSQL database with logical replication support, and permission to configure replication on that database.

Use the upstream PostgreSQL guide and the instructions for your hosting provider. Check the WAL level, replication permissions, and network connectivity. On PostgreSQL 18 and earlier, changing wal_level to logical requires a restart.

Sign in to PgStack, create or select a project, and configure Audit with your upstream PostgreSQL connection details. Choose the tables to track and review the connection status.

Insert, update, or delete a test row in a tracked table. Open the project's Audit view and look for its table, primary key, operation, timestamp, and before-and-after values. Allow time for asynchronous capture.

An ORM integration can attach context such as a user ID, request path, or job name to application changes. Follow the integration's installation and migration instructions, then make another change through your application to verify that context appears.

Use the PgStack database connection details in your project settings to query changes with a PostgreSQL client or your ORM. Keep the PgStack database connection separate from your application's upstream PostgreSQL connection.