---
title: "Adding the Intercom Messenger to Your Docs"
description: "Intercom helps you engage leads and customers and track what they're up to on your app or website. HelpDocs integrates with Intercom to make it even easier for your customers to get in touch with you. 💬"
url: "https://support.helpdocs.io/article/n6sqaRYWZ7-connecting-intercom"
category: "Intercom Integration"
updated_at: "2021-01-27T14:22:50Z"
---

# Adding the Intercom Messenger to Your Docs

[Intercom](https://www.intercom.io) is the world’s first customer platform helping internet businesses accelerate growth. HelpDocs integrates with Intercom to make it even easier for your customers to get in touch with you 💬

### Adding the Intercom Messenger to Your Knowledge Base

1. Grab the **JavaScript Snippet** from Intercom for logged out users
   
   1. [Click here](http://app.intercom.io/a/apps/_/settings/web) to copy the snippet (the `APP_ID` will be pre-populated for you)
   2. Or [scroll to the bottom](https://support.helpdocs.io/article/n6sqaRYWZ7-connecting-intercom#intercom_javascript_snippet) of this article and copy the code, replacing `APP_ID` with your unique ID
2. In HelpDocs, go to **Settings** &gt; [**Integrations**](https://my.helpdocs.io/app/settings/?tab=integrations) &gt; **Intercom** &gt; **Connect**
3. Paste in your **Javascript Snippet** in the **Add Chat Widget** box
4. Click **Save Changes**

The Intercom Messenger will now show on your docs, and when users hit the **Contact** button they'll get an Intercom popup instead.

When users send you a message, we'll count that as a *contact form submission* and display it in your analytics.

If Intercom doesn't appear it's possible you'll need to add your HelpDocs subdomain (and/or [custom domain](/article/ABfqGbX2fi-setting-up-a-custom-domain)) to [the list of trusted domains](https://www.intercom.com/help/en/articles/4418-whitelisting-the-domains-you-use-with-intercom) in your Intercom settings

### Intercom Javascript Snippet

```
<script>
  window.intercomSettings = {
    app_id: "APP_ID"
  };
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/bjof5ewa';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
```
