# Linking LaunchDarkly 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.

Enter your LaunchDarkly access token to pull your projects, environments, feature flags, metrics, members, and audit log into the PostHog data warehouse.

## Adding a data source

1.  Go to the [sources tab](https://app.posthog.com/data-management/sources) of the data pipeline section in PostHog.
2.  Click **\+ New source** and then click **Link** next to LaunchDarkly.
3.  Create a personal or service access token in your [LaunchDarkly account settings](https://app.launchdarkly.com/settings/authorization). A token with the **Reader** role grants read access to every resource this source syncs. Copy the **Access token**.
4.  Back in PostHog, enter the access token and click **Next**.
5.  Select the tables you want to sync, set the sync method and frequency, then click **Import**.

Once the syncs are complete, you can start using LaunchDarkly data in PostHog.

## Available tables

| Table | Description | Sync method |
| --- | --- | --- |
| projects | Projects in your LaunchDarkly account | Full refresh |
| members | Account members | Full refresh |
| auditlog | Audit log entries | Full refresh |
| environments | Environments, fetched per project | Full refresh |
| metrics | Metrics, fetched per project | Full refresh |
| flags | Feature flags, fetched per project | Full refresh |

**Incremental** tables sync only new or updated records on each run. **Full refresh** tables reload all data on each sync.

## Sync limitations

LaunchDarkly's API exposes no server-side timestamp filter on these resources, so every table is full refresh only and reloads all records on each sync.

## Configuration

| Option | Type | Required |
| --- | --- | --- |
| Access token | password | Yes |

## Supported tables

| Table | Description | Sync method | Incremental field | Primary key |
| --- | --- | --- | --- | --- |
| projects | A LaunchDarkly project — a container for environments, feature flags, and metrics. | Full refresh | — | — |
| members | A member of the LaunchDarkly account. | Full refresh | — | — |
| auditlog | An entry in the LaunchDarkly audit log recording a change made in the account. | Full refresh | — | — |
| environments | An environment within a LaunchDarkly project (e.g. production, staging). | Full refresh | — | — |
| metrics | A metric used to measure the impact of feature flags and experiments. | Full refresh | — | — |
| flags | A LaunchDarkly feature flag and its targeting configuration across environments. | Full refresh | — | — |

### Community questions

Ask a question

### Was this page useful?

HelpfulCould be better