Create a knowledge base
1
Create the knowledge base
From the dashboard at app.beforequery.com, open your workspace and click New Knowledge Base. Give it a name.
2
Connect your first source
Point the knowledge base at a docs URL — the fastest way to get answers flowing — or pick any other source type from the Sources tab.
3
Test in the Playground
Once the first sync finishes, ask a question in the Playground and check the citations.
The number of knowledge bases you can create depends on your workspace plan — see Billing & Plans.
Knowledge Base settings
Each knowledge base carries its own answer configuration, editable under Knowledge Base → Settings:What a knowledge base owns
- Sources — websites, git repos, connectors, files, and more.
- Source groups — model docs versions or products within one knowledge base.
- Client keys — per-knowledge-base credentials for the widget, SDKs, and public API. See Authentication.
- Agents & actions — agent graphs, AI actions, and approval queues.
- Analytics & evals — knowledge gaps, per-source citations, answer quality.
Archive a knowledge base
Archiving takes a knowledge base out of active use without deleting its indexed content — use Knowledge Base → Settings → Archive. To remove a knowledge base and its documents permanently, use Delete instead. Both actions are recorded in the workspace audit log.One knowledge base or many?
- One product, multiple docs versions → one knowledge base with source groups (
v1,v2,latest). - Multiple products with separate audiences → separate knowledge bases, each with its own widget, keys, and analytics.
- Internal + external knowledge for the same product → one knowledge base; mark internal pages
restricted(see Roles & Permissions) or isolate them in an internal-only source group.