The snippet
The one line that puts your assistant on your site.
What that line is
Two things live inside it: which assistant to load, and the proof that this assistant is yours. Both are already filled in for you. That is the whole reason you copy the line instead of typing it out. A line typed by hand has neither, and nothing will show up on your site.
Where to find yours
Two places, both showing the same line. On Overview, the second step of the Getting started checklist has a Copy button. In the site's Settings, at the bottom, there is an Embed code button. The checklist disappears once you are installed, so from then on Settings is where the line lives.
If you would rather hand this to ChatGPT, Claude, Cursor or the AI built into your website builder, paste the text below instead, with your own line from the dashboard in place of the example.
Add the Knowster chat widget to my website. Insert this exact line, unchanged, immediately before the closing </body> tag of the site's global layout or footer template, so that it appears on every page:
<script src="https://app.knowster.chat/widget.js" crossorigin="anonymous" data-site="YOUR-SITE-ID" data-key="YOUR-KEY"></script>
Rules: do not move it into the head; do not add async, defer or type="module"; do not download or self-host widget.js; do not edit or drop any attribute. If a caching or optimisation plugin can move or rewrite scripts, exclude this one. Then open the site and confirm a chat bubble appears in the corner.
The rules are not decoration. Each one is a real way the widget stops working, and an assistant left to its own judgement will usually do at least one of them.
Where to paste it
At the very bottom of your pages, just before the closing body tag. Almost every platform has a field for exactly this, usually called Footer, or "before end of body", or "custom code at the end of the page".
Two rules decide whether it works. Choose Footer, never Header. In the header the line runs before the page exists, and an assistant with no page to attach to does nothing at all. This is the most common reason people see no chat bubble. And put it where all your pages share it, which on most platforms is that one footer field, so pasting once covers the whole site.
How you know it worked
Open your own site, give it a few seconds, then look at the dashboard. The install step ticks itself as soon as we see the assistant load on your site. You do not have to tell us, and nobody has to confirm anything.
Three things that quietly break it
A speed plugin makes its own copy of the file. Some of them offer to serve scripts from your own domain. If that happens to this line, the assistant starts looking for its answers on your website instead of ours, and finds none. Exclude it from that setting.
The line was retyped or edited. Copy it whole. Retyping loses the part that proves the assistant is yours, and the result looks identical while doing nothing.
It ended up in the header. If your platform only offers a header field, use Google Tag Manager instead, which can place it correctly for you.
What you can change later, and what needs a fresh copy
Change these in Settings and your site picks them up on the next page load: the suggested questions, the logo, the bot's avatar, and whether it asks visitors for contact details.
These three travel inside the line itself: the greeting, the window title and the colour. Change them in Settings and your site keeps showing the old ones until you copy the line again. If you changed the greeting and nothing happened on your site, this is why.
If nothing appears
Four checks, in this order, and one of them is almost always it.
- The line is in the footer, not the header.
- The whole line was pasted, from the first character to the last, with nothing retyped.
- You are looking at a fresh copy of the page. If your site has a cache or a speed plugin, clear it once after pasting.
- If you filled in Allowed domains in Settings, your address is on that list. Leave the field empty and every domain is allowed.
Still nothing? Open a request from the Help section of your dashboard and say which platform you are on. A person reads those.
New to all this? Get started covers the four steps around this one.
Open your dashboard