Website Widgets
Workspace → Website widgets (/workspace/widgets) puts one of your agents on your own website to answer visitors, by text or by voice. Every member can see the widgets; only admins add, change or remove them. An organisation can have up to 10.
What a widget does, and does not do
- It answers questions. It never acts. Every message runs with side effects withheld, the same way a rehearsal does. A visitor cannot make an agent send, book, post or change anything, and no approval request reaches you from the public.
- It cannot see a visitor's account, your connected systems or your documents.
- Business facts come only from what you tell it. Each widget has a box, What the assistant should know about your business (up to 6,000 characters): opening hours, prices, policies, how to reach a person. If the answer is not there, the assistant says it does not have that information. Anyone can ask for what is in the box, so write only what you would publish.
- Agents that send, book or publish directly cannot be chosen. The form tells you when an agent is one of these.
Add a widget
- Choose New widget, give it a name and choose an agent.
- List the websites it may appear on, one per line, in the form
https://www.example.com: withhttps://, no path and no wildcard. Up to 10. - Set the greeting, what the assistant should know, the colour and the most conversations a day.
- Choose Add widget, then Copy snippet and paste it before
</body>on your pages:
<script src="https://changents.ai/api/embed/v1.js" data-widget-id="w_…" async></script>The snippet adds a button to the corner of the page. The conversation opens in a frame served by CHANGENTS.AI, so it cannot read or change your page, and your page cannot read the conversation.
Where it can appear
The frame tells the browser which websites may show it (Content-Security-Policy: frame-ancestors with your list). On any other website the browser refuses to display it. The widget id in the snippet is public; the list of websites, the daily limit and the limits below are what protect it.
Runs and limits
| Limit | Value |
|---|---|
| Runs used | 1 per conversation, however many messages it has |
| Messages in a conversation | 20 |
| Message length | 2,000 characters |
| Conversations a day | You set it per widget, 1 to 5,000 (50 to start) |
| Messages a minute from one address | 20 |
| A conversation's lifetime | 2 hours |
Conversations use the runs of the admin who created the widget: the plan's runs first, then any run passes. A visitor who only opens the widget uses nothing; the run is used when they send their first message. When the daily limit is reached, visitors are asked to come back tomorrow. When there are no runs left, the widget says it is not available; it never mentions billing to a visitor. The page shows how many conversations each widget has had today.
Voice
Where the visitor's browser supports it, the widget shows a microphone button, to speak a question, and a speaker button, to have answers read aloud. Both use the browser's own speech features. No audio reaches CHANGENTS.AI, and no speech provider is involved; we receive the words the browser recognised, as if they had been typed. Some browsers send audio to their own maker's service to recognise speech; that is between the visitor and their browser.
The agent chat inside the app has the same speaker button on the web.
Talk to a person
A visitor can press Person, or type that they want to talk to someone, and the widget offers to hand the conversation to your team. They can leave an email address and say what they need. A case opens under Workspace → Support → Handed to a person with the words so far and the reference the visitor was given; your admins get an email, connected Slack and Teams channels get a line, and your webhooks receive handoff.requested. Nothing further goes to the model.
What is kept
We keep a count for each conversation (which widget, the day, how many messages), for 30 days, and no words. The conversation itself is held in the visitor's browser, which sends the last few turns with each message. Each message is a run, recorded as coming from a widget, and follows your organisation's retention policy: under No-Retention Mode its content is cleared shortly after the answer is delivered.
Turn a widget off
Switch Answer visitors off, or choose Remove. The chat button stays on your site until you take the snippet off, and its window says the assistant is not available.