Connect Microsoft Clarity

You need Data Export API token. About two minutes.

1Get your Data Export API token

Data Export API token

Paste the API token
  1. Open your project in Clarity as a project admin.
  2. Go to Settings, then Data Export.
  3. Click Generate new API token and name it, 4 to 32 characters with no spaces.
  4. Copy the token and store it safely.

Your Clarity project, Settings, Data Export, Generate new API token. Only a project admin can make one, and it reads that project alone.

Open the page

https://clarity.microsoft.com/projects

2Add it to CreditBar

  1. Open CreditBar from the menu bar and choose Settings, then Accounts.
  2. Click Add account and pick Microsoft Clarity.
  3. Paste the Data Export API token into the matching field, and give the account a label you will recognise.
  4. Click Test connection, then Add. Numbers appear in the menu bar within a minute.

Keys are stored in your Mac's Keychain and only ever sent to Microsoft Clarity. Nothing passes through a CreditBar server.

3What it reads

Reports
sessions, distinct users and friction counts for the last 24 hours
Calls
https://www.clarity.ms/export-data/api/v1/project-live-insights?numOfDays=1
Refreshes
At most every 240 minutes
API docs
Microsoft Clarity reference, checked 2026-09-28

Clarity allows ten reads a day per project and reports only the last 24 hours, so there is no history and it refreshes every four hours at most.