Salesforce Enhanced Livechat

This guide explains what you, as the customer, need to provide to enable the integration between Salesforce Enhanced Livechat and our platform.


1. Create new Channel

  1. Login to your salesforce service cloud account and then click on settings icon and then click setup.

    image-20260224-095854.png


  1. Navigate to the search bar and type Messaging Settings and then click on New Channel

    image-20260602-065837.png
  2. In the Native Channels tab select Enhanced Chat and click next.

    image-20260602-065944.png
  3. Fill the details form and click next.

    image-20260602-070055.png
  4. Select the suitable routing type for your channel and click save.

    image-20260602-070141.png

2. Create an Embedded Service Deployment

  1. Navigate to the search bar and type Embedded Service Deployments and then click on New Deployment.

image-20260602-071316.png
  1. Select Enhanced Chat and click next.

image-20260602-071404.png
  1. In the next page select Custom Client and then click next.

image-20260602-071500.png
  1. In the next page fill the form and then choose the appropriate Messaging channel that we created earlier then click save.

image-20260602-071623.png
  1. Click on the new deployment that we just created then click on the Install Code Snippet.

image-20260602-071802.png
  1. Note down the custom client code snippet data: OrganizationId, DeveloperName, Url.

    image-20260602-072004.png

3. Create new External Client App

  1. Navigate to the search bar and type External Client App Manager and then click on New External Client App

image-20260224-102146.png


  1. Fill the fields in Basic Information Section

image-20260224-102609.png
  1. Under OAuth Settings, select enable OAuth, fill the callback url, then in the OAuth Scopes select Manage user data via APIs (api) and click on the small right arrow to move it to selected scopes.

image-20260602-070611.png


  1. Next in the flow enablement select Enable Client Credentials Flow, Enable Authorization Code and Credentials Flow, Enable Device Flow.

In the security tab select Require secret for Web Server Flow, Require secret for Refresh Token Flow, Require Proof Key for Code Exchange (PKCE) extension for Supported Authorization Flows.

image-20260602-070756.png
  1. Click Create

image-20260602-070834.png
  1. Select the newly created External client app and click on settings.

image-20260602-072316.png
  1. Scroll down to OAuth Settings and click Consumer Key and Secret.

image-20260602-072515.png
  1. Verify your identity by typing the verification code sent to your email and click verify.

image-20260602-072615.png
  1. Note down the Consumer Key and Consumer Secret.

image-20260602-072755.png

4. List of Data to Handover

Here is the list of all the data to handover to the delivery team.

CM Frontend Attribute

How to Obtain

Organization Id

Step 10 — Copy OrganizationId from the Install Code Snippet

Organization Domain Url

Step 10 — Copy the Scrt URL and remove -scrt from the domain

Organization Scrt Url

Step 10 — Copy Url from the Install Code Snippet

Client Id

Step 18 — Copy the Consumer Key from the External Client App

Client Secret

Step 18 — Copy the Consumer Secret from the External Client App

Deployment Names

Step 10 — Copy DeveloperName from the Install Code Snippet (comma-separated if multiple)

Prechat Body Object Name

Salesforce Object Manager — name of the custom object used to store pre-chat form data

SessionId Object Name

Salesforce Object Manager — name of the custom object used to store session IDs