How can i set up an account for a customer that prevents the customer from seeing or accessing any data except of his own?
Hi Tobias, Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> 👋
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
You can approximate this in Mixpanel using a combination of roles, Data Views, and (optionally) Classified Data. The docs don’t describe a “per-customer tenant” feature explicitly, but they do show how to restrict what data a user can see inside a project.Here’s the pattern, assuming each “customer” is a Mixpanel user account that should only see their own data: 1. Create a dedicated Data View per customer In the project that holds all customers’ data: - Go to Project Settings → Data Views → + Create Data View.
- Add filters so this Data View only includes that customer’s data, e.g. by:
- Event properties (e.g. customer_id = 123), and/or
- User profile properties (e.g. Customer ID = 123). [Data Views; Onboarding guide] This ensures that within that Data View, only that customer’s events and users are visible.2. Restrict the customer to that Data View - In the Data View’s Overview tab, use Add Users or Teams to add only that customer (or a team representing that customer) to the Data View. [Manage visibility]
- Set Visibility to Private so other project members can’t self-join it. [Manage visibility] This limits which subset of project data they can access.3. Use roles and teams to control broader access - Invite the customer to the project with the minimal project role they need (often Consumer so they can only view and save their own reports). [Project roles]
- Optionally, create a Team per customer and:
- Add the customer’s user account(s) to that team.
- Add only the relevant project(s) and Data View(s) to that team. [Teams; Add users/teams to Data Views]4. (Optional) Hide sensitive fields even within their own data If you also need to hide certain properties (e.g. internal flags) from the customer: - Mark those properties as Classified in Lexicon. [Data classification]
- Ensure the customer user / team does not have “Can View” for Classified Data in Project or Organization settings. [Data classification]Limitations / uncertainty- The docs do not explicitly describe a “hard multi-tenant isolation” feature; this setup relies on Data View filters and access controls. - For very strict isolation (e.g. contractual separation), many customers instead use separate Mixpanel projects per customer, but this is not detailed in the provided sources.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Let me check the knowledge base for you again. One moment! 📚
Data Views are only available on the Enterprise plan.The docs state that “Users on an Enterprise plan can access the Data View and Data Classification features.” [Data Views]That’s why you don’t see the option as an Admin on a non‑Enterprise plan. If you upgrade the organization to Enterprise, Project Owners/Admins will be able to create and manage Data Views from Project Settings → Data Views.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
