> For the complete documentation index, see [llms.txt](https://support.agentfire.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.agentfire.com/integrations/intercom-chat/articles-1880476-how-to-add-intercom-chat-to-your-website.md).

# How to Add a Chat Widget (Like Intercom) to Your Website

How to add a chat widget, like Intercom, to your AgentFire website.

You can add live chat from a service like Intercom to your website. The chat service gives you a short piece of code, and you paste it into your website once.

## Get your code

Sign up with the chat service and copy its website install code. Choose the plain code snippet (JavaScript), not an app or package option.

In Intercom, go to **Settings** > **Channels** > **Messenger Live Chat** > **Overview** and click **Install on website** on the **Website** card. Choose **Visitors & leads**, then copy the code snippet. See Intercom's [install guide](https://www.intercom.com/help/en/articles/16946116-new-messenger-install-experience-on-your-website) for the details.

## Add it to your website

{% stepper %}
{% step %}

### Open your scripts

Go to **Site Settings** > **AgentFire Settings** > **Header/Footer Scripts & Metas**.
{% endstep %}

{% step %}

### Paste the code

Paste the code at the end of the **Footer before closing tag** box. Don't change any code that's already there.

![The Footer before closing tag box](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-2d4f1e86cefefa0fa547b2f4178859e3087f2edf%2Fscripts-chat-1-footer.png?alt=media)
{% endstep %}

{% step %}

### Save and check

Click **Update**. Then open your website in a new browser window to check the chat shows. If your website has a cookie banner, accept it first.
{% endstep %}
{% endstepper %}

If you'd rather we add it for you, email <support@agentfire.com> with the code attached as a text file.

## Common Questions

<details>

<summary>Can I use another chat service?</summary>

Most chat services give you code to paste into a website, and that's what you need. We can't install WordPress plugins, so choose the code option. If you're not sure, email <support@agentfire.com> with the service's install instructions.

</details>

<details>

<summary>Can the chat show on only some pages?</summary>

Email <support@agentfire.com> with the code and the pages you want it on, and we'll let you know what's possible.

</details>

<details>

<summary>I added the code but don't see the chat.</summary>

Check you clicked **Update**, and accept your website's cookie banner if it has one. Turn off any ad blocker, since they can hide chat widgets. Also check your chat service account is active. If it's still missing, email <support@agentfire.com>.

</details>

<details>

<summary>How do I remove a chat widget?</summary>

Find its code in **Header/Footer Scripts & Metas**, delete it and click **Update**, or ask us to. Older chat installs may be in a header box instead of the footer. This doesn't cancel your account with the chat service.

</details>
