A client key for the Agents API — the credential to use in a browser.
This is the one shape that is safe to ship in a page: a client key is scoped to a single agent
and only works from the domains allowed for it, so it cannot be reused elsewhere. Copy it from the
agent's Embed snippet, where it appears as data-client-key, or create one with the Agents API
(see the link below). The SDK sends it
as Authorization: Client-Key <clientKey>.<externalId>_<connectionId>, where the external id is
either externalId or a per-browser id the SDK keeps in
localStorage.
A client key for the Agents API — the credential to use in a browser.
This is the one shape that is safe to ship in a page: a client key is scoped to a single agent and only works from the domains allowed for it, so it cannot be reused elsewhere. Copy it from the agent's Embed snippet, where it appears as
data-client-key, or create one with the Agents API (see the link below). The SDK sends it asAuthorization: Client-Key <clientKey>.<externalId>_<connectionId>, where the external id is either externalId or a per-browser id the SDK keeps inlocalStorage.See
Create a client key