Knowledge Bases
Ground your agent in your own content.
How retrieval works
Upload documents in the Knowledge tab. On each turn, the most relevant passages are retrieved and injected into the agent's prompt, so answers are grounded in your content rather than the model's general knowledge.
Client knowledge portals (white-label)
Agencies and teams managing several clients can let each client maintain their own knowledge — without giving them access to your dashboard. In the Knowledge tab, press Create and choose Client portal to spin one up.
Setting one up
- Knowledge → Create → Client portal. Name it after the client and pick an access method.
- Open the portal, connect the agents it should feed, and customize the branding (logo, name, accent color).
- Generate a portal link (or add an email/OTP login) and share it with your client.
Access methods
- Magic link — a long, single-use-style link (shown once) with optional expiry and instant revocation.
- Email + password — you provision a login per client user.
- Email OTP — passwordless; the client gets a one-time code by email.
What the client can do
- Add, edit, and remove knowledge entries (text, or uploaded PDF / DOCX / text files), organized by category.
- Connect websites and sync them — manually or on a daily / weekly / monthly schedule — so changes flow into the agent automatically.
- See full version history and roll any entry back.
Approval workflow
Choose how client changes go live: Publish immediately, or Review before publish — where each change waits in your review queue until you approve it. Either way, every approved change propagates to the connected voice, website, SMS, and workflow agents with no retraining.
Custom domain (white-label URL)
Give each portal its own URL (e.g. knowledge.yourclient.com) so clients never see customweb.ai in the address bar.
- In the portal's Branding tab, enter the domain in the "Your domain" field and save.
- Log in to your DNS provider and add a CNAME record pointing your subdomain (e.g. knowledge.yourclient.com) to your-app.vercel.app.
- In the Vercel dashboard for the project, go to Settings → Domains and add the same domain.
- Vercel will issue a TLS certificate automatically within a few minutes.
- Test by opening the custom URL — the client's branded portal should load.
Notify email
Set a Notify email in the portal Settings to receive an email at your address (not the client's) whenever a client uploads or changes a document. Useful for staying on top of client activity without manually checking the dashboard.
Automation API
Agencies can manage client knowledge programmatically with a standard API key.
curl -H "Authorization: Bearer cwk_…" \ "https://agents.customweb.ai/api/v1/knowledge?kb=<knowledgeBaseId>"