visitor-identification

Installation
SKILL.md

Requires the conversations command group from hub-cli PR #251. hubspot conversations visitor-identification --help is authoritative.

What visitor identification is

When a known contact (someone whose email you have) visits your website, the HubSpot Conversations chat widget can identify them — linking the live chat session to their CRM record. To do this, your server generates a short-lived signed token and passes it to the HubSpot Conversations JavaScript SDK. The SDK sends the token to HubSpot, which verifies it and associates the chat session with the contact.

The token is NOT a general authentication credential. It identifies one visitor for one chat session and is useless outside the Conversations SDK.

Requirements

Requirement Detail
Account tier Professional or Enterprise
Required scope conversations.visitor_identification.tokens.create
Token lifetime 12 hours; cache across page loads and refresh at least every 12 hours
Generation side Server-side only — never generate in browser JavaScript; your private app token must remain secret

Generate a token

Installs
127
GitHub Stars
27
First Seen
Sep 25, 2026