How to add an AI chatbot to any website
To add SLAtech AI to any website, paste two lines of code before the closing body tag of your pages - once, in the template or footer every page shares. The assistant reads your site from its address or its sitemap and answers visitors from your own content, in the language they write in.
First, copy the code
In the SLAtech AI admin panel, open your site, go to the widget settings, the Embed code tab, and click Copy code. It is two lines: a div carrying your site's widget key, and a script tag that loads embed.js. Copy both together. The key is meant to be visible in the page source: it can ask questions, not change your knowledge base.
Where the code goes on a hand-built site
Paste both lines just before </body>. If your pages share a layout, a footer include or a base template, put them there once and every page gets the chat. The script loads with defer, so it does not hold up the page; keep the div and the script together.
Single-page apps and React
On a React site you can use the ready component, @slatech/react, instead of the two lines. In any other single-page app, add the two lines to the page shell that stays loaded between views. If you list Allowed origins, include every host the site runs on, including staging.
Check that it works
Open the live site in a private window. The chat button appears in the corner; ask a question your site answers. The conversation shows up in the admin panel. If the button does not appear: check that the page is published, that both lines were pasted together, and - if you filled in Allowed origins in the site's advanced settings - that every address the site opens on is listed, with and without www, plus the platform's own address if you test there. An empty field allows any.
Frequently asked questions
Do I need a developer to add a chatbot to your website?
No. Copy two lines from the admin panel and paste them where this page shows. Everything else - colour, welcome message, language - is set in the admin panel without touching the code again.
Can I show the chat on some pages only?
Yes. Paste the two lines only on the pages that should have it, instead of the shared template.
How much does it cost?
There is a free plan with no credit card, and paid plans start at $49 a month. The current limits of each plan are on the pricing page.
Get in touch
Leave your details and we will reply. You do not need a sales call to get an answer.
Other questions
-
How to add an AI chatbot to a Shopify store
Read the answer -
How to add an AI chatbot to a Squarespace site
Read the answer -
How to add an AI chatbot to a Tilda site
Read the answer -
How to add an AI chatbot to a Webflow site
Read the answer -
How to add an AI chatbot to a Wix site
Read the answer -
How to add an AI chatbot to a WordPress site
Read the answer -
AI for a small business: the three places it actually pays
Read the answer -
A Chatbase alternative for websites in Hebrew
Read the answer -
Customer service automation: what to automate, and what to leave alone
Read the answer -
An AI chatbot for your website that answers in Hebrew, right to left
Read the answer -
An AI chatbot for a medical clinic website in Israel
Read the answer -
An AI chatbot for a website in Hebrew, Russian and English
Read the answer -
RAG vs fine-tuning: which one your use case actually needs
Read the answer -
An AI chatbot for your website that answers your customers in Russian
Read the answer -
Find the questions your website does not answer
Read the answer -
A virtual assistant for your website, trained on your own content
Read the answer