Product analytics connector
Microsoft Clarity connector for governed AI agent access
Connect Microsoft Clarity with a project Data Export API token.
Direct answer
OneQuery supports Microsoft Clarity for governed agent access.
Teams use the Microsoft Clarity connector to give AI agents bounded source API calls for endpoint-specific context while OneQuery keeps credentials centralized, limits access to approved sources, and preserves audit logs for review.
Agent workflow
What this connector enables
Microsoft Clarity becomes an approved OneQuery source instead of a secret copied into an agent prompt, shell session, or model tool. The agent receives a governed access path, and the source credentials stay behind OneQuery.
- Use bounded source API calls for endpoint-specific context for product analytics context.
- Keep Microsoft Clarity credentials centralized and out of agent runtimes.
- Review agent access through OneQuery audit history instead of reconstructing direct service usage.
Setup checklist
Prepare the Microsoft Clarity connection
Use microsoft clarity credentials and connect the source through the Dashboard and CLI. Keep credentials scoped to the data the agent is allowed to read.
- Open the target Clarity project and generate a Data Export API token from Settings > Data Export.
- Copy the token into `credentials.apiToken`.
- Only include `apiBaseUrl` when you need a non-default Clarity-compatible export API origin.
FAQ
Microsoft Clarity connector questions
What is the OneQuery Microsoft Clarity connector?
The OneQuery Microsoft Clarity connector makes product analytics context from Microsoft Clarity available to AI agents through bounded source API calls for endpoint-specific context. Connect Microsoft Clarity with a project Data Export API token.
How do AI agents access Microsoft Clarity through OneQuery?
Agents call OneQuery instead of receiving raw Microsoft Clarity credentials. OneQuery keeps credentials centralized, applies source boundaries, and records access in audit logs while exposing bounded source API calls for endpoint-specific context.
How do I set up the Microsoft Clarity connector?
Prepare microsoft clarity credentials and connect Microsoft Clarity from the OneQuery dashboard or CLI. Start with this setup step: Open the target Clarity project and generate a Data Export API token from Settings > Data Export.