Cogiens Digital Employee - Integration Guide

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 | +-----------------------------------+
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:

Full reference: API docs & SLA

4. Feeding the brain: managing your Knowledge Base

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.