Integrate Salesforce Assist

Content on this page is for a product or feature in controlled release (CR). If you are not part of the CR group and would like more information, contact your Account Representative.

Prerequisites

Before you can set up Salesforce Assist to work with CXone Mpower, you must have: 

If you use the sentiment next best action feature, these additional requirements apply:

  • You must work with your Salesforce Account Representative to enable and configure sentiment next-best action in your Salesforce platform.
  • You must have a Google Cloud account with Google Contact Center AI.
  • Your agents must use Agent for Service Cloud Voice.

Create a Script

Required permissions: Studio Script View, Create/Edit

Use the following samples as a foundation to create the scripts to integrate your agent assist application into CXone Mpower. Inbound and outbound interactions require separate scripts. The following image shows the essential actions for an inbound script:

This image shows the essential actions for an outbound script: 

To complete the configuration of your script: 

  • Add initialization snippets to the script using Snippet actions. You can do this to customize your agent assist application.
  • Reconfigure the action connectors to ensure proper contact flow and correct any potential errors.
  • Complete any additional scripting and test the script.

Generate Public and Private Key for Salesforce

You need a public key to use with your Salesforce Assist integration. When you configure the app in Agent Assist Hub, you need a private key.

Generate Public Key

  1. Log in to Salesforce.

  2. Go to Setup Image of gear icon with lightning bolt inside. > Certificate and Key Management.

  3. Click Create Self-Signed Certificate.

  4. In the Label field, enter NICE_Cxone_Service_Cloud_Voice. That value automatically appears in the Unique Name field.

  5. Select the Exportable Private Key box.

  6. Set the Key Size to 2048.

  7. Click Save.

  8. Open the NICE_Cxone_Service_Cloud_Voice certificate.

  9. Click Download Certificate. A CRT file downloads to your computer. Open it in a text editor. The public key is displayed between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.

    If the public key begins and ends with other values, such as BEGIN ENCRYPTED CERTIFICATE or BEGIN CERTIFICATE REGISTER, it will not work for integration. If you encounter this problem, contact Salesforce for the public key in the correct format: between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.

Generate Private Key

  1. Download and install KeyStore Explorer Box with arrow indicating navigation to external site..

  2. In Salesforce, go to Setup Image of gear icon with lightning bolt inside. > Certificate and Key Management.

  3. Click Export to Keystore.

  4. Create a Keystore Password. Later, you will use this password to access the private key.

  5. Click Export. A JKS file downloads to your computer. Open it with KeyStore Explorer.

  6. In KeyStore Explorer, enter the keystore password you created in step 4. Click OK.

  7. Right click nice_cxone_service_cloud_voice and select ExportExport Private Key.

  8. Select PKCS #8. This is the correct public key cryptography standard.

  9. Deselect the Encrypt box and select the PEM box.

  10. Click Export. A PEM file downloads to your computer. Open it in a text editor. The private key is displayed between -----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY-----.

Set Up the Integration in Salesforce

  1. In Salesforce, go to Setup Image of gear icon with lightning bolt inside.Partner Telephony Contact Centers.
  2. Select the NICE CXone for Service Cloud Voice contact center.
  3. Click Edit.
  4. Verify that the Display Name is NICE CXone for Service Cloud Voice.
  5. Delete all the contents of the Public Key field. Paste the public key you generated. Include -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.
  6. Click Save.

Add an App to Agent Assist Hub

Required permissions: Automation & AI > Launch Automation & AI

You need to add a profile app for Salesforce Assist to Agent Assist Hub. This establishes a connection between CXone Mpower and your agent assist provider.

  1. Click the app selector icon of app selector and select Other > Automation & AI and then click Agent Assist Hub.
  2. Click Add Agent Assist App.

  3. Enter an Agent Assist App Name and click Salesforce Assist in the list of agent assist providers.

  4. Click Next.

  5. Complete the Configuration page using the information in the following drop-down.

  6. Click Create.

  7. Click Close.

Create a Transcription Profile

Required permissions: Automation & AI > Launch Automation & AI

A transcription profile defines the transcription options you want to use, including the language to transcribe. Complete these steps from the Configuration page for Salesforce Assist in Agent Assist Hub.

  1. On the Create New Agent Assistant page in Agent Assist Hub, click Add or Edit Continuous Stream Transcription Profile.
  2. Do one of the following:
    • Click the name of an existing profile to modify it and skip to step 6.
    • Click Add Transcription Profile and continue with step 3.
  3. Enter a Transcription Profile Name. To differentiate this profile from your other profiles, use a name that highlights what makes this profile different. For example, you could name the profile for its intended use, the provider, or the language of the profile. If you use more than one transcription provider, make sure the profile name includes the provider.
  4. Under Select Provider, click the transcription provider you want to use. You can choose from CXone Mpower Transcription, CXone Mpower Transcription for Copilot, Google Transcription, or Microsoft Transcription. Some of these options must be enabled in your CXone Mpower system by your Account Representative.
  5. Click Next.
  6. On the Configuration page, complete the fields to define the transcription options for this profile.

  7. Click Add.

Assign the Salesforce Assist App to an Action

Required permissions: Studio Script View, Create/Edit

If you haven't done so already, you need to assign the Salesforce AssistCognigy Agent Assist app to the Agent Assist actionClosed Performs a process within a Studio script, such as collecting customer data or playing music. in your Studio script.

  1. In Studio, open the script you want to use.
  2. If you haven't done so already, add the Agent Assist action to the correct location in your script.

  3. If you're using Desktop Studio, double-click the Agent Assist action to open Agent Assist Hub. If you're using Studio, click open editor on the Agent Assist action.

  4. In the left column, click the checkmark A light gray checkmark inside a light gray circle. next to the agent assist app or profile you want to assign to this script.

    An alternative to using the checkmark is to create a variable in your Studio script. Use the variable to pass the app or profile name into the Assign Launch Config Name property of the AGENT ASSIST action.

  5. Click Close.

Additional Configuration for Sentiment Next Best Actions

If you're using sentiment next best actions with Salesforce Assist, you must complete additional configuration in Salesforce. Your Salesforce Account Representative can help you complete the setup in the Salesforce platform.

You don't need to complete additional setup steps to have conversation transcripts displayed for the agent in Salesforce.