# Linking ConfigCat as a source - Docs

![](https://res.cloudinary.com/dmukukwp6/image/upload/texture_tan_9608fcca70)

![](https://res.cloudinary.com/dmukukwp6/image/upload/texture_tan_dark_a92b0e022d)

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.

`npx @posthog/wizard warehouse`

[Learn more](/wizard.md)

![PostHog Wizard hedgehog](https://res.cloudinary.com/dmukukwp6/image/upload/wizard_3f8bb7a240.png)

**Alpha release**

This source is currently in **alpha**. The interface and available tables may change.

The ConfigCat connector syncs your feature-flag account structure into the PostHog data warehouse, including your organizations and products.

## 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](https://api.configcat.com/docs).

## Adding a data source

1.  In PostHog, go to the [Sources tab](https://app.posthog.com/data-management/sources) of the data pipeline section.
2.  Click **\+ New source** and click **Link** next to this source.
3.  Enter your credentials (see [Configuration](#configuration) below) and click **Next**.
4.  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](https://app.configcat.com/my-account/public-api-credentials).

## Available tables

| Table | Description | Sync method |
| --- | --- | --- |
| products | The top-level container that groups configs, environments, and feature flags | Full refresh |
| organizations | The account-level owner of products and members | Full refresh |

All tables use **full refresh** syncing — the entire table is reloaded on each sync. Incremental sync is not available because the ConfigCat API does not expose pagination or server-side timestamp filters.

> **Note:** Deeper resources like configs, environments, settings, and feature flag values are not included in this initial release. Only top-level products and organizations are synced.

## 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 | — | — |

## 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](https://app.configcat.com/my-account/public-api-credentials), 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](/docs/data-warehouse/troubleshooting.md). If that doesn't help, [contact support](https://us.posthog.com/#panel=support%3Asupport%3Adata_warehouse%3A%3Atrue) – we're happy to help.

### Community questions

Ask a question

### Was this page useful?

HelpfulCould be better