Skip to main content
Skip to main content
Edit this page

Crunchy Bridge Postgres Source Setup Guide

ClickPipes supports Postgres version 12 and later.

Enable Logical Replication

Crunchy Bridge comes with logical replication enabled by default. Ensure that the settings below are configured correctly. If not, adjust them accordingly.

Creating ClickPipes User and Granting permissions

Connect to your Crunchy Bridge Postgres through the postgres user and run the below commands:

  1. Create a Postgres user exclusively for ClickPipes.

  2. Grant read-only access to the schema from which you are replicating tables to clickpipes_user. Below example shows granting permissions for the public schema. If you want to grant access to multiple schemas, you can run these three commands for each schema.

  3. Grant replication access to this user:

  4. Create publication that you'll be using for creating the MIRROR (replication) in future.

Safe list ClickPipes IPs

Safelist ClickPipes IPs by adding the Firewall Rules in Crunchy Bridge.

Where to find Firewall Rules in Crunchy Bridge?

Add the Firewall Rules for ClickPipes

What's next?

You can now create your ClickPipe and start ingesting data from your Postgres instance into ClickHouse Cloud. Make sure to note down the connection details you used while setting up your Postgres instance as you will need them during the ClickPipe creation process.