Embedded Service Chat for Web Developer Guide
Custom Aura Components for Embedded Service
The legacy chat product is in maintenance-only mode, and we won't continue to build new features. You can continue to use it, but we no longer recommend that you implement new chat channels. Instead, you can modernize your customer communication with Messaging for In-App and Web. Messaging offers many of the chat features that you love plus asynchronous conversations that can be picked back up at any time.
Important
Use Lightning Web Components (LWC) instead of Aura components. All new Embedded Service features will only work with LWC and support for Aura components may deprecate in the future.
Important
Embedded Service web components aren’t supported on the login page of Experience sites.
Note
To create an Aura component, go to the Developer Console and click File | New | Lightning Component.
-
Customize the Pre-Chat Page UI with Aura Components
Customize the fields, layout, buttons, images, validation, or any other part of the user interface for pre-chat using a custom Aura component. -
Custom Pre-Chat Component Code Samples
You can use Aura or plain JavaScript to create your pre-chat components. -
Customize the Minimized Embedded Service UI with Aura Components
Customize the user interface for the embedded component when it’s minimized on your web page using a custom Aura component. -
Custom Minimized Component Code Samples
The following code sample contains examples of the component, controller, and helper code for a custom minimized embedded component using Aura. -
Get Settings from the Embedded Service Code Snippet
Get settings for use with your Embedded Service Aura components. You can get the Chat button ID or deployment ID assigned to your Embedded Service deployment and the agent and chatbot avatar image URLs.