Skip to main content
Answered

Install Messenger in Salesforce Experience Cloud


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 [Intercom] 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:
[Intercom] Launcher is disabled in settings or current page does not match display conditions
 

Best answer by mateusz.leszkiewicz

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.

View original

mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+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.


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings