Prerequisites
- A Microsoft Clarity project you can administer, so you can generate API tokens
- The Connect sources capability in your VexiData organization, to connect the platform — Owners and Admins have it by default
Connect Microsoft Clarity
1
Generate an API token in Clarity
- Open your project in Microsoft Clarity
- Go to Settings > Data Export
- Click Generate new API token
- Name the token (for example,
VexiData) and copy it — Clarity shows it only once
2
Paste the token into VexiData
Go to the Integrations page in VexiData, click Connect on Microsoft Clarity, enter a Project name (for example, your website’s address), paste the token into API token, and click Connect. The project name is the label VexiData shows for this connection.
Clarity’s data export limits, enforced by Microsoft:
- 10 API requests per project per day — each tool call spends one, so make questions count
- Data covers a rolling window of the last 1 to 3 days only
- Up to 3 dimensions per request
- Responses are capped at 1,000 rows
- Aggregated metrics only — session recordings and heatmaps are not available through the API
Managing the connection
To connect more Clarity projects, click Add account on the Microsoft Clarity card on the Integrations page, enter a different project name, and paste that project’s token — each project keeps its own token. The connection with the Primary badge is the primary, which tools use when a request doesn’t name one. To change it, open another connection and click Make primary in its Connection card. To rotate a token, generate a new one in Clarity and connect again with the same project name and the new token — VexiData updates the existing connection. To remove a project, open its connection and click Disconnect in the Connection card.What the AI can do
The tool is read-only, so Members can use it. Try asking: “Which pages had the most rage clicks in the last three days?”
Troubleshooting
Daily request limit reached
Daily request limit reached
Clarity allows 10 API requests per project per day, and the counter resets daily. Until it does, further calls are rejected — ask broader questions so one request answers more, or wait for the reset.
The AI can't report on older data
The AI can't report on older data
Clarity’s export API returns at most the last 3 days. For longer histories and trends, pair Clarity with Google Analytics.