Loading
Prepare for Email to Become the Default Login ExperienceRead More
Salesforce Personalization
Create an Enhanced Chat Deployment

Create an Enhanced Chat Deployment

To integrate agent conversations into your website, create a web deployment. For adaptive website implementations, create a custom web chat deployment to use the Enhanced Chat REST API for agent conversations outside of the standard Salesforce chat widget.

Required Editions

User Permissions Needed
To set up omni-channel flows, to create or change queues, AND to create Enhanced Chat deployment Customize Application
  1. Set up routing and queues to channel customer inquiries.
    1. Create a new routing configuration.
    2. Create a queue, and include the routing configuration created in the previous step.
  2. Configure an omni-channel flow.
    1. Create an omni-channel flow.
    2. Drag the Route Work action onto the flow canvas.
    3. Add a label to the action.
    4. For Set Input Values | Record ID, select the recordId variable that you created while setting up the flow in Step 2a.
    5. In the Route To field, select Agentforce Service Agent, and then select your agent to route the work item to.
    6. In the Fallback Queue field, select the queue that you configured in Step 1b.
    7. Activate the flow.
  3. Create a messaging channel.
    1. Create a new messaging channel.
    2. Enter the domain of the website where you want to deploy the agent.
    3. Select the omni-channel flow as well as the fallback queue you have created earlier.
    4. Copy and save the code snippet on the Configuration page to add the messaging deployment to your website.
  4. Create a custom client deployment to deliver a highly customized UI with the Enhanced Chat REST API.
  5. Enable Enhanced Chat REST API.
  6. Access the code snippet you saved in Step 3d, and copy the values.
    1. The 18-digit Organization ID (orgId).
    2. Enhanced Chat REST API base URL for your instance, such as.

      https://myinstance.my.pc-rnd.salesforce-scrt.com

    3. The developer name assigned during deployment creation.
  7. Save the details in this format and keep them for when you configure the website connector.
    {
      "OrganizationId": "00D000000000000EAA",
      "DeveloperName": "agent_custom_client",
      "Url": "https://myinstance.my.pc-rnd.salesforce-scrt.com"
    }
 
Loading
Salesforce Help | Article