Create your Service Account
Open Project Settings
Go to your Mixpanel project, click the gear icon in the bottom-left, then select Project Settings.
Go to Service Accounts
In the Project Settings page, click the Service Accounts tab on the right side.
Paste into UserJourneys
Go back to UserJourneys, paste the username and secret into the Mixpanel
connection form, and click Connect. UserJourneys detects your project
automatically — no project ID or region to enter. If the service account can
access more than one project, you’ll be asked to pick which one to connect.
Sync cohorts to UserJourneys
Cohort sync is optional and set up separately from connecting your account. It lets Mixpanel push cohort membership to UserJourneys for use in Study Launch Rules.Generate the webhook secret
In the Mixpanel connection settings, expand Cohort sync (optional) and
click Set up cohort sync. UserJourneys shows the webhook URL, the Basic
Auth username, and a one-time secret.
Create a webhook destination in Mixpanel
In Mixpanel, open the cohort sync/integrations area and create a custom
webhook destination. Paste the UserJourneys webhook URL as the destination
URL, enable Basic Auth, and paste the displayed username and secret.
Select cohorts to sync
For each Mixpanel cohort you want to use for Study Launch Rules, sync or
export that cohort to the UserJourneys webhook destination.
Saved cohorts can now appear as UserJourneys Audiences and can be connected to
Studies through Study Launch Rules.