How to Setup Live Agent in Salesforce?

How to Setup Live Agent in Salesforce?

Sharing is caring!

Whenever a business looks for a software product, it is very important for it to be sure about the exact purpose for which it has to use it. No single platform or software can provide perfect out-of-the-box functionality. Since each company has different requirements, it requires software which could be personalized as per its specific needs and wants.

What is a Salesforce Live Agent?

Salesforce Live Agent is a native tool of Salesforce, enabling businesses for real-time communication with their website users. Each one of us might have come across chat buttons while surfing the websites of different companies. This usually happens when the user is trying to contact the support team, avoiding the delay in the conventional process.

chatbot technology

Live Chat offers real-time interaction with a real person, exactly what the customers want from a support team.

Live Agent is very useful for companies that want to get maximized returns and effectiveness from a limited support team. It empowers businesses, easing out multiple client handling. Each service agent/user can handle numerous and simultaneous customer interactions from a single screen, unlike the traditional calling method that handles just a single customer at a time. It can also divert some customer traffic to alternative channels, thereby effectively alleviating pressure from phone support teams.

Let us have a close look at the features offered by Live Agent and about Salesforce Live Agent Setup.

Salesforce Live Agent Features

  • Real-Time Live Chat Support
  • Snap-ins
  • Personalized Messages
  • Customer Profile
  • Multilingual Support
  • Customer Chat Sneak Peak
  • Chat Routing
  • Private Messages
  • Real-Time Agent Coaching
  • Pre-Written Messages
  • Agent Performance Metrics
  • Instant Message Sessions Metrics
  • Agent Queue Monitoring

Favorite Features

Sneak peek – We all have come across one or another Chat software where we can see what the other user is typing before the message is sent. Live Agent provides the same feature enabling agents to start reacting to comments and be prepared with a response before the message has actually been sent by the client. Think of a situation where the agent is dealing with an angry customer. Nothing worse could happen than keeping him waiting for a reply. Sneak Peek limits this waiting time for a site visitor, ensuring faster response as per his or her need.

Whisper messages – One of the favorite features that come with Live Agent is the Whisper messages. It allows communication between a supervisor and an agent, who is already engaged in a chat, refraining customers from viewing the exchange. Supervisor, in this way, can supervise and direct the agent to a required and apt knowledge source, or encourage efforts. This feature is also used as a means of quality control, enabling Supervisors to review chats.

Salesforce message bot

Auto-greeting – Majorly, customer service teams across the globe have a defined verbatim or way, used by them to begin customer interactions. Using Auto-greeting, it can be ensured that all the agents adhere to the initial verbatim while interacting, effectively and efficiently. This feature guarantees that all Live Chat exchanges begin exactly with the same message, without any spelling mistakes and deviations. To add minor customizations such as agent name, Mail Merge can be used within the Auto-greeting.

How to Setup Live Agent in Salesforce?

Creating a Basic Live Agent Implementation into Salesforce is a sequential process involving 6 easy steps mentioned below:

  1. Enabling Live Agent
  2. Creating Live Agent Users
  3. Creating and Assigning Live Agent Skills
  4. Creating Live Agent Configurations
  5. Creating Live Agent Deployments
  6. Creating Chat Buttons

Step 1 – Enabling Live Agent
User must have Customize Application permission in order to enable Live agent

  1. From Setup Classic in Salesforce, in the Quick Find box, search and select Live Agent Settings.
  2. Select Enable Live Agent.
  3. Click Save

Below objects will be auto-created in Org, once the Live Agent is enabled

  1. Live Chat Visitors
  2. Live Chat Transcripts
  3. Live Chat Transcript Events
  4. Live Agent Sessions
  5. Live Agent Supervisor
  6. Live Agent
  7. Quick Text

Step 2 – Creating Live Agent Users :

  1. From Setup in Salesforce Classic, in the Quick Find box search and select Users.
  2. Click on Edit, next to a user’s name.
  3. Select Live Agent User. Click Save.

Step 3 – Creating And Assigning Live Agent Skills :

  1. From Setup, in the Quick Find box search and select Skills.
  2. Click New.
  3. Enter a skill name for the skill.
  4. In the Assign Users area, select the desired users for association with the skill.
  5. In the Assign Profiles area, select the desired profiles for association with the skill.
  6. Click Save.

NOTE: By enabling the “Assign Live Agent Skills to Users”, supervisors can be enabled to assign skills, permission on their profiles.


Step 4 – Creating Live Agent Configuration :

  1. In Salesforce Classic from Setup, in the Quick Find box search and select Live Agent Configurations.
  2. Click New.
  3. Choose the settings for your Live Agent configuration.
  4. Click Save.

Step 5 – Creating Live Agent Deployments :

  1. From Setup in Salesforce Classic, in the Quick Find box, search and select Deployments.
  2. Click New.
  3. Choose the settings for deployment.
  4. Click Save. The deployment code is generated by Salesforce.
  5. Copy and paste the deployment code on each Web page where Live Agent needs to be deployed.

Step 6 – Creating the Chat Button :

  1. From Setup in Salesforce Classic, in the Quick Find box search and select Chat Buttons & Invitations.
  2. Click New.
  3. From the Type field, select Chat Button.
  4. Choose the rest of the settings for the chat button.
  5. Click Save.
  6. Copy and paste button code on each Web page where Live Agent is deployed.

Note: It is to be made sure that the code is pasted only in the area the button should appear on the page.











doInit : function(component, event, helper) {' doInit child start');

var testEventJS = component.getEvent('CmpEvent');;' doInit child end');


   handleRegisteredComponentEvent : function(component, event, helper) {

var message = event.getParam("TestString");

               // Setting the attribute of event using setParams()

               alert('Alert from ChildCmp');









doInit : function(component, event, helper) {'InSide doInit ComonentEventRoot');


   handleRegisteredComponentEvent : function(component, event, helper) {

var message = event.getParam("TestString");

               alert('Alert from ParentCmp1');









doInit : function(component, event, helper) {'InSide doInit');


   handleRegisteredComponentEvent : function(component, event, helper) {

var message = event.getParam("TestString");

               alert('Event handle form GranParent');






Salesforce Live Agent is a very useful product in the Salesforce Service Cloud module. It helps businesses maintain touch with currently online customers and provide real-time response to inquiries.

Live Agent offers various features to qualitatively enhance real-time customer support. This online tool facilitates the agents or chats’ representatives conveniently to be on standby 24/7 to empower immediate connection and respond with real-time interaction.

In a nutshell, Salesforce Live Agent is very useful for organizations and their business in multiple aspects including cutting down costs for customer support, automation of some manual processes, or offering extra customer support channels to stand out from rivals.


Nitish Bharadwaj

Salesforce Principal Consultant | Chief Information Officer
An experienced professional with 5+ years of experience in consulting on and delivering Salesforce projects for mid size, large and very large customers.

Hire the best Salesforce Implementation Partner. Choose certified Salesforce Implementation Experts from Cloud Analogy now.

This Post Has 2 Comments

  1. Simeona

    That’s wonderful. many things to learn. thanks for sharing.

  2. Mirdamet

    Very helpful words. Thank you greatly for sharing your wisdom with me.

Leave a Reply

× How can I help you?