Create a Service Account
Create a service account in your Mixpanel organization to authenticate API requests. The service account provides the Username and Secret used for authentication.
Open Settings
Sign in to your Mixpanel account, then open the settings menu.
- Click the Settings (gear) icon at the bottom of the left sidebar.
- Point at Settings in the menu — it expands into Organization Settings, Project Settings, and Personal Settings.
- Click Organization Settings (service accounts live at the organization level).
Open the Service Accounts page
In Organization Settings, open the Service Accounts list.
- Click Service Accounts in the left sidebar.
- Click Add Service Account in the top-right corner.
Fill in the new service account
In the Create Service Account dialog, fill in the details for the new account.
- Enter a descriptive Name. Only letters, numbers, dashes, and underscores are allowed — spaces are rejected (for example,
StackOne-Integration). - Choose an Organization Role — Admin is recommended for full API access.
- Under Projects, select the project(s) the service account can access.
- Choose a Project Role — Admin grants full access to the selected projects.
- Leave Expires set to Never, or pick an expiry if you want the credentials to expire automatically, then click Create.
Copy your credentials
After clicking Create, Mixpanel displays the Username and Secret for the new service account. Copy both values using the Copy to Clipboard buttons before closing the dialog.
- Copy the Username across as the Service Account Username.
- Copy the Secret across as the Service Account Secret.
- The Secret is only shown once — the dialog warns Make sure you save the service account’s secret. You will never be able to access it again.
Find your project identifiers
Your Project ID, Data Residency, and (if you use the ingestion actions) Project Token are shown on your project’s Overview page.
Open the project overview
Open the Settings (gear) menu, point at Settings, and click Project Settings. The Overview page opens by default.

Copy your Project ID
In the Project Details card, find the Project ID. Copy the Value across.
- Format: a numeric identifier
- Example:
4011905
Find your Organization ID (optional)
The Organization ID is only needed if you use the unified IAM actions (users, groups, roles, organizations, resource users). Leave the field blank if you do not use them.
- Open the Settings (gear) menu, point at Settings, and click Personal Settings, then click Organizations in the left sidebar.
- Copy the value in the Organization ID column across.
- Format: a numeric identifier
- Example:
3092532
Find your Project Token (optional)
Your Project Token is only required for the ingestion actions that create or update user profiles, group profiles, and identities.
- In the Access Keys card, click Copy next to the Project Token field.
- Leave the Project Token field blank if you only use read, query, or IAM actions.
- Format: an alphanumeric string
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).
Link the Account
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.
Use Actions
Next Steps
Webhooks setup
Configure receiving Events for Mixpanel into StackOne.