Embedding Copilot for Service in Salesforce Desktop

You can embed Copilot for Service directly into the Salesforce desktop with contextual awareness of the underlying platform. This integration helps Copilot for Service provide better responses and streamlines the workflow for your agents. Integrate Copilot for Service in Salesforce.

Thank you for reading this post, don't forget to subscribe!

Prerequisites

Before you begin, ensure you have the following:

  • A Copilot for Service instance connected to a Salesforce environment.
  • A Salesforce production environment or trial environment with access to the Salesforce Service console.

Step 1: Copy the Copilot for Service Widget URL

  1. Sign in to your Copilot for Service instance.
  2. On the sitemap, select Channels, then select Salesforce.
  3. Copy the URL starting after <iframe src=>. For example, https://copilotforservice-test.azureedge.net/widget/index.html?dynamicsUrl=https://XXXXXX.crm10.dynamics.com.
  4. Save the URL locally for later use.

Step 2: Configure the Copilot for Service Widget in Salesforce

  1. Open the Salesforce Service console and select the Setup (gear) icon in the top-right corner.
  2. In the search field, type call center, then select Call Centers from the search results.
  3. If this is your first time setting up the widget, select Continue on the introduction page.
  4. Open a text editor, copy the following XML code into it, and save it as CopilotForServiceConfig.xml.
xmlCopy code<section sortOrder="0" name="reqGeneralInfo" label="General Information">
    <item sortOrder="0" name="reqInternalName" label="Internal Name">CopilotForService</item>
    <item sortOrder="1" name="reqDisplayName" label="Display Name">Copilot For Service</item>
    <item sortOrder="2" name="reqAdapterUrl" label="CTI Adapter URL">https://TobeUpdated.ms</item>
    <item sortOrder="3" name="reqUseApi" label="Use CTI API">true</item>
    <item sortOrder="4" name="reqSoftphoneHeight" label="Softphone Height">600</item>
    <item sortOrder="5" name="reqSoftphoneWidth" label="Softphone Width">450</item>
    <item sortOrder="6" name="reqSalesforceCompatibilityMode" label="Salesforce Compatibility Mode">Classic_and_Lightning</item>
</section>
  1. Select Import, then Choose File, and navigate to and select the CopilotForServiceConfig.xml file.
  2. Select Import.
  3. Select Edit, and in the CTI Adapter URL field, paste the URL you saved in Step 1.
  4. Select Save.

Step 3: Add Salesforce Users

  1. In the Salesforce Service console, select Manage Call Center Users > Add more users.
  2. Add each Salesforce user who needs access to the Copilot for Service widget.

Step 4: Add the Softphone Utility

  1. Select Setup, then search for and select App Manager.
  2. Find the Service Console app, select the upside-down triangle on the same row, and then select Edit.
  3. Select Utility Items > Add Utility Item.
  4. Search for and select Open CTI Softphone.
  5. Enter a name for your widget, such as “Microsoft Copilot for Service.”
  6. Set the width to 450 and height to 600.
  7. Select Save.

Step 5: Enable Popups

  1. In Salesforce, go to the service console from the Apps page.
  2. Enable popups by selecting Always allow pop-ups and redirects from [URL].
  3. Select Done.
  4. Refresh your browser. The Copilot for Service add-on should now be available on the toolbar of your agent console.
Related Posts
Salesforce OEM AppExchange
Salesforce OEM AppExchange

Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more

The Salesforce Story
The Salesforce Story

In Marc Benioff's own words How did salesforce.com grow from a start up in a rented apartment into the world's Read more

Salesforce Jigsaw
Salesforce Jigsaw

Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more

Health Cloud Brings Healthcare Transformation
Health Cloud Brings Healthcare Transformation

Following swiftly after last week's successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more