1. Home
  2. Integrations
  3. Drupal

AI chatbot for Drupal: how to install it

On Drupal 8, 9 and 10 you can use a module, without touching the theme, or the theme template.

You’ll find it ready in the panel, with your key, and copy it in one click. It looks like this:

<script src="https://app.interlyo.com/widget/chatbot.js" data-api-key="your-key" defer></script>

1With the Asset Injector module Recommended

  1. Install the Asset Injector module.
  2. Configuration → System → Asset Injector.
  3. Create a new injector, call it “Interlyo” and paste the code.
  4. Apply it to all pages and save.

2In the theme

  1. Open templates/page.html.twig in your theme.
  2. Paste the code before </body>.
  3. Clear the Drupal cache.

Ready to install it?

Sign up free and the panel gives you the code and instructions for your platform.