# Mixpanel

Easily sync user cohorts from Mixpanel to Apxor

### Prerequisites

1. A Mixpanel account
2. User cohorts that you want to send to Apxor

### Step 1. Select Integrations from the "Data Management" dropdown

<figure><img src="/files/6joubw2hbRPYi8IvNI1H" alt=""><figcaption></figcaption></figure>

### Step 2. Scroll down and select the "Custom Webhook" option. Click on "Connect"

<figure><img src="/files/1KuTS2A9oIiPhFEbEYgJ" alt=""><figcaption></figcaption></figure>

### Step 3. Now, enter the URL. The URL will be

**“<https://server.apxor.com/v1/cohorts/mxp/sync/:appId”>**, where **appId** is the unique identifier of the customer in the Apxor dashboard.

<figure><img src="/files/eaoyABdrRJHeXvf4xzbK" alt=""><figcaption></figcaption></figure>

### Step 4. Enter ApxCohortSync in the username field and auth token given by the Apxor team in the password field. Click "Continue".

<figure><img src="/files/JPmM0i5D3alxdlgRO1uV" alt=""><figcaption></figcaption></figure>

### Step 5. Once a custom webhook is created, you can export the cohorts to that webhook. Navigate to the Data Management dropdown and select "Cohorts."

<figure><img src="/files/dRbI1mYSVud66yHNX5T8" alt=""><figcaption></figcaption></figure>

### Step 6. Click on the options button for a cohort and export it to the webhook you just created.

<figure><img src="/files/o7w5gavdxFDTNh4Xxf3z" alt=""><figcaption></figcaption></figure>

### Step 7. After this, you will be able to export Cohorts from Mixpanel to Apxor as a One-time export or a Recurring sync.

### Step 8. The same cohort will be visible on the Apxor dashboard in the "Cohorts" tab, with Source set as "MIXPANEL". It might take up to 20 minutes for the cohort to sync in Apxor on the cohorts page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.apxor.com/partner-integrations/mixpanel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
