You can put an AI chatbot on your website that answers only from your own knowledge base without building a single flow: choose which knowledge bases or sections it may read, paste one script tag, and list the sites it may run on. When the knowledge base has no answer, the chat says so, asks for an email or phone number, and the question shows up in Insights so you can fill the gap.
What "trained on your own data" actually means
Most people searching for a chatbot trained on their own data picture a model that has memorised their website. That is not how a useful one works, and it is not how KnowStack website chat works. Nothing is fine-tuned. Each time a visitor asks something, the chat looks up the relevant parts of the knowledge bases you allowed, writes an answer from them, and stops there. If the knowledge base does not cover the question, it does not fill the gap with a plausible guess. It tells the visitor that a colleague will follow up and offers a way to leave contact details.
The upside is one place to maintain answers. Fix a price in the knowledge base and the next reply uses the new one. No intents to retrain, no scripts to update.
The knowledge base itself can come from material you already have: your website, documents, Google Drive, email, chat exports. If you are starting from zero, build that first. The chat is only as good as what it is allowed to read.
Before you start
- A knowledge base that covers the questions visitors actually ask: services, prices, delivery, opening hours, how to book, what is and is not included.
- The right plan. Website chat is part of the Business plan ($79/month flat for the company, up to 30 users) and Enterprise. Starter and Professional do not include it. The free trial includes it too, so you can test it on your real site before paying. Details are on the pricing page.
- Access to your site's HTML, or to the place in your site builder where you can add a custom script to every page.
Setting it up, step by step
Everything below lives under Website chat in the Communications group of the dashboard sidebar, split into Conversations, Insights, Leads, Settings and Install.
1. Choose what the chat may read
In Settings, the Agent card starts with "Answer from", which has three options: every knowledge base the company can read, only the knowledge bases you tick, or only the sections you tick. The last one is how you keep an internal HR handbook or supplier price list out of a public chat while still letting it answer from your customer-facing sections.
2. Tell the agent how to behave
The same card holds the rest of the agent's rules:
- Instructions: a short note added to every reply, such as "always mention we deliver only within the city". Keep it short. The knowledge base does the real work.
- Tone and Language: "Match the customer" replies in the visitor's own language. "Always reply in" fixes one language.
- Escalation keywords: words like "refund" or "complaint" that hand the visitor straight to a person, with no AI call at all.
- Blocked topics: subjects the agent declines rather than answers, for example contract terms you only discuss by phone.
- When it cannot answer: the exact message a visitor sees when the knowledge base does not cover their question.
- Daily reply cap: 200 by default. Zero stops the agent entirely.
3. Paste the snippet
The Install view gives you one line of code: a script tag that loads the widget and carries your widget's public key (it starts with wk_live_). Copy it and paste it just before the closing body tag on every page where the chat should appear. Once a page with the snippet loads, the Install view switches from "Not detected yet" to "Installed and answering" with the time it was last seen. It can take a minute after you publish.
4. Check the allowed websites
The widget only runs on the sites listed under "Allowed websites" on the Install view. The first site that loads the snippet is added for you, and from then on only listed sites work. Matching is exact: example.com and www.example.com count as two different sites, and so do a staging subdomain and your live domain. If you list one, the screen points out the missing www twin and offers to add it. Missing it is the most common reason a correctly pasted widget never appears. You can list up to 20 sites.
5. Set the look and the placement
The Appearance card covers the chat button and the chat window:
- Position: bottom right or bottom left.
- Distance from the edge: side and bottom offsets in pixels, 0 to 200. Use this to clear a cookie bar or a "back to top" arrow.
- Button icon: chat bubble, question mark, envelope or info.
- Button text: optional, up to 64 characters, for example "Ask us".
- Accent colour, theme and corners. The accent colour is checked for contrast, and you cannot save a colour that would make the text too faint to read.
- Agent name, status line and greeting, plus a switch for the "Powered by KnowStack" line.
6. Decide whether to greet visitors first
The Proactive greeting card turns on a short message that opens next to the button before anyone clicks. You set the message and when it appears: after a number of seconds on the page (3 to 600, 15 by default), after the visitor scrolls past a percentage of the page, or when the cursor moves to leave. The leave trigger only works with a mouse, so it never fires on phones. If a visitor dismisses the greeting, it stays away for the number of days you choose, 7 by default.
Inside Appearance there is also an attention animation for the button itself: Pulse rings, Bounce, Wiggle, Glow, Heartbeat, Unread badge, or Label slide-out (which needs button text). You set when it starts (8 seconds by default), how often it repeats (every 20 seconds), and how many times it plays (3, up to 10). It is deliberately polite. It stops once a visitor opens the chat or closes the greeting, never plays for a visitor who has chatted before, waits while the greeting bubble is on screen, and stays still for visitors whose device is set to reduce motion.
What happens once visitors start writing
One reply to a burst of messages. People often split one question over three short messages. The chat waits about four seconds after the last one and answers all of them together, instead of replying to half a thought.
The conversation survives page changes. A visitor who asks about pricing, then clicks through to your contact page, finds the same conversation still open there. The session is kept in the browser on your site, so it carries across pages and refreshes. A browser that blocks site storage completely will start a new conversation instead.
The button steps aside for galleries and popups. When your page opens a photo lightbox, a gallery or a modal, the chat hides and comes back when it closes. It is hidden, not reloaded, so an open conversation or a half-typed message is still there. If your theme confuses the detection and the button does not appear, the switch "Hide while a gallery or popup is open" turns the behaviour off.
Contacts are asked for at the moment they matter. There is no form before the chat starts. When the agent cannot answer, or a visitor uses an escalation keyword, a card in the chat asks "Where can we reach you?" with fields for email and phone. Either one is enough, and the visitor can skip it. The card appears once, and a conversation keeps only the first contact left, so a second submission cannot overwrite it. A phone number or email typed straight into the chat is picked up as well. Every capture lands in the Leads tab with the visitor's question and the page they were on, and you can export the list as CSV.
Staff can take over live. In Conversations, anyone allowed to manage the chat can click "Take over" and reply in the same window. The visitor sees "A colleague has joined and will reply here", and the AI stays quiet until someone clicks "Hand back to AI". People with the manage permission also get a dashboard bell notification when a question goes unanswered, a handoff is needed, or a lead is captured.
Insights: the list of things your knowledge base is missing
Every question the chat could not answer is saved. Insights groups the last 30 days of them into topics, worst first, with how many times each was asked, the different ways visitors phrased it, and when it was last asked. That list is your to-do list for the knowledge base. Click Add to knowledge base on a topic to write the answer (or draft it with AI from what your team replied) and save it to a section; the next visitor who asks gets it. If a topic is noise, Remove from list (the ✕) clears it, and it returns only if visitors ask again.
After a few weeks this becomes an honest picture of what your website does not explain, ranked by how often visitors ask.
Honest limits: when this is not the right tool
- It is not a flow builder. No button menus, decision trees, appointment booking or payments inside the chat. If you need a guided form, use a form.
- It cannot know what you have not written down. A thin knowledge base means a lot of "a colleague will follow up". Build the knowledge base first.
- One widget per company account. Every site on the allowed list shares the same agent settings and look. Two brands that need different answers need separate company accounts.
- Notifications are in the dashboard bell, not email, so someone needs to check in. A busy widget would otherwise flood inboxes.
- AI usage is pay-as-you-go on top of the flat plan price. If the company reaches its AI budget, the chat shows an offline message instead of answering until the budget is raised.
- It needs Business or Enterprise to keep running. Starter and Professional do not include website chat. If a company moves to a plan without it, the widget goes quiet on its own within about a minute, even though the snippet is still on the site.
Where it fits
The obvious use is after-hours answers for a small business: visitors get a reply at 11 pm instead of waiting until morning, and the ones the chat cannot help leave a contact you can call back. For a support team, it takes the repeat questions off the queue. See how that works in KnowStack for customer support. For a sales team, the Leads tab is the point. Every captured contact arrives with the exact question the visitor asked, as described in KnowStack for sales.
Because the answers come from the knowledge base, the same content can also answer customers in Facebook Messenger without writing it twice. The full feature overview is on the website chat integration page.
Try it
The trial includes website chat and $10 of AI credit, with no card required. Build or generate a knowledge base, paste the snippet on your site, and ask it the five questions your inbox gets most often. Start a free trial
Frequently asked questions
Can the website chatbot answer questions that are not in my knowledge base?
No. It answers only from the knowledge bases or sections you allow. When they do not cover a question, it sends your "When it cannot answer" message, offers the visitor a way to leave an email or phone number, and saves the question in Insights.
Why does the chat widget not appear on my website?
Most often the address is not on the Allowed websites list. Matching is exact, so example.com and www.example.com are different sites. Also check the snippet sits before the closing body tag, and if your site uses popups, try turning off "Hide while a gallery or popup is open".
Which KnowStack plans include website chat?
Business ($79/month flat for the company, up to 30 users) and Enterprise, plus the free trial. AI usage is pay-as-you-go on top. Starter and Professional do not include it.
Can a person take over a conversation from the AI?
Yes. In Conversations, click Take over and reply in the same chat window. The visitor is told a colleague has joined, and the AI stays quiet until you click Hand back to AI.