Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Embedded Service entry
How-to guide

How to set up an Embedded Service Chat deployment

Setting up Embedded Service Chat takes about an hour for the basic configuration: enable the feature, create a deployment, configure channels and styling, generate the snippet, embed on your site. The work continues as you tune routing and conversation flows.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 21, 2026

Setting up Embedded Service Chat takes about an hour for the basic configuration: enable the feature, create a deployment, configure channels and styling, generate the snippet, embed on your site. The work continues as you tune routing and conversation flows.

  1. Enable Embedded Service in Setup

    Setup, then Embedded Service, then Enable Embedded Service. The feature activates the deployment objects and the Lightning components for agents.

  2. Create an Embedded Service Deployment

    Setup, then Embedded Service Deployments, then New. Pick the deployment type (Chat, Messaging, Appointments). Give it a name and assign it to a Service Cloud queue.

  3. Configure channels and styling

    In the deployment, enable the channels you want and set the visual style. Branding colors, position on page, opening behavior. Save.

  4. Set up Omni-Channel routing

    Create a Service Cloud queue for the deployment. Assign Service Cloud licensed agents. Set the routing rules: skill, priority, capacity. Test by sending a chat from your test site.

  5. Generate the embed snippet

    From the deployment detail page, copy the JavaScript snippet. The snippet is a single script tag with your deployment ID and configuration.

  6. Embed on the target site

    Paste the snippet into the HTML of every page where the chat should appear, or load it conditionally via your CMS. Most teams put it in the site''s footer or include file. Verify the widget appears in the right position with the right styling.

Key options
Chat (synchronous)remember

Real-time chat. Agent and customer connect immediately, session ends when chat closes.

Messaging (asynchronous)remember

Persistent thread that survives across sessions. Like WhatsApp or SMS in feel.

Appointment Bookingremember

Schedule a service visit through Field Service from the website.

Video Chatremember

Video session with a remote agent. Used for high-touch service.

Gotchas
  • Embedded Service requires Service Cloud and Service Cloud Voice licensing. Standard Salesforce orgs cannot use it without the upgrade.
  • The JavaScript snippet must be embedded on every page where chat should appear. Single-page apps that load content dynamically need extra configuration to keep the widget alive.
  • Pre-chat form fields must map to Salesforce fields for the data to flow. Missing mappings cause data loss when the chat ends.
  • Style conflicts between the host site''s CSS and Embedded Service''s CSS can produce ugly results. Test the widget on your actual site, not just in preview, before launching.

See the full Embedded Service entry

Embedded Service includes the definition, worked example, deep dive, related terms, and a quiz.