Integrate to Your Website
Chat Window
Chat Window
To add the chatbot anywhere on your website, use the HTML script below to add the chatbot in a “new window” format to enhance your website with AI-powered chatbots that can handle visitor inquiries seamlessly.
Add this script to your HTML code.
Make sure to replace
Your_Project_ID_Here
with your Project’s ID.id="odin-chatbot"></div>
Chat Bubble
Chat Bubble
To add the chatbot as a chat bubble to the bottom-right of your website, use the HTML script below. This is ideal for providing instant support, allowing users to interact with the Odin AI chatbot easily.
Add this script to your HTML code.
Make sure to replace
Your_Project_ID_Here
with your Project’s ID.Integrate to Next.js App
Chat Window
Chat Window
To integrate Odin AI chatbot into your Next.js app as a chat window, follow these instructions:
- Place the following script in the
rootLayout
or App file:Script from - Add the following
<div>
tag in the component where you want the Chat Window to appear.<div id="odin-chatbot"></div>
Chat Bubble
Chat Bubble
To integrate Odin AI chatbot into your Next.js app as a chat bubble, follow these instructions:
- Place the following script in the
rootLayout
or App file:Script from - If you’ve added the Chatbot as a Chat Window previously, make sure you remove the following
<div>
tag while using the chat widget.<div id="odin-chatbot"></div>
Integrate to React.js App
Chat Window
Chat Window
- Add the following script within the
<head>
tag of the index.html file located in the public folder.
- Add the following
<div>
tag in the page or component where you want the Chat Window to appear.React from "react";
Chat Bubble
Chat Bubble
- Add the following script within the
<head>
tag of the index.html file located in the public folder.
- If you’ve added the Chatbot as a Chat Window previously, make sure you remove the following
<div>
tag while using the chat widget.<div id="odin-chatbot"></div>
Integrate to Angular Project
Chat Window
Chat Window
- Add the following script to the index.html file located in the public folder.
html>
- Add the following
<div>
tag in the page or component where you want the Chat Window to appear.class="contents">
Chat Bubble
Chat Bubble
- Add the following script to the index.html file located in the public folder.
html>
- If you’ve added the Chatbot as a Chat Window previously, make sure you remove the following
<div>
tag while using the chat widget.<div id="odin-chatbot"></div>
Integrate to WordPress Site
Chat Window
Chat Window
To add the chatbot to your WordPress site, you can add the following jQuery script to the page using the
Custom HTML
block in the WordPress editor:Chat Bubble
Chat Bubble
To add the chatbot as a chat bubble to your WordPress site, you can add the Chat Window script, mentioned above, to the page using the
Custom HTML
block in the WordPress editor and then add the following CSS script:If you want to add the Chat Bubble in the footer of the page, then you need to first add the script in the
Custom HTML
block of the footer along with the CSS code.