Skip to main content
You need Organization Owner or Admin access in Mixpanel to create service accounts.

Create a Service Account

Create a service account in your Mixpanel organization to authenticate API requests.

1

Navigate to Service Accounts

Sign in to your Mixpanel account.

  • Click the Settings icon (gear) at the bottom of the left sidebar.
  • Select Organization Settings.
  • In the left sidebar, click Service Accounts.
2

Create a new Service Account

Click Add Service Account to create new credentials.

  • Enter a descriptive name for the service account.
  • Select the Organization Role based on your requirements (Admin recommended for full API access).
  • Click Create.
3

Copy your credentials

After creation, copy the Username and Secret and store them securely for use later.

  • The secret is only shown once during creation — save it before closing the dialog.

Find your Project ID

Your Project ID uniquely identifies your Mixpanel project for API requests.

1

Navigate to Project Settings

Sign in to your Mixpanel account.

  • Click the Settings icon (gear) at the bottom of the left sidebar.
  • Select Project Settings.
2

Copy the Project ID

In the Project Details section, locate and copy the Project ID.

  • Example: 4011905

Select your data residency region

Select the data center region your Mixpanel project uses. Data residency is set when a project is created and cannot be changed.

  • US Data Residency: Default for most accounts (mixpanel.com)
  • EU Data Residency: For projects with EU data residency enabled (eu.mixpanel.com)
  • You can verify your project’s region in Organization Settings > Projects under the Data Residency field.

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Service Account Username
  • Service Account Secret
  • Project ID
  • Data Residency
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account in your Accounts page.