Public widgets · 3 min read
A public widget, done properly
Tell visitors they are talking to AI, link the privacy policy, keep internal knowledge out, set retention, and weigh Insights on public conversations.
A public widget, done properly
Section titled “A public widget, done properly”When the people talking to your assistant are members of the public, a few safeguards matter more than anywhere else.
Tell people they are talking to AI
Section titled “Tell people they are talking to AI”Under the EU AI Act, an assistant that interacts directly with people has a transparency obligation (art. 50), even when it is not high-risk. A widget or a chatbot on a citizen portal is such an assistant. You must clearly inform users that they are interacting with an AI system.
Every widget shows visitors a standing disclaimer that answers are generated by an AI model and that important information should be double-checked. It is fixed, and you can’t turn it off.
You can make it clearer still, in plain language, where visitors look:
- Welcome message: “Hi, I’m an AI assistant. I answer questions about waste collection and recycling. For your own case, call us on …”
- Instructions: tell the widget never to claim to be a person, and to say plainly that it is an AI if asked.
- Your website: describe the chat as an AI assistant on the page around it.

See Your obligations for the transparency table.
Privacy policy and allowed domains
Section titled “Privacy policy and allowed domains”Two widget settings are organization-wide, not per widget:
- Privacy policy. Your organization sets one privacy policy URL, linked automatically from every widget. A widget can override it with its own URL when its purpose needs different terms. If the organization-wide policy is removed, widgets show no privacy link until a new one is set. Before going live, check that the linked policy covers chat conversations with AI.
- Allowed domains. A widget can only be embedded on a domain your organization has explicitly allowed. That stops anyone copying your code onto a site you never intended. The Allowed domains view is read-only; to change the list, contact support.
Older iframe embed codes can load on sites that hide the referring page, where the list cannot be enforced. Replace them with the current snippet. See Privacy policy and allowed domains.
No internal knowledge in a public widget
Section titled “No internal knowledge in a public widget”The allowed domains list controls where a widget can be embedded and nothing else. It does not make the widget’s knowledge private or limit it to signed-in users. Anyone who can open the widget can ask it about what it knows. The knowledge settings open with a notice saying so.
Only give a widget knowledge that is safe to publish: nothing personal, confidential or meant for internal use. A good test is to ask whether you would put the document on the public website as it is. Also remember that everyone in the Space can open the files on a widget, not only the person who uploaded them.
Visitors never see the widget’s instructions, its model or (on a shared link) any references. That protects your configuration, but it is not a reason to put secrets in the instructions. Assume anything the widget knows can come out in an answer.
Retention
Section titled “Retention”Visitors may type personal details even when asked not to. Set the widget’s data retention as short as its purpose allows, so those conversations do not outlive their use. Add a line to the welcome message or instructions that asks visitors not to share personal identity numbers or case details. Say where they can get help with their own case.
Insights on public conversations
Section titled “Insights on public conversations”Widget insights show message and conversation volume, and, once switched on, the full text of visitors’ questions and the widget’s answers. A Space Admin or Space Editor with access to the widget can switch them on, unless an organization policy has turned insights off. Insights only show conversations that started after they were switched on.
Because visitors are members of the public, switching on insights is a decision about their data. They have not entered into any relationship with your organization the way an employee has. Weigh it like this:
- Is there a clear purpose, such as finding questions the widget answers badly?
- Is retention short enough that you are not building an archive of public conversations?
- Does your privacy policy say that conversations may be reviewed to improve the service?
Insights are the best tool you have for improving a widget; switch them on when you have a clear purpose for them.
Test your knowledge
Question 1 of 3
A colleague wants to attach the internal HR handbook to the public careers widget, arguing that the allowed domains list keeps it private. What is correct?