How to install Boei on your Drupal website

You can install Boei on your Drupal website in just a few minutes, no module required.

Just grab a cup of coffee ☕️, and you can do the installation in 5-mins yourself.

Step 1. Create an account

Create a Boei account if you don't have one yet. The onboarding trains your AI chatbot on your website content. You can also add other ways customers can reach you, like WhatsApp, email, or phone.

Step 2. Copy installation code

In your Boei dashboard, open your widget and click the Install tab. Select Other / Script and copy the installation code.

Install tab

Tip: The Install tab also offers a landing page link, QR code, and iframe embed.

Step 3. Log in to Drupal

Open your Drupal admin panel and navigate to Configuration → Development → Asset Injector (if you have the Asset Injector module). Alternatively, you can edit your theme's template directly.

Step 4. Add the script

Option A (Asset Injector module): Click Add JS Injector, give it a label like "Boei Chatbot", paste the script code, and set it to appear on all pages.

Option B (Theme template): Open your active theme's html.html.twig file (usually in themes/your_theme/templates/). Paste the Boei script code just before the closing </body> tag.

Step 5. Clear cache

Go to Configuration → Performance and click Clear all caches. Visit your site to confirm the chatbot appears.

Congrats, you are done! You now have the Boei AI chatbot installed on Drupal.


Troubleshooting

If the Boei chatbot doesn't appear on your site:

  • Hard-refresh the page (Cmd+Shift+R on Mac, Ctrl+Shift+R on Windows) to bypass browser cache.
  • Clear all Drupal caches (Configuration → Performance → Clear all caches), plus Cloudflare if you use it.
  • Disable ad blockers in your test browser. Some block third-party scripts.

Common questions

Will it slow down my site? No, Boei loads asynchronously after your page renders.

Does it work on mobile? Yes, the chatbot is fully responsive.

Can I show it only on certain pages? Yes, set page rules in your Boei dashboard.

Feedback Questions

Last updated: May 8, 2026