Lightning Web Components for Embedded Service
Pre-Chat UI
Using Aura
Using JavaScript
Minimized Component Code Samples
Get Settings from the Embedded Service Code Snippet
Multiple Components with Lightning Out
Code Snippet Versions
You can use Aura or plain JavaScript to create your pre-chat components.
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
Custom Pre-Chat Component Sample Using Aura
The following code sample contains examples of the component, controller, and helper code for a custom pre-chat component using Aura.
Custom Pre-Chat Component Sample Using JavaScript
The following code sample contains examples of the component, controller, and helper code for a custom pre-chat component using plain JavaScript.