GrowthBook

GrowthBook

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect GrowthBook to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Connect with a readonly secret API key from Settings > API Keys, or a personal access token with read access to the selected tables.

Configuration

OptionDescription
API key
Type: password
Required: True
API base URL
Type: text
Required: False

For self-hosted GrowthBook, enter your public HTTPS API URL including /api.

Linking GrowthBook to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select GrowthBook
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
features

Feature flags with default values, targeting rules, environments, and revision metadata.

Full refresh——
experiments

Experiments with hypotheses, variations, phases, analysis settings, and status.

Full refresh——
metrics

Legacy metric definitions with data sources, query settings, and measurement behavior.

Full refresh——
fact_tables

Fact table definitions with SQL, identifier columns, and data source references.

Full refresh——
fact_metrics

Metrics built from fact tables, including numerator, denominator, and analysis settings.

Full refresh——
segments

Reusable experiment populations defined by queries or fact table filters.

Full refresh——
dimensions

Query-based dimensions for grouping experiment results.

Full refresh——
projects

Projects that organize feature flags, experiments, and access settings.

Full refresh——
environments

Feature flag environments and their default states, project scopes, and parent environments.

Full refresh——
saved_groups

Reusable targeting groups defined by attribute values or conditions.

Full refresh——
data_sources

Data source definitions with identifier types and experiment assignment queries.

Full refresh——
members

Organization members with global roles, project roles, and environment access.

Full refresh——