← Setup guides

How to add a chatbot to your WordPress site

We have our own free WordPress chatbot plugin: download it, upload it, paste one ID, done. If you'd rather not add another plugin, a header and footer plugin takes the code instead. Both work the same on WordPress.com paid plans and self-hosted WordPress.

Before you start

Get the free WordPress chatbot plugin

Download ai-chat-bot.zip from the plugin's page, which also has the full setup guide and troubleshooting.

Download the WordPress plugin

Steps

  1. Download our plugin, ai-chat-bot.zip, from the WordPress plugin page on this site. Leave it zipped.
  2. In your WordPress dashboard, go to Plugins, then Add Plugin, and click Upload Plugin. Choose ai-chat-bot.zip, click Install Now, then Activate Plugin.
  3. Go to Settings, then AI Chat Bot.
  4. Open your assistant's Widget page in another tab and copy the agent ID from the WordPress box. You can paste the whole snippet if that's easier; the plugin takes the ID out of it.
  5. Paste it in, make sure "Show the assistant" is ticked, and save.
  6. Open your website in a new tab and look for the chat bubble in the bottom-right corner, or bottom-left if you've moved it in Settings. Your Widget page shows "Live on your site" once it has been seen there.

Without our plugin

  1. Sign in, open your assistant's Widget page and copy the one line of code shown there. It starts with <script and ends with </script>.
  2. In your WordPress dashboard, go to Plugins and add a free header and footer plugin such as "WPCode – Insert Headers and Footers", then activate it.
  3. Go to Code Snippets, then Header & Footer.
  4. Paste your code into the Footer box.
  5. Click Save Changes.
  6. Open your website in a new tab and look for the chat bubble in the bottom-right corner, or bottom-left if you've moved it in Settings. Your Widget page shows "Live on your site" once it has been seen there.

Platform steps checked on October 1, 2026 against WordPress.com Support: Add code to the WordPress site header

Good to know

Can't edit your website?

Every assistant has its own chat page. Link to it from your website's menu, your Google Business Profile, social media or email signature. Or use "Email this to my web person" on your Widget page to send the code to whoever runs your site.

Questions

Do I need a plugin at all?

No. Ours exists so you don't have to touch theme files or paste code, but a header and footer plugin works just as well, and so does adding the line to a child theme's footer if you're comfortable doing that.

Does WordPress have a chatbot built in?

No. WordPress itself has no chatbot to switch on, so every WordPress chatbot is added with a plugin or a line of code, as in the steps above.

Does it work on free WordPress.com sites?

No. Free WordPress.com sites can't run added scripts. Use your assistant's chat page link instead, or move to a paid plan.

Try it on your own website

Your customers are asking right now

Paste your website and see your assistant answer as your business. It takes about a minute.

  • No account needed
  • No card
  • Free plan forever

Want the details first? See pricing