Wondering how to set up web chat in Salesforce? You’re in the right place! Web chat in Salesforce allows you quick interactions to address simple questions and issues. Also, it is perfect for agents to handle multiple chats at once rather than one call at a time. And it helps improve ticket resolution speed and keeps call wait times short.

Today, in this solution, we will tell you how you can set up web chat in Salesforce. So, let’s dive in!

Benefits of Implementing Web Chat

  • Quick interactions to address and resolve issues.
  • Agents can handle multiple chats at a time rather than one call at a time.
  • Improves ticket resolution speed.
  • Improves customer experience by delivering seamless services across channels.
  • Achieve more robust automation like Salesforce Chat Bots (Einstein Bots).

Set Up Web Chat in Salesforce

Step 1: Log in to your organization, and if you’re in Salesforce Classic, switch to Lightning Experience.

Step 2: Click the Setup gear icon and select Service Setup.

1 11499cc278

Step 3: Under Recommended Setup, click View All.

step3

Step 4: Enter Chat in the search box and select Chat with Customers.


Step 5: Read the prompt to learn about what this flow sets up, then click Start.

step5

Step 6: Enter the queue name Chats and agent group name Chat Agents. Then select yourself as a member.

step6

Step 7: Click Next.


Step 8: If you see the Prioritize Chats screen, enter the routing configuration name Chats and give it a priority of 1. (That means it’s the most important.) If you don’t see the Prioritize Chats screen, then you can skip to step 10.

step8

Step 9: Click Next.

 

Step 10: Leave the work item size and agent capacity at 5 and 20, respectively, then click Next.

Step 11: In the website URL field, enter https://*. Followed by the domain suffix of your site. For example, if your site URL is https://mycompany.my.site.com, enter https://*.site.com. If your site URL is https://mycompanyportal.force.com, enter https://*.force.com.

 

Step 12: Create or select a Salesforce site. If you’re creating a site, ensure it’s unique (suggested way to ensure it’s unique, type your initials + today’s date MM/DD/YY).

Step 13: Check the box to indicate that you’ve read and accepted the terms of use.

step13

Step 14: Click Next.


Step 15: Select Service for your chat type.

step15

Step 16: Click Next.


Step 17: Click Next to skip setting up offline support. We’ll get to this in a later unit.

step17

Step 18: Click Next to skip the Grab your code snippet screen.


Step 19: Review what you just set up on the final screen. Everything is enabled in the out-of-the-box console app in your org.

step19

Step 20: Click Done.

Create a Test Website for Web Chat

Step 1: From Service Setup, enter Embedded Service Deployments in the Quick Find box and select Embedded Service Deployments.

Step 2: Click the down arrow next to Chat Agents and select View.

Step 3: Click Get Code in the Embedded Service Code Snippets section.

Step 4: In the Chat Code Snippet section, click Copy to Clipboard to copy the provided code snippet. Paste it somewhere safe. You need it shortly.

Step 5: Click Done.

Step 6: Enter Visualforce in the Quick Find box, then select Visualforce Pages.

Step 7: Click New.

Step 8: Enter the Label: Web Chat and the Name: Web Chat, with the Description: A test website for using webchat.

Step 9: Replace the code on the page with the following code

Step10: Click in Line 6 after the words <!–Embedded Service Snippet–> and press enter to add a blank line before </apex:page>.

step10

Step 11: Paste your Embedded Service Code Snippet that you copied earlier to the blank line (between Line 6 and Line 8).|

Step 12: Click Save. And Live web chat is ready to go.

Conclusion

And there you have it! Just the right solution that allows you to set up web chat in Salesforce. Wasn’t it easy? We hope that you liked this solution and it was helpful for you. If you try it out, then do share your feedback with us. Also, if you need further assistance in implementing this or any other solution, then get in touch. We will be back soon. Till then, happy learning! 🙂

Related Articles
Step-by-Step Guide to Enhance Your LWC Development Workflow with the Logger API

Are you looking to streamline your LWC development workflow but confused about how to do it? Then you are in the right place. The Salesforce Logger API is a powerful tool that helps you monitor, debug, and improve code quality in real time.  This step-by-step guide walks you through how to set it up and […]

Read More
Enhancing Your Salesforce Experience with a Custom Activity Component

In today’s fast-paced business landscape, productivity hinges on streamlined workflows and intuitive interfaces. While Salesforce offers robust activity tracking capabilities, sometimes the standard components fall short of specific organizational needs.  That’s where a Custom Activity Component comes in—designed to tailor your activity management experience, boost user efficiency, and provide deeper insights into customer interactions. In […]

Read More
Step-by-Step Guide to Integrating Salesforce Doc-Gen with eSigning Tools

In today’s fast-paced digital landscape, streamlining document workflows is no longer a luxury—it’s a necessity.  Integrating a document generation app, like Docs Made Easy, with an eSigning tool, helps businesses automate the entire document lifecycle—from creation to signature—saving time, reducing errors, and boosting productivity. In this guide, we’ll walk you through the key steps, tools, […]

Read More
How to Build a Real Time Chat Application Using LWC and Models API

The Models API plays a significant role in providing access to and facilitating interaction with large language models (LLMs) from various Salesforce partners such as Anthropic, Google, and OpenAI. It enables applications to leverage these models for various tasks, including text generation and other AI-powered capabilities. As a user, you can configure any Salesforce-enabled model […]

Read More
How to Integrate Salesforce Data Cloud with Amazon Redshift

Companies can finally connect Amazon Redshift to Salesforce Data Cloud without using the ordinary username & password authentication systems ever since its collaboration with AWS has happened. Business owners no longer have to be concerned about managing static credentials or breaching data security. By leveraging Salesforce IDP, companies can easily access their data lakehouse in […]

Read More
Trigger Prompt Templates Using Flow, Apex, or REST API

A prompt template is a pre-designed structure in Salesforce, specially designed to create personalized prompts by filling the substitute with particular details of customers, products, and more. This approach strengthens the creation of prompts and lets teams generate data-driven content. Every time a prompt template is used, it automatically merges the data to create a […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818