Teach Your Website Chatbot with Your Own Documents

A website chatbot is only as useful as the content it can cite. In HolderChat you add that content as knowledge sources — a crawled website, uploaded files, or an external JSON API — then rebuild the bot so new answers go live.

Illustration of a website and document icons beside a chat widget, on a white background
Knowledge sources are the pages and files your HolderChat bot learns from. After you add or change them, you need to rebuild the bot.

HolderChat is free to use. This walkthrough follows the official Knowledge Sources documentation. It is a practical order of work, not a substitute for that page. If you have not created a bot yet, start with Creating Your First Chatbot and the five-minute embed guide.

What a knowledge source is

Knowledge sources are the primary content the chatbot learns from. HolderChat supports three types:

  • Website. Crawl a public site. A menu preview shows the pages that can be parsed.
  • File. Upload a PDF, DOCX, TXT, MD, XLSX, or PPTX file.
  • Extern. Point the bot at a JSON API endpoint for data that changes outside your site.

Adding a source is not enough on its own. Answers update only after you click Rebuild Bot — usually when a yellow banner says that changes were detected. Viewing the source list does not trigger a rebuild.

Prepare the content before you upload it

The bot can only repeat what you give it. Out-of-date prices, old opening hours, or a policy PDF you no longer use will still be offered as answers until you remove the source and rebuild. Before you add files, check that each document is the version you would hand to a customer.

Do not upload secrets, API keys, internal staff lists, or unpublished contracts. If a page should stay private, do not add that URL as a website source. HolderChat does not make a private document public by itself, but anything in the knowledge base can be surfaced in a reply to a visitor.

Add a website

  1. Open the bot and go to the Knowledge Sources tab.
  2. Click Add Website and enter the site URL, including https://.
  3. Review the menu preview of discoverable pages and start parsing, or confirm the selection.
  4. Wait until parsing finishes. Open Website Info to see the parsed-page count, crawl errors, discovered files, and any page-count limits.
  5. When the yellow banner appears, click Rebuild Bot.

During beta, a website crawl may limit the number of pages. A stuck parse is often a large site or blocked pages: wait, then check the errors in Website Info and reduce the scope if needed. Broken URLs fail parsing; empty files produce no knowledge.

Upload a file

  1. Click Upload File, or add the file from the resources panel.
  2. Select a PDF, DOCX, TXT, MD, XLSX, or PPTX file.
  3. Wait for the upload confirmation, then click Rebuild Bot.

Large PDFs take longer to process. If the bot cannot answer from an uploaded PDF, confirm that the bot status is Active or Created, that the rebuild has finished, and re-upload the file if the scan failed.

Add an extern JSON API

Use this when the facts live in another system and you do not want to export a static file each time. Click Add Extern, enter the API URL and configuration, save the resource, and rebuild the bot. The endpoint should return data you are willing to show a visitor.

WordPress sites

If the bot was created with the WordPress Connector, page content syncs from WordPress automatically. Dashboard knowledge sources are additional: use them for a second website, for PDFs, or for content that is not in WordPress. The connector details are in the WordPress Connector overview and in WordPress content selection.

When you need to rebuild

  • Add, remove, or re-parse a website: rebuild required.
  • Add or remove a file: rebuild required.
  • Add or remove an extern source: rebuild required.
  • Only viewing the source list: no rebuild.

After a rebuild, test the answers before you rely on the live widget. The steps are in Test Your Website Chatbot Before You Go Live. For questions every bot should answer correctly at launch, see 5 Questions Your Website Chatbot Should Answer From Day One.

Limitations to plan for

  • A website crawl during beta may cap the page count.
  • Large PDFs take longer to process.
  • Broken URLs fail parsing — check Website Info.
  • Empty files add no knowledge.

Frequently asked questions

Why does the bot still give the old answer?

The usual cause is a knowledge change that has not been rebuilt. Click Rebuild Bot when the yellow banner appears, then test again after the rebuild finishes.

Can I mix a crawled site with uploaded PDFs?

Yes. Website, file, and extern sources can be used together. Each change still needs a rebuild before answers update.

Does embedding the widget rebuild the bot?

No. Pasting the script tag does not rebuild the bot, and it does not add knowledge. Rebuild only after you change knowledge sources. The embed steps are in the five-minute guide.

Add your documents and try the bot

Create a free HolderChat account, add a website or a file, then rebuild and test. If the bot should pass difficult questions to a person, continue with Hand Off Website Chat to a Human. Other walkthroughs are in HolderChat Guides and the Getting started docs.