> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/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/uDZk6hrkY8wQj326/integrations/all/mixpanel/mix1.png?fit=max&auto=format&n=uDZk6hrkY8wQj326&q=85&s=6cd6ee52eb0e5e595225e1668f55520b" 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/uDZk6hrkY8wQj326/integrations/all/mixpanel/mix2.png?fit=max&auto=format&n=uDZk6hrkY8wQj326&q=85&s=527382a14ddef11c5a98615adfcb6655" 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/uDZk6hrkY8wQj326/integrations/all/mixpanel/nango_connect_ui.png?fit=max&auto=format&n=uDZk6hrkY8wQj326&q=85&s=3190a5f967eb4b00bf0625eda746dc87" 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.
