// cms

Agentbot for
WordPress.

Drop the Agentbot snippet into WordPress with a plugin, your theme, or hook — no plugin marketplace required.

Why WordPress + Agentbot

WordPress runs roughly 40% of the web — your audience is probably on it. Agentbot installs as a single <script> tag; how you put that tag into your WordPress head is up to you. Three patterns work: the WPCode plugin (no theme editing), a child theme's functions.php (no plugin), or a Custom HTML widget (footer-only).

Install in 3 steps

  1. Step 1

    Copy the Agentbot snippet

    In the Agentbot dashboard, open Embed and copy the one-line <script> tag.

  2. Step 2

    Add to wp_head — easiest with WPCode

    Install the free WPCode plugin → Headers & Footers → paste the snippet into the "Header" box → Save Changes. The snippet is now in <head> on every page.

  3. Step 3

    Verify the widget loads

    Visit any page on your WordPress site. The Agentbot bubble appears bottom-right within a second. If not, open DevTools → Network and confirm the bootstrap loads.

<script src="agenbot.vercel.app/w/YOUR_SITE_KEY" defer></script>

Full install docs →

What you get

  • Widget loads on every WordPress page including custom post types
  • Works on any theme — block-based, classic, or custom-built
  • No PHP code required if you use WPCode (or Insert Headers & Footers)
  • Coexists with Yoast / Rank Math / WooCommerce — script is namespaced, no plugin conflicts

Common flows users automate

  • Blog visitor asks about a topic — AI answers from your knowledge base or fetches your /about page
  • WooCommerce shopper asks about returns — AI cites your refund policy page
  • Lead form abandoner gets caught — AI offers help before they bounce
  • Visitor on a service page wants a quote — AI files a ticket with their contact info

Troubleshooting

Hit a snag? The FAQ & troubleshooting docs cover the common gotchas (widget not appearing, snippet not loading, theme conflicts).

FAQ

Do I need a WordPress plugin to use Agentbot?

No, but a free header/footer plugin (WPCode, Insert Headers and Footers, Code Snippets) is the lowest-friction install. If you'd rather edit your theme, add the snippet to functions.php with `wp_head` action — code example in our /docs/install page.

Will it conflict with WooCommerce or other live-chat plugins?

Agentbot is a self-contained script that doesn't hook into the WordPress action system. It doesn't conflict with WooCommerce. If you have another live-chat plugin installed (Tawk.to, Tidio, LiveChat), disable that plugin first — two chat widgets fighting for the bottom-right corner is a bad experience.

Will it work with WordPress Multisite?

Yes. Install the WPCode plugin network-wide and paste a unique Agentbot snippet per subsite — each subsite gets its own widget pointing at its own Agentbot site key.

Does it work with WPML / Polylang multilingual sites?

Yes — the widget loads on every language version. The AI itself replies in whatever language the visitor writes in. Currently the widget UI strings (buttons, placeholders) are English-only; the chat itself is fluent in any language the underlying model supports.

Does Agentbot have an official WordPress plugin?

Not yet. The script-tag install is one line and works across every WordPress configuration we know of, so the marginal value of a dedicated plugin is small. If you have a specific reason a plugin would help (e.g. per-page settings via the WP admin), tell us via /contact.

Try Agentbot in WordPress — free.

One snippet, no credit card. See pricing · webhook docs.

Get Agentbot — Free →

Also installs in: Webflow · Shopify