- Home
- Integrations
- React
AI chatbot for React: how to install it
In a React app the code goes in the entry HTML file, once.
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 index.html
- Open index.html (with Create React App it’s in public/).
- Paste the code after the app container.
<body>
<div id="root"></div>
<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.
Choose your platform
IntegrationsOnline shops
Website builders
Custom sites and apps
Ready to install it?
Sign up free and the panel gives you the code and instructions for your platform.