To add a chatbot to your website, sign up for a chatbot tool, give it your website pages so the AI learns your content, test its answers, then paste its script tag into your site before the closing </body> tag. With a tool that crawls your pages, the whole setup takes about 15 minutes and needs no coding beyond pasting one line.
This guide shows each step using LooperChat, which has a free plan. The steps are similar in most AI chatbot tools.
Sign up for LooperChat and verify your email. A project is created for you automatically, and its home page links to each setup step below.
LooperChat project home with links to chat, data sources, project settings, preview and team invites
An AI chatbot only answers well from content you give it. This is called retrieval: the chatbot searches your pages before each reply instead of relying on what the AI model learned in general. (What is a RAG chatbot?)
On the Business plan you can turn on auto-crawl with include and exclude patterns, so new pages are learned automatically.
LooperChat Data Sources URL tab listing website pages the AI learns from
LooperChat preview widget answering a pricing question with a link to the pricing page
Go to Settings > Install and copy the snippet with your project ID filled in:
<script id="looperchat-tag" src="https://tag.looperchat.com/chat/tag.js" data-license="YOUR_PROJECT_ID" defer async></script>
Where to paste it:
| Platform | Where |
|---|---|
| Any HTML site | Before the closing </body> tag on every page, or in your shared layout |
| WordPress | A header and footer code plugin, or your theme's footer template |
| Shopify | No code: install the LooperChat app from the Shopify App Store |
| Google Tag Manager | A Custom HTML tag that fires on all pages |
LooperChat Install tab showing the widget script tag and setup instructions
The script loads asynchronously, so it doesn't slow down your page.
In Settings > General, set the main colour, logo, avatar, welcome message and position. You can also show the widget as a floating button or embedded in a page, hide it on mobile, or hide it when no team member is online.
LooperChat General settings with widget name, website domain, display mode, button position, logo and avatar
LooperChat chat inbox listing visitor sessions and the pages a visitor viewed
Ready to start? Create a free account: 500 AI and human replies a month, no card needed. See pricing for larger plans.