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

  1. 1Open your site's shared template or layout file.
  2. 2Paste the snippet immediately before the closing </body> tag.
  3. 3Save and deploy — no build step is required for the widget itself.
Read the Plain HTML install guide →

WordPress

  1. 1Go to Appearance → Theme File Editor and open footer.php (or use a header/footer scripts plugin).
  2. 2Paste the snippet just above the closing </body> tag.
  3. 3Update the file — the widget appears on every page rendered from that theme.
Read the WordPress install guide →

Shopify

  1. 1In your Shopify admin, go to Online Store → Themes → Edit code.
  2. 2Open theme.liquid and paste the snippet immediately before the closing </body> tag near the bottom of the file.
  3. 3Save — the widget now appears across your storefront.
Read the Shopify install guide →

Wix

  1. 1Use Wix's current official help to confirm site-wide custom-code availability and menu labels.
  2. 2Add the bot-specific script once in a site-wide footer/body-end location if supported.
  3. 3Publish and test the public site; see the guide for paths marked {{VERIFY}}.
Read the Wix install guide →

Squarespace

  1. 1Verify current Code Injection settings and plan support in Squarespace help.
  2. 2Add the bot-specific script once to the site-wide footer field if available.
  3. 3Save, publish, and test a public page.
Read the Squarespace install guide →

Webflow

  1. 1Verify current site-wide custom-code settings and plan requirements in Webflow help.
  2. 2Add the bot-specific script once to the shared footer field if supported.
  3. 3Publish to the domain you intend to test and confirm allowed-domain settings.
Read the Webflow install guide →

Custom HTML

  1. 1Open the shared source template that contains the page's closing body tag.
  2. 2Paste the bot-specific script immediately before </body>.
  3. 3Deploy using the site's normal build and publishing process.
Read the Custom HTML install guide →

React or Next.js

  1. 1Identify the shared HTML shell or the app-wide React/Next.js layout.
  2. 2Load the bot script once from that shared entry point.
  3. 3Build, deploy, and test across route navigation.
Read the React or Next.js install guide →
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.