Overview

To authenticate with Mixpanel, you need one key piece of information:

  1. User Name - Your Mixpanel Service account name
  2. Password - Your Mixpanel Service secret

This guide will walk you through finding or creating those credentials within Mixpanel.

Prerequisites:

  • You must set up an account with Mixpanel.

Step 1: Finding Mixpanel API Key

  1. Log into your Mixpanel account.
  2. Navigate to Settings > Project settings > Service accounts.
  1. Click + Add service account.
  2. Enter Service account name and select Project role.
  3. Click Add.
  4. Copy Username and copy Secret.

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

To authenticate using your API credentials, navigate to the Mixpanel authentication form. Enter your credentials as follows:

  • User Name: Your Mixpanel Service account name
  • Password: Your Mixpanel service account secret

Click “Connect” to complete the authentication.