> ## Documentation Index
> Fetch the complete documentation index at: https://docs.insitechat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# WordPress

> Add an AI chatbot to your WordPress site in 2 minutes. No coding required.

## Overview

The InsiteChat WordPress plugin lets you add an AI chatbot to any WordPress site with zero coding. Just install the plugin, paste your Chatbot ID, and your chatbot appears on every page.

## Installation

<Steps>
  <Step title="Download the plugin">
    Download the InsiteChat WordPress plugin (`insitechat.zip`) from your InsiteChat dashboard → chatbot → **Embed** tab → **WordPress Plugin** card.
  </Step>

  <Step title="Install in WordPress">
    Go to your WordPress admin → **Plugins** → **Add New** → **Upload Plugin**. Upload the zip file and click **Install Now**, then **Activate**.
  </Step>

  <Step title="Configure">
    Go to **Settings** → **InsiteChat** in your WordPress admin. Enter:

    * **Chatbot ID** — found in your InsiteChat dashboard → chatbot → Embed tab
    * **Enabled** — checkbox to switch the widget on across the site (on by default)
    * **Position** — Bottom Right or Bottom Left
    * Click **Save Settings**
  </Step>
</Steps>

## Features

* **Zero coding** — no HTML or JavaScript editing needed
* **Position control** — choose bottom-left or bottom-right
* **Page exclusion** — hide the chatbot on specific pages (e.g., `/checkout`, `/cart`)
* **Settings page** — configure everything from the WordPress admin
* **Works with any theme** — compatible with all WordPress themes
* **Lightweight** — injects from the WordPress `wp_footer` hook (non-render-blocking) and adds a single position-fixed iframe, so no layout shift

## Exclude pages

In **Settings** → **InsiteChat**, you can add URL paths to exclude (one per line):

```
/checkout
/cart
/thank-you
```

The chatbot will not appear on these pages. (Note: WordPress admin pages are already excluded automatically — no need to list `/wp-admin`.)

## Finding your chatbot ID

1. Log in to [insitechat.ai](https://insitechat.ai)
2. Go to your chatbot → **Embed** tab
3. Copy the Chatbot ID (UUID format: `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`)

## Uninstalling

Deactivate and delete the plugin from WordPress → **Plugins**. The plugin's uninstall hook automatically deletes the four options it stored (`insitechat_chatbot_id`, `insitechat_position`, `insitechat_enabled`, `insitechat_exclude_pages`) — including across every site on a multisite install — so no leftover rows remain in `wp_options`.
