You are here:
Add the Messaging Component to Enhanced Chat
The Commerce Messaging Components (CMC) transforms the JSON output in the chat window to facilitate the interactions between shoppers and the agent. Upload the necessary component to your Salesforce org to add the messaging bubble component.
Disable adaptive responses so that the agent uses this messaging component. See Disable Adapative Responses for the Messaging Component.
- In GitHub, clone the commerce-on-lightning-components repository to a local directory on your system.
- Open a command window, go to the local directory, and switch to the miaw-messaging-release branch.
- Deploy the messaging components into your Salesforce org. See Deploy Lightning Web Components.
-
Configure Enhanced Chat to use the CMC.
-
In your Salesforce org, at the top of the page, click
and select Setup.
- In the Quick Find box, find and select Embedded Service Deployments.
- From the list of deployments, select the one that you want to modify.
- In the Custom UI Components tile, click Add Custom Components.
- For Header, select commerceHeader.
-
For Text Message Bubble, select
dynamicContentRenderer.
-
In your Salesforce org, at the top of the page, click
- Save your changes.
- Publish the deployment.

