Set up embedded experience for Dynamics 365 Contact Center
The embedded conversation widget is a feature of Dynamics 365 Contact Center that allows agents to chat with customers directly from any non-Microsoft customer relationship management (CRM) system. You can embed the widget into any web page or application that supports HTML and JavaScript, and it provides a seamless and consistent chat experience across different platforms.
Prerequisites
The prerequisites mentioned in the system requirements are set up. More information: Prerequisites
Omnichannel capabilities are enabled in your org. More information: Provision channels
The provisioning user has System Administrator permissions in Salesforce.
You have the embedded widget URL. To find the embedded widget URL, go to the welcome page of the Dynamics 365 Contact Center admin center. Select Open under Your default contact center and then navigate to the Conversation widget tab. The URL is listed under Integration into third-party systems.
Set up the call center in Salesforce
Download the call center definition file from the following location:
https://github.com/microsoft/dynamics-365-contact-center/blob/main/configuration/SFCallCenter/Dynamics365CallCenter.xml
. You must sign in to GitHub to access the file.Open the file, replace the CTI Adapter URL with the embedded widget URL, and then save your changes.
Sign in to Salesforce.
Navigate to Setup by selecting the gear icon in the upper-right corner.
In the Quick Find box, search for Call Center.
Select Continue if you are setting up the feature for the first time.
Select Import and select the call center definition file.
Go to Manage Call Center Users > Add more users, select the user record that you are currently signed in with, and then select Save.
Set up a softphone in Salesforce
To create a softphone layout:
- In the Quick Find box, search for Softphone Layouts.
- Create a new softphone layout or edit an existing one.
- Verify that Is Default Layout is selected and then select Save.
To set up the softphone utility for your application, navigate to App Manager in setup and edit the Service Console application.
Go to Utility Items and select Open CTI Softphone to add the softphone utility.
Name your softphone appropriately (for example, "MSFT Omnichannel"), set the width to 400 and height to 600, and then select Save.
Navigate to Service Console from the Apps page.
Refresh your browser. The embedded widget appears in your application.
To connect Copilot to the CRM system, select the required sign-in URI and v58.0 as the Salesforce API version to set up the non-Microsoft CRM connection.