Embed a chatbot on your site
Drop the embed snippet on your site; visitors ask questions of your documents.
A chatbot is a branded chat widget you embed on your own site. Pick a label of documents to ground it, configure how it looks and behaves, paste the embed snippet on your page. Visitors ask questions and get cited answers without needing a docAnalyzer account.
Create a chatbot
-
1
From the labels page, pick the label you want to back the chatbot. The label expands at runtime to all its member sources.
-
2
Click Spawn chatbot in the label's bulk-action menu.
-
3
Give the chatbot a name (defaults to "Untitled chatbot").
-
4
The chatbot is created and opens in its dedicated editor at
/app/cb/<id>.
You can configure everything from the four-tab editor; see Configure a chatbot for the full walkthrough.
Get the embed snippet
In the chatbot editor:
-
1
Open the Settings tab.
-
2
Find the Embed section.
-
3
Copy the snippet, typically a small
<script>tag plus a<div>placeholder. -
4
Paste it where you want the widget to appear on your site.
The widget loads asynchronously and doesn't block page rendering.
What visitors see
- A floating chat bubble (or inline widget, depending on configuration).
- A welcome message you've configured.
- A model picker (if you've enabled it).
- Citations to the documents backing the chatbot, where visitors can click through to read the source.
They don't see:
- Other documents in your workspace.
- The label name or the workspace itself.
- Anything beyond what you've explicitly configured to be visible.
Privacy and rate limits
Chatbots respect their own settings:
- Usage limits keep one visitor (or one site) from burning through your quota: set in the Settings tab.
- Conversation logging can be on or off. When on, you see conversation summaries in the chatbot's conversations view.
- Anonymous by default: visitors don't need to sign in.
Pricing
Chatbot conversations meter against your plan the same way your own chats do. See How credits work and your plan limits.
What's next
- Configure a chatbot: the four-tab editor in detail.
- Organize with labels: what backs the chatbot's dataset.
- Share a chat link: for sharing a specific chat thread instead.