1. Home
  2. Integrations
  3. Angular

AI chatbot for Angular: how to install it

In Angular the code goes in src/index.html.

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>

In src/index.html

  1. Open src/index.html.
  2. Paste the code after app-root.
<body>
  <app-root></app-root>
  <script src="https://app.interlyo.com/widget/chatbot.js" data-api-key="your-key" defer></script>
</body>

Load chatbot.js from our address, as in the code above. Don’t download it into your project, rename it or include it in your site’s bundle: the widget would no longer find the key and our server.

Ready to install it?

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