Set the Width, Height, and Base Font Size
Set a Domain
Set the Language
Set Right-to-Left Language Layout
Code Snippet Versions
Change the general parameters in your Embedded Service code snippet to improve functionality across all chat stages. Choose to resize the chat window or update the font to match branding requirements. Set the default language or change the layout for right-to-left languages. Add the domain name for chat to persist across your site’s subdomains.
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
Set the Width, Height, and Base Font Size
Change the default sizes for your chat window in the code snippet to match your websites requirements.
This parameter is included as a code comment in your generated code snippet for versions 2.0 and up. When you set the domain, visitors can navigate subdomains during a chat session without losing their chat. Make sure that each page where you want to allow chats contains the code snippet.
To customize the language for a deployment, including custom labels, set the parameter to a Salesforce supported language. This parameter is empty and must be set in your Embedded Service code snippet for chat.
Set Right-to-Left Language Layout
This parameter is included in your generated code snippet and set to English for versions 5.0 and later. To enable right-to-left layout enhancements in Chat, set the two-letter value to the supported language in your code snippet.