Skip to main content

Setting up Postgres as a data source

When setting up Postgres to work with Growthbook, remember it's important to create read-only users with minimal permissions, ideally granting only read access to the relevant data tables that need to be aggregated.

If you are using GrowthBook Cloud (, make sure to whitelist the ip address if applicable.

Unfortunately there isn't a specific guide for setting up Postgres for Growthbook yet. However, if you encounter any difficulties while setting up your data source, you can seek assistance from our active developer community on Slack. They can help you troubleshoot and ensure your implementation is successful. Once you've successfully set up Postgres according to best practices, we encourage you to contributing to the community by creating improved documentation for Postgres. Your contribution will benefit other users in the future.