Documentation
Install the widget
One script tag, pasted once, on any platform.
The embed snippet
Every bot has its own copy of this snippet, with its real ID filled in, on the Widget tab of that bot's dashboard page. Replace <BOT_UUID> below with yours, or copy it directly from the dashboard.
<script src="https://api.primewebkit.com/widget.js" data-bot-id="<BOT_UUID>" async></script>
Platform guides
Plain HTML
- 1Open your site's shared template or layout file.
- 2Paste the snippet immediately before the closing </body> tag.
- 3Save and deploy — no build step is required for the widget itself.
WordPress
- 1Go to Appearance → Theme File Editor and open footer.php (or use a header/footer scripts plugin).
- 2Paste the snippet just above the closing </body> tag.
- 3Update the file — the widget appears on every page rendered from that theme.
Shopify
- 1In your Shopify admin, go to Online Store → Themes → Edit code.
- 2Open theme.liquid and paste the snippet immediately before the closing </body> tag near the bottom of the file.
- 3Save — the widget now appears across your storefront.
Wix
- 1Use Wix's current official help to confirm site-wide custom-code availability and menu labels.
- 2Add the bot-specific script once in a site-wide footer/body-end location if supported.
- 3Publish and test the public site; see the guide for paths marked {{VERIFY}}.
Squarespace
- 1Verify current Code Injection settings and plan support in Squarespace help.
- 2Add the bot-specific script once to the site-wide footer field if available.
- 3Save, publish, and test a public page.
Webflow
- 1Verify current site-wide custom-code settings and plan requirements in Webflow help.
- 2Add the bot-specific script once to the shared footer field if supported.
- 3Publish to the domain you intend to test and confirm allowed-domain settings.
Custom HTML
- 1Open the shared source template that contains the page's closing body tag.
- 2Paste the bot-specific script immediately before </body>.
- 3Deploy using the site's normal build and publishing process.
React or Next.js
- 1Identify the shared HTML shell or the app-wide React/Next.js layout.
- 2Load the bot script once from that shared entry point.
- 3Build, deploy, and test across route navigation.
Want to restrict the widget to only your own domains, or match it to your brand's colors? See the full embedding guide, or configure allowed domains and appearance directly on the bot's Widget tab.