Integrate Botuj Chatbot in WordPress

Learn how to add the Botuj chatbot to a WordPress website using a code snippet or plugin.

Add the Botuj chatbot to your WordPress site using either a plugin or directly editing your theme.

📥 Step 1: Get Your Embed Script

Copy your chatbot code from Settings → Embed:

<script
  defer
  src="https://cdn.botuj.pl/loader.js"
  data-key="${chatbotId}"
></script>
  1. Install the plugin Insert Headers and Footers
  2. Go to Settings → Insert Headers and Footers
  3. Paste the script into the Scripts in Footer section
  4. Save changes

🧩 Option 2: Edit Theme (Advanced)

  1. Go to Appearance → Theme File Editor
  2. Open footer.php
  3. Paste the script before </body>:
<script
  defer
  src="https://cdn.botuj.pl/loader.js"
  data-key="YOUR_CHATBOT_ID"
></script>

✅ That’s it! Your chatbot is now live on your WordPress site.