Skip to main content

Agents on Your Website

Publish an Enterprise Agent as a chat on your websites: for anyone who visits, or for your staff signed in there.

An Enterprise Agent can be a chat on your own websites: a support assistant on your public site, or a helper on your staff portal. A button appears in a corner of the page and opens the chat.

The chat runs in Studio, in a frame, so your site's styles and cookies and Studio's don't mix. Only the sites you name can show it.


Allowing it (admins)​

In Admin › Settings › Integrations, turn on Website widgets. It is off by default. The same card lists every published widget, with its agent, sites and publisher, and lets you Pause or Remove any of them. Turning the switch off pauses every widget at once.


Publishing an agent​

  1. Open the agent in Workspace › Enterprise Agents and go to Publish on websites. The card appears once the agent is saved, and, when review is on, once it is approved.
  2. Click Publish on a website.
  3. Fill in:
    • Websites: the sites the chat goes on, one per line, such as https://www.example.com. Only these can show it.
    • Who may chat: Anyone who visits the site, Staff signed in on the site, or Both.
    • Title, Greeting and Colour: how the chat looks.
    • Messages a minute per visitor: how many messages one visitor may send in a minute (10 by default).
  4. Click Publish.
  5. Copy the line shown under Add this to the pages of your site, and put it on your site's pages, before the end of the page body.

Pause stops the chat without losing its settings; Resume brings it back. Remove takes it off your sites for good.


What visitors get​

Anyone who visits chats with a public version of the agent:

  • its instructions and its own knowledge;
  • the time and, if the agent uses it, web search.

It has no Custom Tools, tool servers, skills, terminal, code or image generation. It can't reach anyone's chats, notes, memories, calendar or files. Answers are given in the name of the person who published the widget: they count in that person's usage.

Staff signed in on your site chat with the whole agent, as themselves, with their own Studio permissions. Each must have a Studio account with the same e-mail address, and be allowed to use the agent.

Guardrails and usage limits apply to every answer, as in a chat. Visitors' conversations aren't kept in anyone's chats.


Signing your staff in​

For Staff signed in on the site (or Both), your site tells Studio who is chatting with a short-lived sign-in token:

  1. In the widget's card, click Create secret and copy the secret. It is shown only once: keep it on your server, never in a web page.
  2. When a signed-in person opens a page with the chat, your server makes a token for them:
    • a JSON Web Token signed with HS256 and the widget's secret;
    • with their email, optionally their name, and an expiry (exp) at most one hour away.
  3. Give the token to the chat: add it to the line you pasted as data-token="…", or call HridaChat.setToken(…) from the page, for example when you renew it.

The token is passed to the chat inside the browser, never in an address. New secret replaces the secret: tokens signed with the old one stop working at once. A refused sign-in is recorded in Admin › Trust › Security.


Audit​

Publishing, changes, new secrets and removal are recorded in Admin › Trust › Audit log, with who did them.


Limits​

  • A widget can go on up to 20 sites. A message can be up to 4,000 characters; the last 10 messages of a conversation go with each question.
  • Visitors can't attach files.
  • Each visitor (address) may send up to the widget's limit a minute, at most 120.
  • A conversation isn't kept: closing the page starts a new one.
Hrida.ai is proprietary software of Zlabs Innovation. See the license for terms. © 2026 Zlabs Innovation.