---
description: Step-by-step guide to ingest data from your Mixpanel account into RudderStack.
---

# Mixpanel

[Mixpanel](https://mixpanel.com/) is an analytics platform that helps you to track user actions with your application. It also provides specific tools for targeted business communication and engagement with your customers. In-app A/B testing, user survey forms, and custom reports to measure customer retention are some of the other features offered by Mixpanel.

This document guides you in setting up Mixpanel as a source in RudderStack. Once configured, RudderStack automatically ingests your specified Mixpanel data, which can then be routed to your data warehouse destination supported by RudderStack.

**All the Cloud Extract sources support sending data only to a data warehouse destination.**

## Getting Started

To add Mixpanel as a source in RudderStack, follow these steps:

* Log into your [RudderStack dashboard](https://app.rudderlabs.com/signup?type=freetrial).
* From the left panel, select **Sources**. Then, click on **Add Source**, as shown:

![Add Source](https://876606571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lq5Ea6fHVg3dSxMCgyQ%2Fuploads%2Fgit-blob-12cb52c49bfb39c9d6a5771907761809351a813e%2F1%20\(4\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(3\)%20\(2\)%20\(3\).png?alt=media)

* Next, navigate to **Cloud Extract** within the **Sources** directory and select **Mixpanel**.

![Select Mixpanel](https://876606571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lq5Ea6fHVg3dSxMCgyQ%2Fuploads%2Fgit-blob-7174c61097fba9dfe7f7bacda659ae310c4b72f5%2F2%20\(10\).png?alt=media)

* Assign a name to your source, and click on **Next**.

![Assign a name](https://876606571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lq5Ea6fHVg3dSxMCgyQ%2Fuploads%2Fgit-blob-0773212b853d98934d36b026733825394855944d%2F3%20\(8\).png?alt=media)

### Setting Up the Connection

* Under **Create new account**, fill in the relevant connection credentials.

![Create new account](https://876606571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lq5Ea6fHVg3dSxMCgyQ%2Fuploads%2Fgit-blob-a5a2d807efea325c66ccd44bada3efd31cbf3c7d%2F4%20\(9\).png?alt=media)

* The connection settings are:
  * **Account Name** : Your Mixpanel account name goes here.
  * **API Key** : Enter your Mixpanel API Key, which can be obtained from the **Project Settings** option in your Mixpanel header bar.
  * **API Secret** : Enter your Mixpanel API Secret, which can be obtained from the Project Settings option as mentioned above.
  * **Project timezone** : This can be obtained within the **Access URL** section in your Mixpanel **Project Settings** option.

More information on how to obtain the above credentials can be found [here](https://help.mixpanel.com/hc/en-us/articles/115004490503-Project-Settings).

If you have already connected RudderStack to your Mixpanel account, your credentials should appear automatically under **Use existing credentials**.

### Configuring the Source

* In the next screen, choose the **Start Date** under **Source Settings**. This is the date from which RudderStack ingests the data from Mixpanel.

![Source Settings](https://876606571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lq5Ea6fHVg3dSxMCgyQ%2Fuploads%2Fgit-blob-a9350766eb04d0c8979037375747b03fce3f3285%2F5%20\(10\).png?alt=media)

### Setting the Data Update Schedule

* Next, you will be required to set the **Run Frequency** to schedule the data import from your Mixpanel account to RudderStack. You can also specify the time when you want this synchronization to start, by choosing the time under the **Sync Starting At** option, as shown:

![Run Frequency](https://876606571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lq5Ea6fHVg3dSxMCgyQ%2Fuploads%2Fgit-blob-8d85f1f6e5c86f2c204a9ccb7e9176d12da1868d%2F6%20\(10\).png?alt=media)

That's it! Mixpanel is now successfully configured as a source on your RudderStack dashboard.

RudderStack will start importing data from your Mixpanel source as per the specified frequency. You can further connect this source to your data warehouse by clicking on **Connect Destinations** or **Add Destination**, as shown:

![Import data from your Mixpanel source](https://876606571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lq5Ea6fHVg3dSxMCgyQ%2Fuploads%2Fgit-blob-44700fc664d8cd2ce5df32d91eb174d37c452e95%2F7%20\(6\).png?alt=media)

Use the **Connect Destinations** option if you have already configured a data warehouse destination in RudderStack. To configure a data warehouse destination from scratch, click on the **Add Destination** button.

## FAQs

#### Is it possible to have multiple Cloud Extract sources writing to the same schema?

Yes, it is.

We have implemented a feature wherein RudderStack associates a table prefix for every Cloud Extract source writing to a warehouse schema. This way, multiple Cloud Extract sources can write to the same schema with different table prefixes.

## Contact Us

If you come across any issues while configuring Mixpanel as a source on the RudderStack dashboard, please feel free to [contact us](mailto:%20docs@rudderstack.com). You can also start a conversation in our [Slack](https://rudderstack.com/join-rudderstack-slack-community) community; we will be happy to talk to you!
