Documentation
Installation
Paste one script tag into your site. Works on WordPress, Shopify, Wix, Squarespace, Webflow, plain HTML, and more.
Quick install
Copy this snippet and paste it into your site's HTML, just before the closing </body> tag. Replace YOUR_CHATBOT_ID with your chatbot's ID from the dashboard.
<!-- EmbedMyBot AI Chatbot -->
<script
async
src="https://www.embedmybot.com/widget.js"
data-chatbot-id="YOUR_CHATBOT_ID"
data-lazy="true"
></script>
async keeps the script from blocking your page's load, and data-lazy="true" waits until the visitor is idle or interacts before building the widget — so it never hurts your page-speed score. Both are optional but recommended.Where to paste it

We have step-by-step guides for the most common platforms: WordPress, Shopify, Wix, Squarespace, Webflow, Framer, and GoDaddy.
React / Next.js
In a React or Next.js app, load it with next/script (or a useEffect that injects the tag). The strategy="lazyOnload" mirrors our data-lazy behavior.
import Script from "next/script";
export default function Layout({ children }) {
return (
<>
{children}
<Script
src="https://www.embedmybot.com/widget.js"
data-chatbot-id="YOUR_CHATBOT_ID"
data-lazy="true"
strategy="lazyOnload"
/>
</>
);
}Inline (embedded) mode
Instead of a floating bubble, you can render the chat inside a container on the page — for a full-page assistant or a support section. Add a target element and set data-inline, data-target, and data-height.
<!-- EmbedMyBot AI Chatbot (inline) -->
<div id="embedmybot-chat"></div>
<script
async
src="https://www.embedmybot.com/widget.js"
data-chatbot-id="YOUR_CHATBOT_ID"
data-inline="true"
data-target="#embedmybot-chat"
data-height="600"
></script>