Train an AI support agent on your docs
How to train an AI support agent on your docs and website: what to feed it, how to write help it answers well from, and how to find what's still missing.
The Notert teamFriday, November 6th, 20268 min read

On this page
When you train an AI support agent on your docs, most of the work isn't in the AI. It's in the docs. An agent can only be as good as the help it reads: if the answer lives in a screenshot, behind a sign-in, or on a pricing page nobody updated since spring, the agent misses it or repeats the old version with confidence.
So the useful question isn't which model to pick. It's what to feed the agent, how to write help it can answer from, and how to spot what it still can't answer. This guide covers all three, with a checklist and a template, then shows how it works in Notert with Otto, the AI agent in our chat widget.
What does it mean to train an AI chatbot on your website?
For an AI support agent, "training" usually doesn't change the model at all. The agent reads your pages ahead of time. When a customer asks something, it searches what it read for the passages that match and writes an answer from those alone, pointing to the pages it used.
Two things follow from that:
- The agent finds sections, not whole pages. Otto searches your pages section by section, under their headings. A clear heading with the answer right under it is easy to find. An answer spread across a long page is not.
- What isn't written down can't be answered. A good agent passes the question to your team rather than guess. That's the right behaviour, but every handoff your docs could have prevented is a ticket you didn't need.
When the AI should answer and when your team should is covered in in-app chat support with an AI agent. This guide is about the content underneath. If you're still picking an agent, see the best AI agents for customer support.
What to put in your AI support knowledge base
Start with what you already have:
| Source | Answers questions like | Watch out for |
|---|---|---|
| Help center or docs | "How do I...?" | Answers inside pictures, videos or PDFs |
| Pricing and plans page | "Does my plan include...?" | Old prices on a page nobody checks |
| Changelog | "Did you fix...?" | Drafts and internal names |
| Completed feature requests | "Can it do X yet?" | Requests marked done that only half shipped |
| An FAQ kept as a text file | Questions your website doesn't cover | Anything a customer shouldn't read |
An agent that answers strangers will quote whatever you give it, so internal runbooks and notes about one customer's account don't belong in its knowledge.
How to write help docs an AI can answer from
Writing help for an AI is mostly writing good help for people. Run each article against this checklist:
- One question per page, or per section. Title it the way a customer asks it: "How do I export my data?" beats "Data management".
- Answer first. Put a one-sentence answer under the heading, then the steps.
- Write it as text. Otto, like many crawlers, reads a page's text, not its pictures or downloads, so an answer that lives only in a PDF or a video is invisible.
- Use real headings and lists, so the agent can tell sections and steps apart.
- Make each section stand on its own. "As mentioned above" means nothing to an agent that found only this section.
- Say what isn't possible. "You can't merge two accounts" answers a question. Silence sends it to your team.
- Say who it applies to. If an answer depends on the plan, platform or role, say so in the same section.
- Use your customers' words. If they say "invoice" and your product says "billing document", use both.
- Keep prices and limits on one current page, and update it the day anything changes.
- Delete what's out of date. An old page that contradicts a new one gives the agent two answers.
A shape that works for most articles:
# How do I [do the thing]?
[One sentence that answers the question.]
## Steps
1. [Step, naming the button as it appears]
2. [Step]
## Who can do this
[Roles, plans or platforms it applies to.]
## If it doesn't work
[The two or three reasons it fails, each with its fix.]Make your help website readable to a crawler
Pass these to whoever runs your help site:
- Render pages on the server. Otto's crawler runs a page's scripts when its HTML holds no text, but that's slower, and text a script shows late can be missed. Help that's in the HTML is read first time.
- Put each article inside
<main>, so menus and footers don't crowd out the answer. - Keep help public. Pages behind a sign-in aren't read. Upload signed-in-only help as a text or Markdown file instead.
- Give each page an address of its own. Query strings are dropped, so pages that differ only by
?tab=apiare read as one.
The full list, including robots.txt and firewalls, is in make your website readable to Otto.
How to keep an AI knowledge base up to date
An agent quoting last year's answer is worse than one that says nothing. When something changes, update the help article, not the agent, and have the agent read the website again after a big rewrite. Let shipped work flow in by itself: your changelog and completed requests are already written.
How to find gaps and reduce support tickets with AI
The best list of articles to write is the list of questions your agent couldn't answer. Look in three places:
- Handoffs. Each conversation passed on because the knowledge didn't cover it is a missing article or section.
- Failed searches. When a teammate looks for a help page to link in a reply and finds nothing, that page doesn't exist yet.
- Most linked pages. A page linked again and again answers a common question. Check it's the clearest version.
Each week's handoffs become next week's answers, and that's how the tickets go down.
How to train Otto on your docs in Notert
Otto answers visitors only from your product's description and its knowledge: the websites you have it read, the text files you upload, and your published changelog and completed requests, which Notert connects by itself.
- Open the Knowledge page. In Settings, open Knowledge under Otto. The website you entered when you created your workspace is already there, as long as it's your product's own site.
- Add your help website. Press Add source, then Crawl website, enter where your help starts, such as
docs.example.comorexample.com/help, and press Start crawl. Otto reads that page and the public pages beneath it on the same site, following their links and your sitemap:example.com/helpreads the pages under/help,example.comthe whole site. - Upload what isn't on your website. Press Add source, then Upload file, and choose a text or Markdown file, such as an FAQ you're happy for visitors to read.
- Check what Otto read. Choose View pages from a website's menu to see the pages Otto read, failed or skipped, why, such as "Not found" or "Needs a sign-in", and the text it read from each.
- Ask it questions. Try Otto, on the Otto AI page, shows the answer Otto would give with its sources, or the words it would pass the conversation on with. It works while Otto is off.
- Switch on Active.
Your changelog and completed requests appear under From Notert and need nothing from you. Otto reads your published updates and the completed requests anyone can see on your board, and keeps up as they change, usually within a couple of minutes. Drafts, scheduled updates and hidden requests aren't read. One more reason to write a changelog: each update answers "Did you fix...?" for you.
When your help changes, press Crawl again. Otto keeps answering from the pages it has until each is read again. A page that's "Not found" is often one your website still links to that has moved: fix the link, and the next crawl picks it up.
To find gaps, open In replies on the Knowledge page. Most linked lists the pages your team linked most in replies, and how often visitors opened them. Searched, not found lists what your team searched for when linking an article and didn't find, each one a page worth writing. When Otto hands a conversation over, it leaves a note with four lines, Issue, Who, Status and Next step, so the missing answer is easy to spot. Handled by Otto, on the Otto AI page, counts the conversations Otto replied in on its own and how many it resolved with no handoff.
Only owners and admins can change sources. See Otto's knowledge and let Otto answer your visitors.
Questions people ask
Can I train an AI chatbot on my own website?
Yes. An AI support agent such as Otto reads your public help pages and answers from what it finds, without any change to the underlying model. Start the crawl at the folder your help lives in, and check which pages it actually read.
Why does my AI chatbot give wrong or outdated answers?
Usually because what it reads is wrong: an old pricing page, two articles that disagree, or an answer that only exists in a screenshot. Fix the page and have the agent read it again.
What should I not include in an AI support knowledge base?
Anything you wouldn't show a customer. An agent that answers visitors can quote any page or file it reads, so keep internal runbooks, notes about specific customers and unreleased plans out of it.
Can an AI support agent really reduce support tickets?
It answers the questions your docs already cover, at any hour, so your team only sees what needs them. The bigger gains come as each handoff and failed search becomes a new article.


