# Intercom Instance Creation

**URL:** https://meta.discourse.org/t/intercom-instance-creation/346924
**Category:** Support
**Tags:** intercom-widget
**Created:** [January 13, 2025, 7:09pm UTC](https://meta.discourse.org/t/intercom-instance-creation/346924 "2025-01-13T19:09:21Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Oghenesuvwe\_Ogedegbe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oghenesuvwe_ogedegbe/32/480536_2.png) [@Oghenesuvwe\_Ogedegbe](https://meta.discourse.org/u/Oghenesuvwe_Ogedegbe)
#### Post date: [January 13, 2025, 7:09pm UTC](https://meta.discourse.org/t/intercom-instance-creation/346924/1 "2025-01-13T19:09:21Z")

</div>

Having difficulty with Intercom component. It doesn’t create separate instances for each user. Every user on the site can see the history of anyone else’s previous messages. I am using boot and logout to no effect. Would appreciate help

```plaintext
function loginUserIntercom(user_id, email) {
    Intercom('shutdown');
    Intercom('boot', {
      app_id: "####",
      user_id: "{{user.id}}",  
      email: '{{user.email}}'
    });
  }

  function logoutUserIntercom() {
    Intercom('shutdown');
    Intercom('logout');
  }

```

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [January 13, 2025, 8:16pm UTC](https://meta.discourse.org/t/intercom-instance-creation/346924/2 "2025-01-13T20:16:49Z")

</div>

Is this related to Discourse software? It seems to me you’re a bit lost. 🙂

---

<div class="post-metadata">

### Author: ![Oghenesuvwe\_Ogedegbe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oghenesuvwe_ogedegbe/32/480536_2.png) [@Oghenesuvwe\_Ogedegbe](https://meta.discourse.org/u/Oghenesuvwe_Ogedegbe)
#### Post date: [January 13, 2025, 8:20pm UTC](https://meta.discourse.org/t/intercom-instance-creation/346924/3 "2025-01-13T20:20:07Z")

</div>

Yes, this about the intercom component on my discourse site

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [January 13, 2025, 8:21pm UTC](https://meta.discourse.org/t/intercom-instance-creation/346924/4 "2025-01-13T20:21:51Z")

</div>

My bad then. I didn’t use search ([Discourse Intercom (Advanced)](https://meta.discourse.org/t/discourse-intercom-advanced/106622) for reference), sorry about that 🙂

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [January 13, 2025, 9:28pm UTC](https://meta.discourse.org/t/intercom-instance-creation/346924/5 "2025-01-13T21:28:11Z")

</div>

> [@Oghenesuvwe\_Ogedegbe](#):
>
> Yes, this about the intercom component on my discourse site

So, it’s about the #intercom-widget theme component (not the #intercom plugin)? I just want to make sure so I can add the right tag.

---

<div class="post-metadata">

### Author: ![Oghenesuvwe\_Ogedegbe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oghenesuvwe_ogedegbe/32/480536_2.png) [@Oghenesuvwe\_Ogedegbe](https://meta.discourse.org/u/Oghenesuvwe_Ogedegbe)
#### Post date: [January 13, 2025, 9:38pm UTC](https://meta.discourse.org/t/intercom-instance-creation/346924/6 "2025-01-13T21:38:09Z")

</div>

Yes, this is about the widget
