Embed a LangBot chat widget into any website with a single script tag.Documentation Index
Fetch the complete documentation index at: https://docs.langbot.app/llms.txt
Use this file to discover all available pages before exploring further.
Create Bot
Open LangBot WebUI, go to Bots > Create Bot, enter a bot name, and selectWeb Page Bot as the platform/adapter.

Configuration
| Option | Description |
|---|---|
| Component Title | Title displayed at the top of the chat widget, defaults to LangBot |
| Bubble Icon | Icon displayed on the floating chat bubble |
| Component Language | Display language for the chat widget (Simplified Chinese, English, etc.) |
| Turnstile Site Key | Cloudflare Turnstile site key for anti-abuse protection. Leave empty to disable |
| Turnstile Secret Key | Cloudflare Turnstile secret key, obtained together with the site key from Cloudflare console. Required when site key is set |
Get Embed Code
After creating and saving the bot, an auto-generated<script> tag will appear in the Embed Code section of the bot configuration page.

</body>). A chat bubble will appear at the bottom-right corner of the page, allowing visitors to chat with your bot.
Anti-Abuse (Optional)
To protect against abuse, you can enable Cloudflare Turnstile:- Go to Cloudflare Turnstile > Add Site
- Get the Site Key and Secret Key
- Fill them into the corresponding fields in the LangBot Web Page Bot configuration
- Save to take effect
