How to add an AI chatbot to a WordPress site
To add SLAtech AI to WordPress, paste two lines of code into the footer of your site once: in a block theme, as a Custom HTML block in the footer template part; in a classic theme, with a plugin that adds code to the footer. The assistant then answers visitors on every page, from your own content.
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 in WordPress
Block themes: open Appearance, Editor, then the footer template part, add a Custom HTML block, paste both lines and save. The footer is shared by every page, so the chat appears everywhere. Classic themes: use any plugin that adds code before the closing body tag, or, in a child theme, paste the lines into footer.php just before wp_footer().
Good to know
A Custom HTML block that contains a script can be saved only by a user allowed to post unfiltered HTML - on most single sites, an administrator. If your site uses a caching plugin, clear its cache after saving, or visitors may see the old page without the chat for a while.
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 WordPress?
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.
Is there a SLAtech AI plugin for WordPress?
No. The two lines of code work in any theme, and the assistant reads your site's pages and sitemap by itself - there is nothing to install on the server.
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 any website
Read the answer -
How to add an AI chatbot to a Wix 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