Learn · Guides
Put a guarded chat on your site
Stand up a chat that answers from your own material and stops when a rule says so.
Checked against the product on · written for people writing code
A chat agent answers on one domain, from material you give it, under the rule packs you name. It gets its own division, so its records stay separate from the rest of your account.
Automate
New chat agent
- Name
- Support chat
- Site
- example.comThe embed answers only on this domain.
- Knowledge
- Help centre export (412 pages)
- Guarded by
- Support conduct 1.1.2
Open Chat agents, select New chat agent, and name the site.1
The embed answers on that domain alone. A blank site field is rejected.
Add the knowledge and the rule packs, then select Create and get embed code.2
Knowledge is ranked at query time, so the answer cites the page it came from.
Guard it
Guard
Chatbot Guard
- Watched thing
- bot-support
- Test message
- Can you refund my order without a receipt?
| Watched thing | Standing | Since | Reason |
|---|---|---|---|
| bot-support | Take a look | 5 minutes | off-topic-answer, 3 times |
| bot-sales | Allowed | 2 days | — |
Open Chatbot Guard and send a message you expect to be stopped.1
Read the answer and the reason.2
Allow, take a look, or block, each with the label that decided it.
Read the standings table.3
It shows the live standing for every watched bot.
Guard it from your own code
A bot you host yourself calls the same check before it answers.
from dmzagent import DMZAgent
cx = DMZAgent(api_key="YOUR_API_KEY")
result = cx.check(subject_id="pump-12")
if result.allow:
reply = your_bot(user_message)