← All posts

June 22, 2026 · 3 min read

How to Add an AI Chatbot to WordPress (Step-by-Step)

Add an AI chatbot to your WordPress site in minutes with one line of code — no plugin bloat. Here's the simple, step-by-step guide.


Adding an AI chatbot to WordPress is one of the fastest ways to answer customer questions around the clock, capture more leads, and take work off your inbox. The good news: you don't need a heavy plugin or a developer. With a single line of code, your WordPress site can have a smart assistant live in under five minutes.

This guide walks through exactly how to do it.

Why add an AI chatbot to WordPress?

A modern AI chatbot does far more than the old "canned reply" bots:

  • Answers questions 24/7 using the content already on your site — no scripts to write.
  • Replies in 28+ languages, automatically detecting each visitor's language.
  • Captures leads by collecting names and emails before a chat starts.
  • Takes action — with AI Actions it can book appointments, check availability, or create support tickets by connecting to the tools you already use.

For most WordPress sites — shops, local businesses, agencies, blogs — that means fewer repetitive emails and more conversions from visitors who would otherwise bounce.

Step 1: Create your chatbot

First, create a free IntegrioChat account. You'll get a 7-day free trial, no charge upfront.

When you add your chatbot, paste in your website URL. IntegrioChat automatically reads your pages and learns your business — your products, policies, opening hours, and FAQs — so it can answer accurately from day one.

Step 2: Customize the look and behaviour

From your dashboard you can:

  • Set your brand colour, logo, and chat title so the widget matches your site.
  • Choose a widget style (modern, bubbly, sharp, or minimal) and light or dark mode.
  • Turn on lead capture if you want to collect contact details.
  • Add custom Q&A for answers that must always be word-perfect (refund policy, pricing, promotions).

Step 3: Copy your embed code

In the dashboard, copy your one-line embed snippet. It looks like this:

<script src="https://integriochat.com/widget.js" data-bot="YOUR_BOT_ID" defer></script>

That's the whole installation. The script loads asynchronously, so it won't slow your page down.

Step 4: Paste it into WordPress

You have two easy options — pick whichever fits your setup:

Option A — A "header & footer" plugin (no theme editing). Install a free plugin like WPCode or Insert Headers and Footers. Open its settings, paste your snippet into the Footer (or before &lt;/body&gt;) box, and save. This is the safest route and survives theme updates.

Option B — Your theme settings. Many themes (and full-site-editing blocks) have a Custom Code or Footer Scripts field under Appearance → Customize or theme options. Paste the snippet there and save.

Tip: Avoid pasting the code directly into your theme's footer.php. A theme or plugin field keeps the snippet safe when you update WordPress.

Step 5: Test it

Open your site in a new tab (or an incognito window). The chat bubble should appear in the corner. Ask it a question you know the answer to — like your opening hours or shipping policy — and watch it respond. If you update your website later, the chatbot keeps itself up to date.

Frequently asked questions

Do I need a plugin? No. A single script tag is all that's required, which is lighter and faster than a dedicated plugin. A header/footer plugin is just a convenient place to paste it.

Will it slow down my site? No — the widget loads asynchronously and deferred, so it has no impact on your page speed or Core Web Vitals.

Does it work with WooCommerce? Yes. It works on any WordPress site, including WooCommerce stores, where it can answer product, shipping, and returns questions.

What about other platforms? The same one-line snippet works on Shopify, Webflow, Squarespace, Wix, and any custom site too.

Next steps

That's it — your WordPress site now has a 24/7 AI assistant. To go further, explore AI chatbot vs live chat to decide how it fits alongside your team, and see the full feature list and pricing.

Ready to try it? Start your free trial and add your chatbot to WordPress today.

Add an AI chatbot to your site

Answers questions 24/7 in 28+ languages, captures leads, and takes action — live in under 5 minutes, no code required.

Start free

7-day free trial