EmbeddedServiceConfig defines the setup node for an Embedded Service deployment. It connects an Experience Cloud site or website to a service feature and brings together authentication, activation, branding, custom UI components, flows, and feature-specific settings. It extends Metadata and inherits fullName, which identifies the metadata component. The required masterLabel is the configuration name, while the required site references the connected CustomSite.
The deployment is not the same asset as its messaging channel, branding set, or referenced flow. Also, deploymentFeature selects the service feature, while deploymentType identifies the deployment platform. Nested settings have their own activation controls; including a nested configuration does not establish that it is enabled.
Key Elements
| Element | What the Element Controls |
|---|---|
masterLabel |
Required configuration name. This is separate from the inherited component identity, fullName. |
site |
Required connected Experience Cloud site or website. References CustomSite. |
deploymentFeature |
Selects EmbeddedMessaging, FieldService, Flows, LiveAgent, or None. Determines which feature-specific settings apply. |
deploymentType |
Identifies the deployment platform. Documented platforms include Web, API, and Mobile. Mobile is documented for future use, not as operational mobile support. |
areGuestUsersAllowed |
Governs whether guests can access the embedded component without logging in. |
authMethod |
Selects CommunitiesLogin for community-based login or CustomLogin for custom authentication. |
isEnabled |
Enables the Embedded Service deployment. Does not replace nested activation settings. |
shouldHideAuthDialog |
When true, sends the customer directly to the login page during flow reauthentication instead of showing the login-again prompt. Defaults to false. |
isTermsAndConditionsEnabled, isTermsAndConditionsRequired
|
Separately control displaying terms and requiring acceptance before chat for EmbeddedMessaging and LiveAgent. Both default to false. |
branding |
Links the deployment to its branding configuration, with recognized associations to BrandingSet or EmbeddedServiceBranding. |
embeddedServiceMessagingChannel |
Configures the channel, business hours, messaging UI controls, and channel-level enablement for EmbeddedMessaging. |
embeddedServiceForms |
Contains forms and their fields. Controls form activation, display frequency, parameter mapping, field visibility, and required inputs. |
embeddedServiceFlows |
Associates flows by developer name, assigns their functional roles through flowType, and controls whether authentication is required. |
embeddedServiceCustomComponents |
Names custom components and distinguishes their bundle technology from the UI role they replace. |
embeddedServiceCustomizations |
Contains named customizations and their JavaScript static-resource references. Each customization name must be unique within this configuration. |
Behavior and Constraints
Access and activation
areGuestUsersAllowed and authMethod answer different access questions: whether guests can enter without logging in, and which login method the deployment uses. They are not substitutes for each other. Likewise, shouldHideAuthDialog changes the reauthentication experience; it does not remove the login requirement.
Activation exists at several scopes:
-
isEnabledapplies to the Embedded Service deployment. -
embeddedServiceMessagingChannel.isEnabledapplies to its messaging configuration. -
embeddedServiceAppointmentSettings.enabledapplies to appointment settings and defaults to false. -
embeddedServiceFlowConfig.enabledapplies to the embedded flow configuration. -
embeddedServiceForms.isActiveapplies to an individual form and defaults to false.
For EmbeddedMessaging and LiveAgent, displaying terms and requiring their acceptance are separate decisions. isTermsAndConditionsEnabled controls display, while isTermsAndConditionsRequired controls whether the customer must accept before starting a chat.
Messaging channels and forms
When deploymentFeature is EmbeddedMessaging, embeddedServiceMessagingChannel.messagingChannel connects the deployment to a MessagingChannel. The nested businessHours can associate a Business Hours record with the deployment.
The messaging configuration requires isEnabled, messagingChannel, and the UI booleans shouldShowDeliveryReceipts, shouldShowReadReceipts, shouldShowTypingIndicators, shouldShowEmojiSelection, and shouldStartNewLineOnEnter. Those UI settings govern receipts, typing indicators, emoji selection, and Enter-key behavior; they do not enable the channel.
Within embeddedServiceForms, formType distinguishes PreChat and Offline. For pre-chat forms, the required displayContext selects whether the form appears every Session or every Conversation. None is exposed but documented as an option not to select.
Each nested embeddedServiceFormFields entry must keep its parameter mapping, data type, visibility, and ordering consistent:
-
formFieldidentifies a standard or custom messaging channel parameter. The requiredmessagingChannelParameterTypemust beStandardorCustomand match that parameter. The documented standard parameters areFirstName,LastName,Email, andSubject. - The required
formFieldTypeidentifies the submitted data type. Exposed values areText,Email,Phone,Number,Checkbox, andChoiceList. -
isHiddencan be true only for a custom messaging channel parameter withmessagingChannelParameterTypeset toCustom. - A hidden field must have
displayOrderset to-1andisRequiredset to false. - A visible field must have
displayOrdergreater than or equal to0. This controls display order, not processing order. -
choiceListcan be associated only with a custom messaging channel parameter.
embeddedServiceCustomLabels can appear at deployment level and inside an individual form field. Each entry uses feature and labelKey to identify the feature and UI label being customized, with customLabel supplying the customized label. The nesting determines the scope of the override.
Field Service layouts and flows
embeddedServiceAppointmentSettings and embeddedServiceLayouts apply to FieldService deployments. Appointment settings separately control availability through enabled and visibility through shouldShowExistingAppointment and shouldShowNewAppointment. All three default to false.
Within embeddedServiceLayouts, layout references a FlexiPage, and layoutType is FS_AppointmentHome. Nested embeddedServiceLayoutRules.appointmentStatus values identify the service appointment statuses for which the layout is valid. These are applicability rules, not an execution sequence.
Within embeddedServiceFlows, flow is the developer name of a Flow, and flowType identifies its functional role. isAuthenticationRequired must be true for FS_CancelAppointment, FS_ModifyAppointment, FS_NewAppointment, and LA_Survey. The unauthenticated-flow case has a naming discrepancy described under Documentation Inconsistencies.
Components and resource-based customizations
Within embeddedServiceCustomComponents, customComponent references a LightningBundle or LightningWebComponent asset. componentBundleType distinguishes AuraDefinitionBundle from LightningComponentBundle. This bundle technology is separate from customComponentType, which identifies the UI role being replaced.
The LA_ChatHeader, LA_Minimized, LA_PlainTextChatMessage, and LA_Prechat roles concern Chat components. MIAW_Prechat, MIAW_Header, and MIAW_TextMessage concern Messaging for In-App and Web.
Each embeddedServiceCustomizations entry requires a customizationName and embeddedServiceResources. The name must be unique within the containing EmbeddedServiceConfig, not globally across deployments. It can contain only alphanumeric characters and underscores, must begin with a letter, cannot contain spaces or consecutive underscores, and cannot end with an underscore.
Within each resource entry, the required resource refers to the StaticResource containing the customization's JavaScript. It is documented as a static resource ID, not a developer name. The required resourceType is ChatInvitation for Chat deployments or SettingsFile for Channel Menu settings files. These resource-based customizations are separate from the invitation settings nested under embeddedServiceMessagingChannel.
Deployment and Retrieval
EmbeddedServiceConfig components use the .EmbeddedServiceConfig suffix and are stored in the EmbeddedServiceConfig folder. The type does not support the * wildcard in package.xml; manifest requests must identify components explicitly by their component names.
Branding dependencies depend on the deployment. branding has recognized associations to BrandingSet and EmbeddedServiceBranding; these are alternative dependency targets, not a requirement to include both. For Messaging for In-App and Web, an empty EmbeddedServiceBranding retrieval is not sufficient evidence that branding is absent. A reported migration used EmbeddedServiceConfig.branding and the associated BrandingSet instead.
Metadata API migration and package lifecycle behavior must be considered separately. A community report warns about uninstall problems when Embedded Service Messaging deployments are included in managed or unlocked packages and recommends Metadata API migration instead.
That reported migration contained DigitalExperienceConfig, DigitalExperienceBundle, EmbeddedServiceConfig, Network, CustomSite, system-generated StaticResource assets, and BrandingSet. This is a configuration-specific dependency set, not a universal minimum manifest. Actual references and the destination org's existing configuration determine the migration scope.
The same report associates deployment problems with Messaging channel developer names longer than 21 characters and recommends short EmbeddedServiceConfig names. The reported threshold concerns the channel developer name; it does not establish a 21-character limit on EmbeddedServiceConfig.fullName.
Relationships
The deployment references its site and may reference branding, a messaging channel, flows, layouts, custom components, and JavaScript resources. Other Embedded Service metadata can also point back to this configuration. Those incoming references are separate from its nested settings and matter when assessing replacement or deletion impact.
References
-
BrandingSet:branding -
EmbeddedServiceBranding:branding -
LightningBundle:customComponent -
LightningWebComponent:customComponent -
Flow:flow -
FlexiPage:layout -
MessagingChannel:messagingChannel -
StaticResource:resource -
CustomSite:site
Referenced By
-
EmbeddedServiceBranding:embeddedServiceConfig -
EmbeddedServiceFieldService:embeddedServiceConfig -
EmbeddedServiceLiveAgent:embeddedServiceConfig -
EmbeddedServiceMenuSettings:channel
Documentation Inconsistencies
-
Choice-list capitalization differs. The
formFieldTypefield table spells the choice-list valueChoicelist, while the exposed enumeration and XML example useChoiceList. The exposed enum spelling isChoiceList; the two spellings should not be treated as interchangeable. -
The unauthenticated flow role has conflicting names. The flow documentation names
FS_Flowand saysisAuthenticationRequiredcannot be true for it. The exposedflowTypeenumeration instead containsFL_Flow. This discrepancy does not establish that the names are aliases or that the documented authentication exception automatically applies toFL_Flow.
The Mobile value also needs careful interpretation: it is documented for future use. Its presence in the enumeration or sample XML does not establish operational mobile support.
Reported Issues
-
Messaging branding may be missed when retrieving only
EmbeddedServiceBranding. A September 2024 report identified that type with Salesforce Chat and reported migrating Messaging for In-App and Web branding throughEmbeddedServiceConfigand its referencedBrandingSet. This changes the diagnosis when retrieval is empty or colors are missing after migration. Branding retrieval discussion. -
Package installation can fail on a related site dependency. In a 2024 report about an org-dependent package containing a Messaging chatbot deployment, installation failed with
In field: PicassoSite - no SiteDotCom named NAME_OF_SITE found, even though the package includedCustomSite,Network, andStaticResourcefiles. This is a reported configuration-specific failure, not proof that those three types cover every site's dependencies. Deployment and packaging discussion. - Including a Messaging deployment in a package may cause uninstall problems. An answer updated in December 2025 warns about managed and unlocked package uninstall behavior and recommends Metadata API migration instead. It describes a migration set containing the experience configuration and bundle, deployment configuration, network, site, system-generated static resources, and branding set. The set is not a universal minimum manifest. Package lifecycle report.
-
Long Messaging channel developer names may cause deployment problems. The same answer, updated in December 2025, reports problems above 21 characters and recommends short deployment configuration names. The reported threshold applies to the channel developer name, not a documented limit on
EmbeddedServiceConfig.fullName. Channel naming report.
Common Questions
Can I retrieve all EmbeddedServiceConfig components with a wildcard?
No. EmbeddedServiceConfig does not support * in package.xml. List each component explicitly by its component name.
Why does EmbeddedServiceBranding retrieval return nothing for my messaging deployment?
An empty retrieval does not prove that branding is absent. A Messaging for In-App and Web migration report used EmbeddedServiceConfig.branding and the referenced BrandingSet rather than EmbeddedServiceBranding.
Does isEnabled activate the pre-chat form and all nested settings?
No. Deployment enablement, messaging enablement, appointment settings, embedded flow configuration, and individual forms have separate activation controls. A form uses isActive, which defaults to false.
How do I configure a hidden pre-chat field?
Map it to a custom messaging channel parameter, set messagingChannelParameterType to Custom, set isHidden to true, set displayOrder to -1, and set isRequired to false. Standard parameters cannot be hidden through this setting.
Should I put an Embedded Service Messaging deployment in an unlocked package?
A community report warns of uninstall problems with both unlocked and managed packages and recommends Metadata API migration instead. That is a package lifecycle warning, not a statement that Metadata API deployment is unsupported.