{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-agen-for-work/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["Notification","LightboxImage"]},"type":"markdown"},"seo":{"title":"Mixpanel integration","siteUrl":"https://developers.frontegg.com/","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"mixpanel-integration","__idx":0},"children":["Mixpanel integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mixpanel is a product analytics platform for tracking user events, building funnels, and running cohort queries. The Mixpanel integration with Frontegg lets your application ingest events, update user and group profiles, run queries and reports, and export raw data on behalf of your users."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Prerequisites","type":"attention"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://mixpanel.com"},"children":["Mixpanel"]}," account with ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Organization Owner"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Organization Admin"]}," permissions — required to create a Service Account"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["At least one Mixpanel project in your organization"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Knowledge of your project's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["data residency region"]}," (US, EU, or India) — this determines which regional hosts the connector targets"]}]}]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Service Accounts only","type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mixpanel does not expose OAuth 2.0 for third-party applications. The Frontegg connector authenticates with a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Service Account"]}," using HTTP Basic auth — username and secret generated from your Mixpanel organization. The Project Token is also required because Mixpanel's legacy ingestion endpoints (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/track"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/engage"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/groups"]},") embed the token inside each payload object."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"create-a-service-account","__idx":1},"children":["Create a Service Account"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-1-open-service-accounts-in-organization-settings","__idx":2},"children":["Step 1: Open Service Accounts in organization settings"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In Mixpanel, open the settings gear in the left sidebar and go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Organization Settings → Service Accounts"]},", or navigate directly to ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://mixpanel.com/settings/org/service-accounts"},"children":["mixpanel.com/settings/org/service-accounts"]},". Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Service Account"]}," in the top-right corner."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mixpanel-1.888d7675d743a15bfe4113e7e43cde5f2692f7ab99e1187d270d73c84cb7b205.1ce25488.png","alt":"Mixpanel Service Accounts page with Add Service Account button highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-2-configure-the-service-account","__idx":3},"children":["Step 2: Configure the Service Account"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Service Account"]}," dialog:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Frontegg-Integration"]}," (the name must contain only letters, numbers, dashes, and underscores — no spaces)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Organization Role"]},": ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Member"]}," — scopes the account to the projects you grant below"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Projects"]},": open the dropdown and select the project(s) you want the connector to access"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Role"]},": ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Admin"]}," — required if the connector needs to both query and ingest events. Pick ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Analyst"]}," for read-only access, or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consumer"]}," for the narrowest permissions. See ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://docs.mixpanel.com/docs/orgs-and-projects/roles-and-permissions"},"children":["Mixpanel roles and permissions"]}," for the full matrix."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Expires"]},": ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Never"]}," — or set an expiration if required by your security policy"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},"."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mixpanel-2.986174d9a81fba40bd54787d7d66c6d9ce45156a4d19c6dd351d6f377cf3c000.1ce25488.png","alt":"Create Service Account dialog with name, project, and role filled in"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-3-copy-the-username-and-secret","__idx":4},"children":["Step 3: Copy the username and secret"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After clicking ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},", Mixpanel displays the Service Account ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Username"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Secret"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["once"]},". Copy both values immediately — the secret will never be shown again."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Username"]}," → paste into the Frontegg ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Service Account Username"]}," field"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Secret"]}," → paste into the Frontegg ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API Key"]}," field"]}]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Save the secret now","type":"attention"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mixpanel does not let you retrieve the secret after closing this dialog. If you lose it, delete the Service Account and create a new one."]}]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mixpanel-3.363ef6031a54aa49149cdd0a9e3092bdd0d6fbfa85aa8e0171c890db62197629.1ce25488.png","alt":"Service Account credentials dialog with username visible and secret blurred"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"find-your-project-id-and-project-token","__idx":5},"children":["Find your Project ID and Project Token"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-4-open-project-settings","__idx":6},"children":["Step 4: Open Project settings"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click the settings gear in the left sidebar and go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Settings → Overview"]},". Under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Details"]}," you will see the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project ID"]}," (a numeric value) and the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Residency"]}," (US, EU, or India)."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project ID"]}," → paste into the Frontegg ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project ID"]}," field"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Residency"]}," → map to the Frontegg ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data residency region"]}," field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["us"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eu"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["in"]}," (lowercase). If omitted, the connector defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["us"]},"."]}]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mixpanel-4.e64f26a7d84f98ff98871ce94fb3ec2af5b1234f154a95134616d881755e1685.1ce25488.png","alt":"Project settings Overview with Project ID and Data Residency highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-5-copy-the-project-token","__idx":7},"children":["Step 5: Copy the Project Token"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Scroll down to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Access Keys"]}," section on the same page. Copy the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Token"]}," — a 32-character hex string."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Token"]}," → paste into the Frontegg ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Token"]}," field"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Project Token is required for the legacy ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/track"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/engage"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/groups"]}," ingestion endpoints, which embed the token inside each request payload."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mixpanel-5.e46d2bcd687848452371553f54fae4128d1fde683d6904f255d98800502440f7.1ce25488.png","alt":"Project settings Access Keys section with Project Token highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"configure-the-frontegg-portal","__idx":8},"children":["Configure the Frontegg portal"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once you have collected all five values from the steps above, enter them in the integration configuration page of the Frontegg portal:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Frontegg portal"]}," and navigate to [ENVIRONMENT] → Integrations → Mixpanel."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Paste the Service Account ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Secret"]}," into the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API Key"]}," field."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Paste the Service Account ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Username"]}," into the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Service Account Username"]}," field."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Paste your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project ID"]}," into the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project ID"]}," field."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Paste your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Token"]}," into the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Token"]}," field."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data residency region"]}," (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["us"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eu"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["in"]},"). Leave empty to default to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["us"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"."]}]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Keep your credentials secure","type":"attention"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Never share or commit your Service Account secret or Project Token to version control. Rotate the Service Account from ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Organization Settings → Service Accounts"]}," if you suspect it has been leaked."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"additional-resources","__idx":9},"children":["Additional resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developer.mixpanel.com/reference/overview"},"children":["Mixpanel API reference"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developer.mixpanel.com/reference/service-accounts"},"children":["Service Accounts authentication"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developer.mixpanel.com/reference/project-token"},"children":["Mixpanel Project Token"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://docs.mixpanel.com/docs/orgs-and-projects/roles-and-permissions"},"children":["Roles and permissions"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://docs.mixpanel.com/docs/privacy/eu-residency"},"children":["Mixpanel EU data residency"]}]}]}]},"headings":[{"value":"Mixpanel integration","id":"mixpanel-integration","depth":2},{"value":"Create a Service Account","id":"create-a-service-account","depth":3},{"value":"Step 1: Open Service Accounts in organization settings","id":"step-1-open-service-accounts-in-organization-settings","depth":4},{"value":"Step 2: Configure the Service Account","id":"step-2-configure-the-service-account","depth":4},{"value":"Step 3: Copy the username and secret","id":"step-3-copy-the-username-and-secret","depth":4},{"value":"Find your Project ID and Project Token","id":"find-your-project-id-and-project-token","depth":3},{"value":"Step 4: Open Project settings","id":"step-4-open-project-settings","depth":4},{"value":"Step 5: Copy the Project Token","id":"step-5-copy-the-project-token","depth":4},{"value":"Configure the Frontegg portal","id":"configure-the-frontegg-portal","depth":3},{"value":"Additional resources","id":"additional-resources","depth":3}],"frontmatter":{"seo":{"title":"Mixpanel integration"}},"lastModified":"2026-05-01T18:45:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/agen-for-work/connectors/marketplace/mixpanel","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}