Web channel

Website Assistant#

Add a conversational AI assistant to a business website with one script tag. Conversations land in the project Inbox and reuse the tone, context, and rules already configured.

The Website Assistant uses a browser-safe wgt_pk_... key. It is separate from server keys gliiz_... and cannot publish, generate visuals, or read account data.
What it unlocks#
ConversionAI chatVisitors can ask natural-language questions without leaving the website.
InboxWeb channelEach exchange is stored in the Inbox with platform = web.
BrandProject contextThe bot reuses the project's tone, information, and FAQ.
Install1 scriptNo heavy integration: create a widget key, allow domains, then copy a snippet.
Where to generate and manage the key#

The embed component lives in the Public API (v1) section, in the same place as other project keys. There is no second hidden page to remember.

1ProjectOpen the target project.
2Settings / IntegrationsOpen the Public API (v1) section.
3Create keyChoose Website Assistant, then add the allowed domains.
4Active keysFind the snippet later on the Website Assistant key row.
5SettingsEdit domains, greeting, and monthly cap without regenerating the key.
Preview the widget before embedding it#

The public API section shows, right under the key field, a faithful preview of the widget as your visitors will see it: same bubbles, same icons, same voice-note player and same animations as the real script.

Y

Your brand

Verified by Gliiz

Hello, how can we help?
I am looking for your hours and pricing.
0:00
Write your message…
1Brand nameThe preview uses the selected project's name, exactly as the production widget will.
2FidelityEvery size, radius and colour comes from widget.js's real CSS — this is not an approximate mockup.
3Voice noteThe player shown is the component shared with the Inbox and VIBE, not a copy.
The preview is purely visual: it sends no message and consumes no credits.
Allowed domains: the exact rule#

Every widget call is matched against the browser's Origin header by exact equality. An origin is scheme + host + port nothing else. No wildcards, no subdomain matching, no www leniency. If the origin is not listed verbatim, the answer is a 403 and the widget stays silent.

Yeshttps://example.com + https://www.example.comwww and the bare domain are TWO distinct origins: always declare both.
Nohttps://example.com covers www.example.comFalse. A visitor landing on www gets a 403.
Nohttps://example.com covers app.example.comFalse. Every subdomain is declared separately.
Nohttps://example.com covers http://example.comFalse. The scheme is part of the origin.
Porthttp://localhost:3000The port counts: :3000 and :3001 are two origins. Add your dev one.
Pathhttps://example.com/contactPaths are ignored, only the origin is kept. No need to list your pages.
Bare inputexample.comA domain without a scheme is stored as https:// never http://.
Cap10 domainsBeyond that, extra entries are silently dropped.
The number-one cause of a silent widget. Your site almost certainly answers on both addresses (one redirecting to the other): always declare https://yourdomain.com AND https://www.yourdomain.com. To check, open the browser console on the site: the widget prints the real cause there, prefixed with [Gliiz].
Code to copy#

Replace wgt_pk_...with the key shown in Gliiz. The website domain must be listed in the key's allowed domains.

html
<script
  src="https://www.gliiz.com/widget.js"
  data-gliiz-site="wgt_pk_..."
  data-gliiz-lang="en"
  data-gliiz-position="bottom-right"
  async
></script>
The script detects the Gliiz origin from src, initializes the widget, then calls /api/widget/bootstrap and /api/widget/message over CORS. Change data-gliiz-lang to en, fr, es, pt, or ar for the website language.
The widget keeps one thread per site and reloads recent history so the assistant can qualify the need and suggest a next step. Position is configured with data-gliiz-position="bottom-right" or data-gliiz-position="bottom-left". No payment starts without explicit activation and consent; never send bank details in chat.
Security and limits#
Keywgt_pk_...Browser-visible, but scoped to widget chat only.
Domainsallowed_originsEvery call checks the website origin before replying.
PlansStarter+Free is excluded. Starter, Pro, Agency, and Enterprise can use it.
Per-key capwidget_monthly_limitThe optional spend guard is counted on the specific widget key.
UsageReplies/monthThe key list shows generated replies this month per key.
MediaPreparedImage and voice are prepared in the UI; v1 replies remain text-only.
Documentation Feedback#

Was this documentation helpful?