> ## Documentation Index
> Fetch the complete documentation index at: https://nango-marcin-get-deployments-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Mixpanel - How do I link my account?

# 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`.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/mixpanel/mix1.png?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=02b3ba9d0f77c0f8daf4b60137413a13" width="578" height="910" data-path="integrations/all/mixpanel/mix1.png" />

3. Click `+ Add service account`.
4. Enter `Service account name` and select `Project role`.
5. Click `Add`.
6. Copy `Username` and copy `Secret`.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/mixpanel/mix2.png?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=6b9255de1ab5c2da8c102f133770c794" width="1876" height="786" data-path="integrations/all/mixpanel/mix2.png" />

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

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/mixpanel/nango_connect_ui.png?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=ccba23bd1011c95a30abbdc5ac20ccde" width="495" height="750" data-path="integrations/all/mixpanel/nango_connect_ui.png" />

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.
