
The Knowledge Base library shows source counts and processing status for each collection.
Create a knowledge base
1
Open Knowledge Base
From the dashboard, open Knowledge Base and select Add new. Create a collection with a clear name and description. You can skip the first source and add documents later.
2
Add a source
Select Add source. Choose one source per save:
3
Wait until it is Ready
Document processing moves through pending, crawling, processing, extracting, chunking, embedding, and Ready. Replace a document that reaches Failed or Upload failed.
4
Attach it to an agent
Open the agent, select Workflow, and Attach a ready knowledge base. You can also attach from agent settings. An agent can use at most three knowledge bases.
5
Test retrieval
Ask questions that should be answered, should combine nearby information, and should return a fallback because the answer is absent.
Website sources
For Website, enter a public HTTPS URL (no login). Each site can be added once per knowledge base.
A site-root URL crawls linked pages on that domain. A path URL ingests that page only.
Auto-sync
Open the site and use Auto-sync to re-crawl on a schedule. Changes require your approval before going live.- Interval is 7–60 days when auto-sync is on
- Sync now starts an on-demand crawl
- Review added, updated, and removed pages, then Approve or Reject
Import from connected apps
Connect the app under Integrations first. One item from one app per save.
HubSpot can Keep updated (auto-sync published articles, up to 1000, with review) or Import once (up to 20 articles, no ongoing sync).
Keep retrieval reliable
Use Retrieval Testing to select a knowledge base, enter a representative query, adjust supported retrieval settings, and inspect the chunks the agent would receive.
Retrieval Testing makes ranking settings, returned chunks, and query history visible before an agent goes live.
- Keep each knowledge base focused on one domain.
- Remove obsolete or conflicting documents.
- Use descriptive headings and plain text in source documents.
- Put behavior rules in the agent instructions, not only in the knowledge documents.
- Re-test the agent after adding or deleting a document.
An agent can only use a knowledge base that has finished processing. Dimmed collections are still processing, empty, or failed.
Knowledge Bases API
Create, list, inspect, and delete knowledge bases through the public API.