Skip to content

10 min read

How to Train an AI Website Chatbot on Your Docs (Step-by-Step)

A practical setup guide: paste your site, upload PDFs, keep your content clean, test real questions, and install it, using ChatDock.

What you’ll achieve

By the end, your chatbot will answer product questions from your documentation, qualify visitors, and capture leads, each with the conversation that produced it.

Prerequisites

  • Website or docs with up‑to‑date content
  • PDFs, FAQs or help‑centre articles (optional)
  • A ChatDock account

Step 1 — Prepare high‑quality sources

Consolidate your best content: docs, FAQs, pricing, onboarding guides, and security pages. Remove outdated or contradictory sections. Clear, current content is the biggest lift on answer accuracy.

Step 2 — Connect your website and docs

In ChatDock, paste your site. It reads the pages that matter first (pricing, services, FAQ, about), or you pick the pages yourself. Leave out changelogs and noisy pages to keep answers tight.

Step 3 — Upload PDFs and files

Upload PDFs such as case studies, whitepapers, and security overviews. ChatDock reads their text and answers from it alongside your pages.

Step 4 — Keep your content clean

  • Give each topic one page that states it plainly: pricing, hours, policies, onboarding.
  • Leave out private or internal documents. Anything you add can be quoted to visitors.
  • Prefer one source of truth over the same fact in three places.

Step 5 — Choose a mode and a tone

Pick a mode: Sales, Support or Information. Set the tone and the greeting. Answers stay grounded in your content: when something isn't covered, the assistant says so instead of guessing.

Step 6 — Capture leads

  • Collect a name and an email or phone number, once the visitor has an answer.
  • Ask it once, after it has helped. A visitor who is made to hand over an email before an answer usually leaves.
  • Put your booking link in your content so the assistant can share it. Leads arrive in your dashboard.

Step 7 — Test with realistic prompts

  • “Does this integrate with HubSpot and Google Calendar?”
  • “What’s the difference between Starter and Team plans?”
  • “How do I embed the chatbot on my website?”
  • “Where can I find your security documentation?”

Refine sources or answers until responses are concise, accurate, and linked to docs.

Step 8 — Deploy to your website

Paste the one‑line embed on your site. If you want more visitors to notice it, let it open by itself after a few seconds.

What to measure

Count these yourself each month, and set targets from your own first month.

  • Conversations: how many visitors ask it something.
  • Leads: how many leave a name and an email or phone number.
  • Questions it couldn’t answer: each one is a gap in your docs worth filling.

You may also like: AI Website Chatbot for Lead Generation: The 2026 Playbook.