WordPress

Add an AI chatbot to your WordPress site

You can add the ChatDivo AI chatbot to any WordPress site in a few minutes, without a developer. Train the agent on your site, copy its short snippet, and paste it into the footer with a header and footer plugin such as WPCode. It then appears on every page and answers visitors from your own content.

  • Free to start
  • No code
  • Answers in seconds
The ChatDivo chat widget open on a WordPress site, answering a visitor from the site's own pages.

Step by step

The plugin route keeps your snippet safe when your theme updates, because the code is stored in WordPress, not in the theme.

  1. 1

    Train your agent

    In ChatDivo, create an agent and add your WordPress site's address so it learns your pages.

    How training works
  2. 2

    Copy the snippet

    Open your agent's website chat settings, style the widget, and copy the embed code.

  3. 3

    Install a header and footer plugin

    In WordPress go to Plugins, then Add New, search for WPCode (Insert Headers and Footers), then Install Now and Activate.

  4. 4

    Paste into the footer

    Open the plugin from the Code Snippets menu, paste the ChatDivo code into the footer scripts, and save.

  5. 5

    Check it

    Open your site in a private window. If the chat does not show, clear your caching plugin's cache and reload.

Other ways, and what to watch for

  • Editing the theme

    Pasting into your theme works, but WordPress warns that theme updates remove such changes unless you use a child theme. The plugin route avoids that.

  • Block themes

    The Site Editor in block themes is for layout and styles; use the plugin for scripts like the chat snippet.

  • WordPress.com sites

    Plugins can be installed on WordPress.com paid plans only. On a free WordPress.com site, share your ChatDivo chat link instead.

Sources

The WordPress steps follow WordPress's own documentation, checked on 30 November 2026.

Questions people ask

Do I need a developer to add a chatbot to WordPress?

No. If you can install a plugin, you can paste the ChatDivo snippet into your footer and the chat appears on every page.

Is there a ChatDivo WordPress plugin?

Not yet. You add ChatDivo with its short snippet through a header and footer plugin, which works on any WordPress site that allows plugins.

Will the chatbot slow down my site?

The snippet loads the chat in the background, so your page shows first.

Will it answer from my WordPress pages?

Yes. Add your site's address in ChatDivo and it learns your pages, then answers visitors from them.

Try ChatDivo on your own content

Add your website, ask it your customers' questions, and see the answers for yourself.

  • Free to start
  • No code
  • Answers in seconds