Install

How to install the bot on your website

Updated September 27, 2026

The widget is a small script. You copy it from the dashboard and paste it once. After that, the assistant appears on every page that loads the snippet.

Copy the embed code

  1. Sign in and open the bot you want to publish.
  2. In the dashboard header, click Deploy (on Config, smaller screens also show Get script).
  3. Press Copy. You do not need to edit the code. The data-bot-uid value is unique to that bot.

The snippet looks like this (your bot UID and script URL will match your account):

<script>
  (function() {
    var script = document.createElement('script');
    script.src = 'https://botext.ai/api/connect-script/widget.js';
    script.setAttribute('data-bot-uid', 'YOUR_BOT_UID');
    script.async = true;
    document.head.appendChild(script);
  })();
</script>

Optional: if you translated the widget, you can lock a language by adding script.setAttribute('data-language', 'en'); (or another locale from the Deploy language menu).

WordPress

  1. In WP Admin, install and activate the plugin WPCode – Insert Headers and Footers.
  2. Open Headers and Footers from the WPCode menu.
  3. Paste the BoText snippet into the Header box and save.
  4. Refresh a public page of the site. The widget should appear.

Shopify

  1. Go to Online Store → Themes, open the current theme menu, and choose Edit code.
  2. Open theme.liquid.
  3. Paste the snippet inside the <body> tag (near the end is fine) and save.
  4. Refresh the storefront to confirm the bot is visible.

Framer

  1. Open the project, then Settings (gear icon).
  2. Open General → Custom code and add a script.
  3. Paste the BoText snippet, then Publish.
  4. Open the live site (not only the editor canvas) to see the widget.

Any other website

Look for a “custom code”, “header scripts”, or “theme HTML” section. Paste the snippet in the <head> or <body>. If you edit files yourself, add it once in a shared layout so every page loads it.

Using a builder we have not listed? Write to Support with the platform name — we can send a short guide for that stack. There is also a video walkthrough on our YouTube channel.