Beacon
The beacon group helps you embed a Help Scout Beacon and wire up Secure Mode
identity verification. See the command reference.
Embed a Beacon
Section titled “Embed a Beacon”hscli beacon embed BEACON_ID --color "#1292EE" --position rightThis prints the <script> block to drop into your site.
Secure Mode identity
Section titled “Secure Mode identity”Generate the front-end identify snippet, and sign or verify a customer payload with your Beacon secret:
hscli beacon identify-snippet --beacon-id BEACON_ID --secret "$HSCLI_BEACON_SECRET"hscli beacon sign --email customer@acme.io --secret "$HSCLI_BEACON_SECRET"hscli beacon verify --email customer@acme.io --signature <sig> --secret "$HSCLI_BEACON_SECRET"