> For the complete documentation index, see [llms.txt](https://docs.customerglu.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.customerglu.com/third-party-integrations/cohort/mixpanel.md).

# Mixpanel

## Prerequisites

Before setting up the integration, ensure the following:

* A paid Mixpanel plan.
* Access of CutomerGlu Dashboard.

## Steps To Integrate With Mixpanel

1. Log in to **CustomerGlu**, click on the **Dev Console**.

<figure><img src="/files/ecLQ8c96oxElxHketql4" alt="" width="563"><figcaption></figcaption></figure>

2. Click on **Mixpanel** Integration.

<figure><img src="/files/80GIG98hvR6e4y03GBmk" alt="" width="563"><figcaption></figcaption></figure>

3. &#x20;Copy your **Webhook URL**, **Username** and **Password** from her&#x65;**.**&#x20;

<figure><img src="/files/sTx6LH8mKuI6ScbVbeDx" alt="" width="563"><figcaption></figcaption></figure>

4. Login to **Mixpanel** Dashboard > **Data Management** > **Integrations**.

<figure><img src="/files/PDws6S0GLe41G6Dr9OjM" alt="" width="563"><figcaption></figcaption></figure>

5. Go **Custom Webhook** > **Add Connection**.

<figure><img src="/files/TPfsdFvSbSrTI3GcGeMs" alt="" width="563"><figcaption></figcaption></figure>

6. Fill the details copied from the **CustomerGlu** dashboard.

<figure><img src="/files/po6wdhamgPwGRwR9vaAP" alt="" width="563"><figcaption></figcaption></figure>

7. Click on **Data Management** > **Cohorts**.

<figure><img src="/files/o0gaMEjz9K3w0MFsIiMM" alt="" width="563"><figcaption></figcaption></figure>

8. Select You **User Segment**  > **Exports** >  Select **CustomerGlu Webhook**.

<figure><img src="/files/jsPhsBc5g71EZ2vxW8yY" alt="" width="563"><figcaption></figcaption></figure>

9. Select one of the following sync types and then click Begin **Sync**:

<figure><img src="/files/vF4ZWbmwhraE33jWS8cP" alt="" width="563"><figcaption></figcaption></figure>

* **One-time Sync**

  In the case of one-time sync, Mixpanel sends a one-time list of users who are currently part of the cohort to CustomerGlu. The cohort name defined in the Mixpanel dashboard appears as the segment under the *Segments* list page of the CustomerGlu dashboard.<br>
* **Recurring Sync**

  In the case of dynamic sync, Mixpanel initiates sync between a cohort and CustomerGlu every **30** **minutes**. The imported segment is updated every **30 minutes** to reflect the most recent list of users in the segment. The cohort name defined in the Mixpanel dashboard appears as the segment under the *Segments* list page of the CustomerGlu dashboard.

{% hint style="info" %}
**Delay in Sync Initialization**

The sync initialization from Mixpanel may take **up to 30 minutes** to start exporting users after it is enabled from the Mixpanel dashboard.
{% endhint %}

{% hint style="info" %}
**Mixpanel Cohort Sync**

Every dynamic cohort sync from Mixpanel includes only the users added or removed from the cohort after the last sync.
{% endhint %}
