# AI Chatbot for WordPress: Plugin & Install Code

Source: https://insertchat.com/integration/wordpress

> Install the AI chat widget on WordPress with the plugin or the install code.

To add an AI chatbot to WordPress, install the InsertChat plugin from WordPress.org, enter your assistant’s ID in its settings, and clear your page cache, or paste the install code into your site’s footer. The chat answers visitors from your pages and documents and hands conversations to your team.

## One assistant for your WordPress site and your phone

Visitors ask questions in the chat on your WordPress pages and get answers from your website content and documents. The same assistant can answer calls, texts, and email, and every conversation lands in the shared inbox, where your team can take over.

## Where the code goes in WordPress

- Location: InsertChat plugin settings, or footer code
- Requirements: The plugin needs WordPress 4.7 or later and PHP 7.0 or later. Custom code on WordPress.com needs the Personal, Premium, Business, or Commerce plan.
- Source: [InsertChat on WordPress.org](https://wordpress.org/plugins/insertchat/), [WordPress.com: Add code to headers](https://wordpress.com/support/adding-code-to-headers/), checked 2026-10-13

A website install adds the chat to your pages without signing in to your WordPress account or reading its data.

## Setup

1. **Create your assistant.** Add your WordPress pages by crawl or sitemap, plus documents and FAQs, and set the assistant’s name, logo, and colors.
2. **Install it on WordPress.** Install the InsertChat plugin from WordPress.org and enter your assistant’s ID, or add the install code to your site’s footer.
3. **Verify and test.** Use Verify on your website in InsertChat with a public page URL, then ask a few common questions in the chat.

## How businesses use WordPress with InsertChat

Illustrative examples, not customer results.

- **Book service calls from service-area pages.** A visitor on your water heater repair page asks whether you serve their ZIP code. The assistant answers from your service area and books a visit. [Home services](https://insertchat.com/industries/home-services)
- **Answer class and membership questions.** A visitor asks about beginner classes and the cancellation policy. The assistant answers from your schedule and policy pages and books a trial class. [Gyms & fitness](https://insertchat.com/industries/gym)
- **Answer coverage FAQs and book reviews.** A visitor asks what a renters policy covers. The assistant answers from your published coverage pages and books a call with an agent for anything specific. [Insurance](https://insertchat.com/industries/insurance)

## What does the InsertChat WordPress plugin need?

Its WordPress.org listing requires WordPress 4.7 or later and PHP 7.0 or later. You also need an InsertChat assistant: enter its ID, the ICG_BOT_ID value in its install code, in the plugin settings.

## Can I add the chatbot without a plugin?

Yes. Paste your assistant’s install code into your site’s header and footer code tool, in the footer, then publish. WordPress.com sites need a plan that supports custom JavaScript.

## Does it work on WooCommerce stores?

Yes. WooCommerce runs on WordPress, so the plugin or install code adds the chat to your store pages. The assistant answers from the product information you add; it does not connect to WooCommerce orders.

## Related features

- [Website chat](https://insertchat.com/product/website)
- [Knowledge & answers](https://insertchat.com/product/knowledge)
- [Shared inbox](https://insertchat.com/product/inbox)

## Related guides and comparisons

- [WooCommerce AI chatbot](https://insertchat.com/integration/woocommerce)
- [How to set up human handoff](https://insertchat.com/blog/set-up-human-handoff)
- [How to build your assistant’s knowledge base](https://insertchat.com/blog/prepare-your-assistants-knowledge)
- [InsertChat vs Chatbase](https://insertchat.com/alternatives/chatbase)
