Skip to main content
Answered

Install Messenger in Salesforce Experience Cloud

  • 23 July 2024
  • 3 replies
  • 66 views

Im trying to install the Messenger app in Salesforce Community. I found this old article but it seems incomplete. 

 

Im wondering if I could get help with this integration. 

 

I Edit the Head Markup in the Salesforce Community with the pre-filled script.

Then in a lightning component I tried to Instantiate the Intercom instance:

import { LightningElement, api } from 'lwc';

export default class IntercomApp extends LightningElement {

connectedCallback() {
try {
window.intercomSettings = {
api_base: 'https://api-iam.intercom.io',
app_id: 'my-app-id-here'
};
} catch (error) {
console.error(error);
}
}
}

I get this warning:

frame-modern.812d2c17.js:1 sIntercom] The App ID in your code snippet has not been set. Set it to your App ID found in settings to complete installation: https://app.intercom.com/a/apps/_/settings/web

 

With this message below:
cIntercom] Launcher is disabled in settings or current page does not match display conditions
 

3 replies

Userlevel 3
Badge +5

Hi Carlos Estrada Toast, It’s Mat from the Support Engineering Team 😀

Did you put your app_id in the snippet? It looks like the error is because the value for app_id is missing in your code.

Hey @mateusz.leszkiewicz, yes I did. I just removed it in the example I provided above for security.

Userlevel 3
Badge +5

I’ve created an Intercom conversation to connect you with our Engineers who might help you with that issue.
Please continue this thread there. 

Reply