Instruction
Difficulty level:
Configuratie > AI > AI widget

The AI widget is a chat window you place on your own website. Visitors chat directly about availability, make a booking and — after verification — change or cancel an existing booking. The widget talks to the same agent as the chat and WhatsApp channels.

Before you start

The agent must be active before the widget can answer visitors. You switch that on under Agent settings. The widget page warns you about this as well.

Creating a widget

  1. In configuration mode go to AI > AI widget. Required right: menu_confmod_ai.
  2. Click Create widget. If no widget exists yet, the page says so.
  3. The new widget appears as a card, showing its position (left or right on the page) and whether it is active.
  4. Click Functional on that card to change the widget's settings.
  5. Copy the embed tag at the bottom of the card — it looks like <ires-agent-widget agent-url="..." config-id="..."></ires-agent-widget> — and place it on your own website.

Two places, the same widget

The AI widget is also one of the embed types on the general Widgets page, and the AI widget page links to it at the bottom. It is the same widget: what you change in one place applies in the other. The AI page only lists the AI widgets and puts the buttons you need for them together.

What the widget may do

The widget talks over the same MCP channel as external agents, so the same confidence levels apply. Rights do not: the widget has no logged-in user, so it runs on a fixed list of visitor tools rather than on rights. What a visitor may ask without verification and what only becomes possible after a one-time code is described in How does the AI integration work?.

Which rights do apply to a logged-in user is described in AI tool rights.

The following right may be necessary in order to use this functionality.