Two steps: add content, then link to an agent
You can link multiple knowledge bases to one agent. Removing a link from an agent does not delete the org’s knowledge base; it only stops this agent from using it.
File uploads (PDF and Markdown)
- Go to Knowledge Base in the sidebar (not the Agent editor). Upload PDF or Markdown there.
- The system extracts text, splits it into searchable chunks, and indexes them for retrieval.
- Wait until processing finishes before linking and testing—large PDFs can take longer.
- Open the Agent editor → Knowledge and link this knowledge base to the agent(s) that should use it.
- Use clear headings in Markdown so chunks stay meaningful.
- For citations, add a metadata block to Markdown files (see Source attribution below).
Website and URL sources (web crawling)
Configure web crawl and URLs in the Knowledge Base section first, same as files. After the source is ready, link that knowledge base to your agent in the Agent editor so answers can use the crawled pages.What you can configure (typical options)
Operational notes
- Very large sites may be subject to per-organization crawl limits and pagination in the UI so you can browse long URL lists.
- After a successful sync, search engines may be notified of changes where that feature is enabled—useful when public URLs change often.
Source attribution
When the agent answers from your knowledge base, it can cite sources. That builds trust and helps visitors verify facts.Adding metadata to Markdown
At the end of your Markdown file, add a## metadata: heading followed by a JSON object (exact layout can depend on your Markdown tooling; the goal is sourceURL and title for citations):
How retrieval works (RAG)
We use Retrieval-Augmented Generation (RAG):- User asks — e.g. “How do I reset my password?”
- Search — The system searches your knowledge (files + web chunks) for the most relevant snippets.
- Augment — Those snippets are added to the model prompt with guardrails.
- Generate — The model answers using that context—reducing hallucinations relative to a blank model with no knowledge.
Related guides
- Launch an agent on your website — Knowledge Base first, then link, before go-live.
- Create chat agent — Linking knowledge bases from the agent editor.
- Widget installation — The widget does not change when you add knowledge; retest answers after big KB updates.