Salesforce Live Agent

Integrate your bot with Salesforce Live Agent

Embed chat support on your website — and in your apps — with Live Agent. Don’t lose customers over confusion or questions. Support your customers and prospects while they’re still on your site or in your app with real-time, live chat software.

By connecting each live chat with the complete customer profile, answers can be delivered both in context and with an eye toward the overall customer experience. Chats can be quickly routed to the right subject matter experts. And agents can provide answers faster with a sneak peek to customer chat and keyboard shortcuts to pre-written messages.

Setup

  1. Make sure you have a working setup of Live Agent within your Salesforce organization. Click here for detailed instructions on setting up Live Agent.
  2. As the administrator, navigate to the Salesforce Setup page (make sure you switch to Classic view, the Live Agent settings do not come up under the Lightning Experience view).
  3. Find the Live Agent section under Build > Customize > Live Agent.
  4. API Endpoint: Go to the Live Agent Settings page and look for the Live Agent API Endpoint text box.
608

The Live Agent API Endpoint.

  1. Organization ID: Go to the Company Settings > Company Information page and look for the Salesforce.com Organization ID field.
  2. Deployment ID: Go to the Live Agent > Deployments page, click on the deployment which you would like to use for this integration. The Deployment ID is the string of characters after the last / in the URL. For example: https://meya-dev-ed.my.salesforce.com/5721I000000PLax
  3. Button ID: Go to the Live Agent > Chat Buttons & Invitations page, click on the button which you would like to use for this integration. The Button ID is the string of characters after the last / in the URL. For example: https://meya-dev-ed.my.salesforce.com/5731I000000PL9G
  4. Click Save.
  5. Test your credentials by clicking the Test Credentials button.
491

The credentials have been tested successfully.

Settings

Silence bot once assigned to an agent

Check this box to pause the bot when the conversation is assigned to an agent. Once the conversation ends, the bot will automatically un-pause.

285

Cancel active flows when assigned to an agent

Check this box to ensure flows do not continue to run while the user is chatting with the agent.

426

Send a note when the ticket is assigned

Check this box to include a private agent-only message in the chat transcript indicating when the bot was paused or un-paused.

526

Send transcript to an agent

Check this box to pre-load the agent's chat transcript with the most recent bot and user messages. This provides useful context to the agent.

436

Transcript Length

The number of bot and user messages to pre-load the agent's chat with.

341

Bot Indicator

This character will be visible in the agent's chat transcript, thus helping differentiate between bot and user messages. In the Live Agent paradigm, only the user and the agent exist, so without this indicator, there would be no way of knowing which message was user-generated vs bot-generated.

538

What’s Next

Now that you have your integration set up, make sure you understand how your bot will interact with Live Agent.