Intégration support IA : bot, canal, App Key pour web ou mini-apps.
How to embed AI support on your website or mini program
ScalerDeep supports **configure once, publish everywhere**: create a bot and embed channel in the console, then use the App Key and embed code on web, H5, WeChat mini programs, or mobile apps.
Overview
1. Create an intelligent bot
Go to **Bots → Create**, choose an AI model, and optionally bind a knowledge base and MCP datasets.
2. Create an embed channel
From the bot list, open **Embed channels → New embed channel**:
1. Pick a scenario (website / mini program / app / WeCom / Feishu / DingTalk / WeChat)
2. Fill the minimal fields (name is prefilled; websites default to open origins for trial)
3. After create, follow the prompt to **copy embed code** or **scan QR**
For work apps, **long connection** is recommended (usually no public callback). Choose HTTP webhook only when you need one.
3. Get App Key and embed code
Copy the **App Key** and **embed script / SDK instructions** and integrate them into your frontend.
4. Preview and go live
Use **Preview** in the console to test common questions, then publish to production.
Common scenarios
| Scenario | Notes |
|----------|-------|
| Website | Floating widget or dedicated chat page |
| Mini program | Call the chat API with App Key |
| Mobile app | WebView or native SDK integration |
| Internal systems | Staff assistant embedded in ERP / OA |
FAQ
**Do I need backend changes?** Usually only frontend embed code; data access goes through ScalerDeep data sources and knowledge bases.
**How to track different channels?** Each embed channel has its own App Key for per-channel analytics.
**How to request a trial?** See [Trial and pricing](/help/trial-and-pricing).