Mixpanel Integration
API Key (Bearer)Connect your AI agent to Mixpanel. Track events, analyze user behavior, query funnels, and review A/B test results from conversations.
What your agent can do
With Mixpanel credentials, your agent gets access to analytics, funnels, cohorts, and experiments through the Mixpanel API.
Event tracking
Query event data, analyze event properties, and review event volumes across date ranges.
User analytics
Look up user profiles, analyze user properties, and track user engagement metrics.
Funnel analysis
Query conversion funnels, identify drop-off points, and compare performance across segments.
Cohort management
List cohorts, view cohort membership, and analyze behavioral segments over time.
A/B test results
Retrieve experiment results, compare variant performance, and check statistical significance.
Prerequisites
- ✓A Mixpanel account with organization admin access
- ✓Service Account from Organization Settings
- ✓A ClawTrust agent on any plan (Starter, Pro, or Enterprise)
Step-by-step setup
Create a Service Account in Mixpanel and add the secret to your agent.
Open Mixpanel Organization Settings
In Mixpanel, click the gear icon and navigate to Organization Settings > Service Accounts.
Create a Service Account
Click "Add Service Account" and assign a role with the access level your agent needs (typically Analyst or Admin).
Copy the secret
Copy the generated Service Account secret. This is used as a Bearer token for API authentication.
Add to ClawTrust
In your agent's dashboard, go to Credentials > Add Credential. Select "API Key (Bearer)", paste the secret, and set the allowed domain to *.mixpanel.com.
Credential details
Type
Header
Authorization: Bearer sa_xxxAllowed domains
*.mixpanel.comFields
Service Account secret (single field)Example actions
Once connected, you can ask your agent to perform actions like these.
"Show me the top events by volume for the past 30 days"
Queries the Mixpanel insights API and returns a ranked list of event counts.
"What is the signup-to-purchase funnel conversion this week?"
Runs a funnel query with the specified events and returns step-by-step conversion rates.
"List all active A/B experiments and their winning variants"
Retrieves experiment data and summarizes variant performance with significance levels.
"How many users in the power-users cohort were active yesterday?"
Queries the cohort and cross-references with activity data to return the count.
Ready to connect your agent to Mixpanel?
Add your Service Account secret and your agent starts querying analytics immediately.