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

# WordPress

> Add DeskHoot to a WordPress site

**1. Copy your code**

Copy it from [**Channels › Widgets › Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install).

```html Your install code theme={null}
<script
  async
  src="https://widget.deskhoot.com/widget/v1.js"
  data-project="YOUR_PROJECT_ID"
></script>
```

**2. Install WPCode**

In WordPress, open **Plugins › Add New Plugin**, search for **WPCode**, then select **Install Now** and **Activate**.

**3. Paste it into the footer**

Open **Code Snippets › Header & Footer**, paste the code into **Footer** and select **Save Changes**.

**4. Clear your cache**

If you use a caching plugin, clear its cache.

**5. Check it's live**

Open your website and select the chat button. [**Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install) now shows **Installed**.

## Related

> [card] [Installation](https://docs.deskhoot.com/install/website.md)
>
> Add DeskHoot to any website.

> [card] [Customize your widget](https://docs.deskhoot.com/widgets/customize.md)
>
> Colours, greeting and where the button sits.

> [card] [Allowed websites](https://docs.deskhoot.com/widgets/websites.md)
>
> Where your chat is allowed to load.

> [card] [Troubleshooting](https://docs.deskhoot.com/install/troubleshooting.md)
>
> When the chat doesn't show.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.