> ## 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.

# Installation

> Add DeskHoot to your website

**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>
```

Have more than one widget? Copy the code from that widget's own **Install** page. It carries one more line, `data-inbox`.

**2. Paste it into your website**

Paste it before `</body>` on every page.

**Using a website builder? Open its guide.**

[WordPress](https://docs.deskhoot.com/install/wordpress.md)
[Shopify](https://docs.deskhoot.com/install/shopify.md)
[Wix](https://docs.deskhoot.com/install/wix.md)
[Webflow](https://docs.deskhoot.com/install/webflow.md)
[Other platforms](https://docs.deskhoot.com/install/other.md)

**3. Check your website is allowed**

On [**Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install), your website has to be under **Allow your websites**, written as in your browser. `https://www.example.com` and `https://example.com` are two websites. See [Allowed websites](https://docs.deskhoot.com/widgets/websites.md).

**4. 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**.

For React, attributes and more, see [Install with code](https://docs.deskhoot.com/sdk/install.md) in the developer docs.

## How it behaves

* The code is the same on every page. Having it twice on a page still gives one chat button.
* It does not slow your page down. The chat itself loads when a visitor opens it, or straight away for a visitor who has chatted before.
* It only works on the websites under [**Allow your websites**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install). On any other website the button is plain blue and the chat says "Chat is unavailable."
* Your widget counts as installed the first time the chat loads on an allowed website, usually when someone opens it.
* On a phone the chat fills nearly the whole screen, with a small margin.
* To remove the chat, delete the code from your website.

## Troubleshooting

> [accordion] The chat button doesn't show
>
> * The code is on the page, before `</body>`.
> * Your site is published, and its cache is cleared.
> * Your ad blocker is off for your website.
> * The project ID in the code matches your [**Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install) page.

[More in Troubleshooting](https://docs.deskhoot.com/install/troubleshooting.md)

## Related

> [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] [Install with code](https://docs.deskhoot.com/sdk/install.md)
>
> Add the chat with one script tag.

> [card] [Verify users](https://docs.deskhoot.com/sdk/identify.md)
>
> Show signed-in customers to your team.


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