Add to Your Website
Put the botts.ai chat widget on your website. Pick your platform for a step-by-step guide.
Every website deployment comes with an embed code: one script tag that loads the chat widget. Where you paste it depends on how your website is built, so pick your platform below.
Find your embed code
In botts.ai, open Agents, pick your agent, go to the Deploy tab and open the Website deployment. The Install section at the bottom of the editor shows the code with a copy button. No website deployment yet? See Deployments.
The embed code looks like this, with your deployment's own key in place of YOUR_API_KEY:
<script async src="https://api.botts.ai/widget/chat-widget.js?key=YOUR_API_KEY"></script>
Note
The website widget needs the Business plan or higher. The Personal plan includes the internal chat only.
Pick your platform
After installing
Open your public site in a private window and reload. The chat launcher appears in the bottom-right corner, or wherever you placed it in the widget editor. Colors, texts and every other widget setting are changed in botts.ai afterwards, without touching your website again. The code only needs replacing if the deployment's key changes.
Last updated on October 4, 2026