Overview
Once Viametrics is connected, the Dema Agent can pull live people-counting data from your Viametrics account directly inside a conversation — in/out counts, counter groups, and occupancy for a store, area, or shopping centre. Viametrics is read-only: the agent fetches data, it does not change anything in your Viametrics account. The agent only acts when you ask it to.Prerequisites
- A Viametrics account.
- A ClientID and an apiKey for the ViaCustomerApi.
Viametrics issues API credentials manually — there is no self-serve key page. You request them from Viametrics Support (see below).
Connect Viametrics
Request your credentials from Viametrics
Email support@viametrics.com and ask for API access to the ViaCustomerApi. They will send you:
- a ClientID — a 1–4 digit number that identifies your company, and
- an apiKey — a secret string.
Connect in Dema
In Dema, go to Agents → Settings → Integrations, find Viametrics, and click Connect. In the ClientID:apiKey field, paste your ClientID and apiKey joined by a colon, with no spaces:For example:
1234:a1b2c3d4e5...Click Add. Dema marks the integration as Active.There is a single field — combine both values into one string separated by a colon.
Rotating the key
Ask Viametrics Support for new credentials, then click Reconnect on the Viametrics integration card in Dema and enter the newClientID:apiKey string.
Troubleshooting
Dema cannot authenticate
Dema cannot authenticate
Check the format. The ClientID:apiKey field must contain your ClientID and apiKey joined by a single colon with no spaces, for example
1234:a1b2c3d4e5.... Both halves must be present.The agent's Viametrics requests are failing
The agent's Viametrics requests are failing
Viametrics rate-limits the API. If the agent makes many requests in a short window, some may be throttled — ask narrower questions, or wait and retry.

