> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Linking Mixpanel as a source Canonical URL: https://posthog.com/docs/data-pipelines/sources/mixpanel > **Cloud region:** This page uses US Cloud hosts. For an EU Cloud project, use `https://eu.posthog.com` instead of `https://app.posthog.com` (app host for links). ## On this page - [Adding a data source](#adding-a-data-source) - [Available tables](#available-tables) - [Sync limitations](#sync-limitations) - [Configuration](#configuration) - [Supported tables](#supported-tables) ![](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` ![PostHog Wizard hedgehog](https://res.cloudinary.com/dmukukwp6/image/upload/wizard_3f8bb7a240.png) ![](https://res.cloudinary.com/dmukukwp6/image/upload/wizard_3f8bb7a240.png)Let AI connect your sources for you Connect your Mixpanel project to pull events, user profiles, cohorts, and annotations 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 Mixpanel. 3. Authenticate with a [Mixpanel service account](https://developer.mixpanel.com/reference/service-accounts). In Mixpanel, go to **Organization Settings → Service Accounts → Create Service Account** and grant it access to the project you want to sync. You'll need: - **Data residency region** – the region your project lives in (US, EU, or India). - **Project ID** – your numeric project ID, found under **Project Settings**. - **Service account username** – the username of the service account you created. - **Service account secret** – the secret for that service account. 4. Back in PostHog, select the region and enter the credentials, then 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 Mixpanel data in PostHog. ## Available tables | Table | Description | Sync method | | --- | --- | --- | | `export` | Raw events from the Mixpanel Raw Event Export API | Incremental | | `engage` | User profiles from the Engage API | Full refresh | | `cohorts` | Cohort definitions | Full refresh | | `annotations` | Project annotations | Full refresh | **Incremental** tables sync only new or updated records on each run. **Full refresh** tables reload all data on each sync. ## Sync limitations Only the `export` table supports incremental syncing, since it is the only endpoint with a genuine server-side time filter. The initial sync of `export` only pulls the last 365 days of events; subsequent incremental syncs advance from the last-seen event time. ## Configuration | Option | Type | Required | | --- | --- | --- | | `Data residency region` | select | Yes | | `Project ID` | text | Yes | | `Service account username` | text | Yes | | `Service account secret` | password | Yes | ## Supported tables | Table | Description | Sync method | Incremental field | Primary key | | --- | --- | --- | --- | --- | | `export` | Only syncs the last 365 days on initial sync | Incremental, Full refresh | time | — | | `engage` | User profiles — the people in Mixpanel and their current profile properties. | Full refresh | — | — | | `cohorts` | Saved cohorts — named, reusable groups of users defined in the Mixpanel project. | Full refresh | — | — | | `annotations` | Project annotations — dated notes overlaid on Mixpanel reports to mark events. | Full refresh | — | — | | `funnels` | Saved funnels — the funnel reports defined in the Mixpanel project, by id and name. | Full refresh | — | — | | `funnel_steps` | Recomputes the last 90 days on every sync | Full refresh | — | — | | `retention` | Recomputes the last 90 days on every sync | Full refresh | — | — | | `lexicon_schemas` | Lexicon data dictionary: the schema Mixpanel holds for each event and profile, with its property definitions. | Full refresh | — | — | | `lookup_tables` | Lookup tables defined in the Mixpanel project, by id and name. | Full refresh | — | — |