Loading...

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.

Step 3: Under Recommended Setup, click View All.

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.

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

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.

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.

Step 14: Click Next.

Step 15: Select Service for your chat type.

Step 16: Click Next.

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

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.

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>.

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

Sticky notes aren’t just for your desk anymore! In this tutorial, we’ll create a Lightning Web Component (LWC) in Salesforce that allows you to pin notes on your app page or record page. With a clean, interactive UI, these digital sticky notes ensure you never forget important tasks or details. What Will You Learn? By […]

Read More
How to Create Dynamic, Animated Charts in Salesforce LWC using Chart.js

Bring Salesforce data to life with dynamic charts inside Lightning pages! While Salesforce dashboards are powerful, sometimes business users want visual insights without leaving their current page. That’s where Chart.js with Lightning Web Components (LWC) becomes a game-changer. In this step-by-step guide, you’ll learn how to: Upload Chart.js as a static resource in Salesforce. Build […]

Read More
How to Encrypt and Decrypt Data in Salesforce Using Apex Crypto Class

Data security is more important than ever. Whether you’re storing customer information, sensitive business data, or private communication, ensuring that your data stays safe is critical. Salesforce provides built-in tools to help with this, and one of the most powerful yet easy-to-use approaches is encryption and decryption using the Apex Crypto class. In this blog, […]

Read More
Benefits & Step-by-Step Setup Guide for Salesforce Code Analyzer

When building on the Salesforce platform, code quality and security are non-negotiable, especially before submitting your app for a Salesforce Security Review. Catching bugs and vulnerabilities early not only saves time but also ensures compliance with Salesforce’s best practices. That’s where the Salesforce Code Analyzer comes in. This open-source tool scans your Apex classes, triggers, […]

Read More
A Step-by-Step Guide to Integrate Zoho CRM with Salesforce (Without Coding)

Managing data across multiple CRMs can be a real challenge for businesses that want a single source of truth. If your teams use Zoho CRM but want to move or sync all records seamlessly into Salesforce, you don’t need to write a single line of code. Thanks to MultiSync Made Easy, the integration process is […]

Read More
How to Integrate Salesforce with Copilot

Integrating Salesforce with Copilot is becoming an essential step for organizations aiming to streamline workflows, automate client data management, and unlock the power of AI-driven CRM. By connecting these two platforms, businesses can centralize customer information, reduce manual tasks, and accelerate growth. This guide walks you through the Salesforce–Copilot integration process with clear steps, Apex […]

Read More