Linking ConfigCat as a source
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.

The ConfigCat connector syncs your feature-flag account structure into the PostHog data warehouse. This includes your organizations, products, configs, environments, feature flags and their values, members, tags, and audit logs.
Prerequisites
You need a ConfigCat account with Public Management API credentials. These are a username and password pair — separate from your SDK keys — that grant read access to your account data through the ConfigCat Public Management API.
Adding a data source
- In PostHog, go to the Sources tab of the data pipeline section.
- Click + New source and click Link next to this source.
- Enter your credentials (see Configuration below) and click Next.
- Select the tables you want to sync, choose a sync method and frequency, then click Import.
Once the syncs are complete, you can start querying this data in PostHog.
When linking ConfigCat, you'll need:
- Public API username – the username from your Public Management API credential.
- Public API password – the password from your Public Management API credential.
Create these under Public Management API credentials in your ConfigCat dashboard.
Sync methods
The audit_logs table supports incremental sync on auditLogDateTime. Each incremental sync fetches only the audit log entries that are newer than the last sync.
All other tables use full refresh syncing. The entire table is reloaded on each sync.
Configuration
| Option | Type | Required |
|---|---|---|
Public API username | password | Yes |
Public API password | password | Yes |
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
products | A ConfigCat product — the top-level container that groups configs, environments, and feature flags. | Full refresh | — | — |
organizations | A ConfigCat organization — the account-level owner of products and members. | Full refresh | — | — |
configs | A ConfigCat config — the container within a product that groups feature flags and settings. | Full refresh | — | — |
environments | A ConfigCat environment — a deployment target such as production or staging, which each feature flag holds its own value in. | Full refresh | — | — |
settings | A ConfigCat feature flag or setting — the definition of the flag itself, without its per-environment values. | Full refresh | — | — |
setting_values | The value a ConfigCat feature flag or setting evaluates to in one environment, with its targeting rules — one row per flag per environment. | Full refresh | — | — |
audit_logs | A ConfigCat audit log entry — one recorded change to a product, config, environment, feature flag or member, with who made it and why. | Incremental, Full refresh | auditLogDateTime | — |
organization_members | A person's membership of a ConfigCat organization — one row per user per role, so a user who is both an admin and a billing manager appears twice. | Full refresh | — | — |
product_members | A person's access to a ConfigCat product, with the permission group that decides what they can change. | Full refresh | — | — |
stale_flags | A ConfigCat zombie (stale) flag — a feature flag nothing has changed for long enough that it is a candidate for removal, with its staleness in each environment. | Full refresh | — | — |
tags | A ConfigCat tag — a label attached to feature flags to group them, defined per product. | Full refresh | — | — |
tag_settings | The tag to feature flag junction — one row per feature flag carrying a tag, with the flag's own details. | Full refresh | — | — |
segments | A ConfigCat segment is a reusable group of users, defined per product, that feature flag targeting rules can refer to. | Full refresh | — | — |
permission_groups | A ConfigCat permission group is a named set of permissions that product members are assigned to. | Full refresh | — | — |
code_references | A ConfigCat code reference report: where a scan of a source code repository found a feature flag or setting. One row per flag per report. | Full refresh | — | — |
Troubleshooting
- If you see an authentication error (401), your Public API credentials are invalid or have been revoked. Generate a new credential in your ConfigCat dashboard, then reconnect.
- If you see a permissions error (403), your Public API credentials do not have access to this data. Check the credential's permissions, then reconnect.
If your sync is failing or data looks wrong, see the Data warehouse troubleshooting guide. If that doesn't help, contact support – we're happy to help.





