Create a Service Account
Create a service account in your Mixpanel organization to authenticate API requests.
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.
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.
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.
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.
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
Navigate to the Hub
Fill out the fields
- Service Account Username
- Service Account Secret
- Project ID
- Organization ID (Optional)
- Data Residency
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.