How your digital employee works, and how to plug it in
You hired a digital employee (e.g. an AI Customer Service agent). This page answers three questions:
what the moving parts are, how to put the agent on your website, and how to call it from your own systems.
1. The three moving parts: IM widget, Knowledge Base, API
Your customer You (the owner)
| |
v v
[IM chat widget] or [API] [Management Console]
\\ / |
\\ / | add / correct entries
v v v
+-----------------------------------+
| YOUR DIGITAL EMPLOYEE |
| answers using YOUR Knowledge Base |
+-----------------------------------+
- Knowledge Base (KB) is the employee's brain content: question-answer entries about YOUR products and policies. The agent only answers from this - it does not invent facts.
- IM widget is the chat bubble on your website. Visitors type questions; the agent answers from the KB.
- API is the same employee, callable from your own app, CRM or backend - same brain, no UI.
- Console (console.cogiens.com) is where you watch conversations, inspect the KB, and correct any answer. Corrections take effect immediately - the employee learns on the spot.
One brain, three doors: widget for your visitors, API for your systems, console for you.
2. Put the agent on your website (one line)
Paste this before </body> on any page of your site:
<script src="https://im.smarturi.cn/embed.js" data-store="YOUR_STORE_ID"></script>
Replace YOUR_STORE_ID with the store id from your onboarding email (for Aquaria it is aquaria).
A chat bubble appears bottom-right. The interface language follows your store settings
(English for English-only stores). Optional attributes:
data-lang="en" force interface language
data-title="Support" custom window title
3. Call the agent from your own systems (API)
curl -X POST https://ailabor.smarturi.cn/gateway/v1/chat \\
-H "X-API-Key: YOUR_API_KEY" \\
-H "Content-Type: application/json" \\
-d '{"message": "What is the warranty on Hydropack?"}'
The API key is in your onboarding email. Also available:
GET /gateway/v1/me - your plan, quota and usage
GET /gateway/v1/usage - this month's consumption
GET /gateway/v1/audit - every call: when, what was asked, result
Full reference: API docs & SLA
4. Feeding the brain: managing your Knowledge Base
- View: console 鈫?Knowledge Base tab - every entry the agent can use.
- Correct: found a wrong answer in a conversation? Use one-click correct - the fix is live immediately.
- Add: send us any product document or FAQ text - it is converted into KB entries within one business day.
Self-service upload in the console is coming shortly.
Golden rule: the agent is exactly as good as its KB. Ten minutes of feeding it your real FAQ pays back every day.
5. Support
Email admin@lontuos.com - include your store id. We reply within one business day.