Train your agent on your website
The fastest way to train your chatbot on your website is to let your agent read it. You give it your address, it finds your pages, and it answers visitors from what those pages say. This page shows how that first read works, how to choose which pages it learns from, and how to keep it up to date when your site changes.
You need an agent and a public website. Only owners and admins can change what the agent reads; members can look but not change.
How the first read works
- On the Agents page, click New agent, enter your Website and click Create agent.
- On Add data sources, click Website. The agent looks for your sitemap (from robots.txt or /sitemap.xml). A site without one is read from the homepage, following its links.
- You see your Main pages and each section of your site with its page count. Untick the sections visitors don't ask about, such as old news or tag pages.
- Click Add (the button shows how many pages will be read). Reading starts at once and carries on in the background.
You can test the agent on the next step right away. It answers from the pages it has read so far and gets better as it reads more.
The agent reads public pages only and follows your robots.txt. Its crawler is called ReplyBashBot. If your site blocks unknown bots, allow that name.
Choose which pages to train
Your plan sets how many pages each agent can learn from. On Free that is 50 pages; paid plans allow more (see Plans and limits). When your site has more pages than that, a read only takes the first ones up to your limit, so leave out what doesn't help visitors.
Pages that are worth the most: prices, services or products, contact details and opening hours, FAQs, delivery and returns, and policies.
To leave out pages later, open Knowledge (under Train) and go to Website:
- Open a page's ⋯ menu and choose Exclude from training. Include again brings it back.
- In Folders view, open a folder's menu and choose Exclude folder from training.
- Tick several pages and click Exclude.
Delete removes a page now, but the next full read can find it again. To keep a page out, exclude it instead.
Include and exclude paths
Rules work better than excluding pages one by one when a whole part of your site should stay out (or be the only part read).
- In Knowledge › Website, click Add pages.
- Open Advanced options.
- Under Include only, add the paths the agent may read. Leave it empty to read the whole site.
- Under Exclude, add the paths it should skip.
Paths start with /, and * is a wildcard: /blog/* matches every page under /blog. Changes apply on the next read. A page you excluded by hand stays excluded, even after you remove a rule.
The sections you untick on your first read are saved as exclude paths, so you can change them here.
Keep it up to date
Your agent knows your pages as they were when it last read them. To read them again:
- Click Sync & train at the top of Knowledge to read the whole site again. It also puts any new Q&A answers live.
- Re-read a few pages only: open a page's menu and choose Re-sync page, or tick several and click Re-sync.
- Add a page the read missed: in Add pages, choose Individual URLs, paste one address per line and click Add URLs.
On Pro and Business, your site is also read again by itself. On the Website card, choose Daily, Weekly or Manual only. Daily and weekly reads start at 03:00 UTC and skip pages that haven't changed. On other plans, press Sync & train after you change your site.
A read in progress shows its progress at the top of Knowledge, with Stop to end it. The pages read so far are kept.
See what the agent read
Knowledge › Website lists every page with its status: Trained, Pending, Failed or Excluded. Click a status above the list to show only those pages. Folders groups pages by their address; List shows them in one table you can sort.
The card at the top shows how many of your plan's pages are used and when the site was last read.
To see exactly what the agent learned from a page, open its menu and choose View content. You see the text kept from that page, in order, with its headings. That is what the agent searches when it answers.
Pages that fail
A failed page shows its reason in the list. Hover over it to read it in full. Common reasons:
- The page is gone (a 404) or your robots.txt now blocks it.
- The page isn't a web page, such as a PDF link. Upload the file under Files instead.
- The server was too slow or refused the request.
Some sites block automated visitors, or build their text with JavaScript in the browser. The agent then reads those pages through a browser, and they show a Browser badge. Each one uses one of your plan's monthly browser pages (50 on Free; more on paid plans). If the agent still can't read your pages, upload the same content as files or text snippets.
A trained page that can't be fetched on a later read (a timeout or a bot check, for example) keeps answering from its last version. Only a 404, a 410 or a new robots.txt rule takes it out.
To try a failed page again, choose Re-sync page from its menu.
Change the website
- In Knowledge › Website, click Add pages.
- Edit the Website field and click Save.
If the new address is on the same domain, your pages are kept and checked again.
If it is a different site, you are asked to confirm with Switch website. The pages read from the old site are deleted, your include and exclude paths are cleared, and the agent reads the new site from scratch. Conversations, leads, files and Q&A are kept. The widget will run on the new site instead of the old one.