Documentation Index
Fetch the complete documentation index at: https://docs.cobalt.peoplereign.io/llms.txt
Use this file to discover all available pages before exploring further.
Web widget
The web widget is an embeddable chat experience you drop onto any page — a floating bubble that opens a panel, or a full-screen page you link to directly.Embed it
Each web-widget channel has a public key. Add this snippet to your page, before the closing</body> tag, with your channel’s key:
Choose how users are identified
Set the channel’s identity mode to match where you’re embedding it:| Mode | Who can use it | Use when |
|---|---|---|
| Anonymous | Anyone on the page | Public or low-sensitivity help, no sign-in required. |
| SSO | Signed-in users via your SSO | The agent needs to know who the user is to act for them. |
| Embedded token | Users your app vouches for | Your app already authenticates the user and passes a signed token to the widget. |
Brand it
Configure the widget’s appearance on the channel’s settings — no code:- Display name and role shown in the header.
- Avatar image (falls back to a generated initial).
- Primary color for the launcher and the user’s message bubbles, with an optional header color and a second color for a subtle gradient.
- Corner radius for the overall shape.
- Greeting and up to a handful of suggested prompts shown when the conversation is empty.
- Preferred voice for read-aloud.
