Articles in this section

Set up a connection to Mixpanel

Mixpanel is a product analytics tool that enables you to capture data on how users interact with your digital product. Mixpanel then lets you analyze this product data with simple, interactive reports that let you query and visualize the data with just a few clicks.

Set up a connection

After you start the connection, configure it in the Create connection panel and complete all of the required * authentication settings:

Setting Instructions
Name your connection * Enter a clear and distinguishable name. Throughout integrator.io imports and exports, you will have the option to choose this new connection. A unique identifier will prove helpful later when selecting it from a list of the connections in your account.
API type *

Choose your Mixpanel API type:

  • Ingestion and feature flags: Connect to send events, profiles, lookup tables, and identity updates, and to evaluate feature flags
  • Query: Read report data for insights, funnels, retention, segmentation, cohorts, profiles, and activity
  • Data export and pipelines: Download raw event data and manage warehouse export pipelines
  • Project administration: Manage annotations, Lexicon schemas, warehouse imports, feature flags, experiments, service accounts, and connectors
  • GDPR: Create and check GDPR and CCPA retrieval and deletion jobs
  • Organization: Query organization audit logs
Region * Select your Mixpanel account region (EU, India, or US).
Username *

Enter your Mixpanel username.

dataLoad.svg​​ How to retrieve the username

Secret *

Enter your Mixpanel secret.

Multiple layers of protection, including AES-256 encryption, are in place to keep your secret safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.

dataLoad.svg​​ How to retrieve the secret

Project ID *

Enter your Mixpanel project ID.

dataLoad.svg​​ How to retrieve the project ID

Project token *

Enter your Mixpanel project token.

Multiple layers of protection, including AES-256 encryption, are in place to keep your project token safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.

dataLoad.svg​​ How to retrieve the project token

Token * (Only for GDPR API)

Enter your Mixpanel GDPR token. For detailed information on retrieving the token, see OAuth token.

Multiple layers of protection, including AES-256 encryption, are in place to keep your token safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.

Tip

This connector documentation describes only the settings shown for the Simple view. For the corresponding HTTP settings, see Basic auth universal connector documentation.

How to retrieve the username

  1. Sign in to your Mixpanel account.
  2. Navigate to Settings > Project settings > Service accounts.
  3. Click + Add service account.
  4. Enter Service account name and select Project role.
  5. Click Add.
  6. Copy Username.
  7. Click Done.
MP_secret.png

How to retrieve the secret

  1. Sign in to your Mixpanel account.
  2. Navigate to Settings > Project settings > Service accounts.
  3. Click + Add service account.
  4. Enter Service account name and select Project role.
  5. Click Add.
  6. Copy Secret.
  7. Click Done.

Note

Make sure you save the service account secret because you cannot see the secret again.

How to retrieve the project ID

  1. Sign in to your Mixpanel account.
  2. Navigate to Settings > Organization settings > Projects.
  3. Click + Create project.
  4. Enter Project name.
  5. Select Where to store your date.
  6. Select your Timezone.
  7. Click Create. The Project overview page appears.
  8. Navigate to Project details
  9. Copy Project ID.
MP_ID.png

How to retrieve the project token

  1. Sign in to your Mixpanel account.
  2. Navigate to Settings > Organization settings > Projects.
  3. Click + Create project.
  4. Enter Project name.
  5. Select Where to store your date.
  6. Select your Timezone.
  7. Click Create. The Project overview page appears.
  8. Navigate to Access keys.
  9. Copy Project token.
MP_token.png

Additional reference