---
schema_version: "1"
id: d39c23c2b2c5471b35d2b78608a5053876970283a8cde03feff0a19a2b147db8
title: EmbeddedServiceConfig
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_embeddedserviceconfig.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_embeddedserviceconfig.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5784977a027ff4787306eceeed55bb014d75c584b73ae4f4b37eaed8134db211
description: Represents a setup node for creating an Embedded Service for Web deployment. This type extends the Metadata metadata type and inherits its fullName field.
---
# EmbeddedServiceConfig

Represents a setup node for creating an Embedded Service for Web deployment. This type extends the Metadata metadata type and inherits its fullName field.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Parent Type

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") metadata type and inherits its fullName field.

## File Suffix and Directory Location

EmbeddedServiceConfig components have the suffix .EmbeddedServiceConfig and are stored in the EmbeddedServiceConfig folder.

## Version

EmbeddedServiceConfig is available in API version 37.0 and later.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d416065e106">Field Name</th>

              <th class="featureTableHeader  " id="d416065e109">Field Type</th>

              <th class="featureTableHeader  " id="d416065e112">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">areGuestUsersAllowed</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">boolean</td>

              <td class="entry" headers="d416065e112" data-title="Description">Specifies whether a user must be logged in to access an embedded component.
                Available in API version 45.0 and later. </td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">authMethod</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">EmbeddedServiceAuthMethod (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d416065e112" data-title="Description">Type of login method selected for this Embedded Service deployment. Valid
                values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">CommunitiesLogin</samp>–Customers log in
                    using Communities.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">CustomLogin</samp>–Customers log in using
                    your own custom authentication.
                  </li>

                </ul>
                Available in API version 43.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">branding</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">string</td>

              <td class="entry" headers="d416065e112" data-title="Description">The branding set that has all of the branding configurations for this Embedded
                Service configuration. Available in API version 52.0 and later. </td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">customMinimizedComponent</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">string</td>

              <td class="entry" headers="d416065e112" data-title="Description">The custom Lightning component that’s used in this Embedded Service deployment
                in its minimized state. Available in API version 43.0 to 45.0.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">deploymentFeature</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">EmbeddedServiceDeploymentFeature(<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d416065e112" data-title="Description">The conversation type of this Embedded Service deployment. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">EmbeddedMessaging</samp>—Messaging for In-App
                    and Messaging for Web deployments
                  </li>

                  <li class="li"><samp class="codeph nolang">Flows</samp></li>

                  <li class="li"><samp class="codeph nolang">FieldService</samp></li>

                  <li class="li"><samp class="codeph nolang">LiveAgent</samp></li>

                  <li class="li"><samp class="codeph nolang">None</samp></li>

                </ul>
                Available in API version 52.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">deploymentType</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">EmbeddedServiceDeploymentType (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d416065e112" data-title="Description">The platform this Embedded Service is deployed to. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Mobile</samp>—For future use
                  </li>

                  <li class="li"><samp class="codeph nolang">Web</samp></li>

                  <li class="li"><samp class="codeph nolang">API</samp></li>

                </ul>
                Available in API version 51.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">embeddedServiceAppointmentSettings</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">
                <a class="xref" href="#EmbeddedServiceAppointmentSettings">EmbeddedServiceAppointmentSettings</a>[]
              </td>

              <td class="entry" headers="d416065e112" data-title="Description">The settings of the Embedded Service deployment whose
                <span class="keyword parmname">deploymentFeature</span> is <samp class="codeph nolang">FieldService</samp>. Available in API version 46.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">embeddedServiceCustomComponents</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">
                <a class="xref" href="#EmbeddedServiceCustomComponent">EmbeddedServiceCustomComponent</a>[]
              </td>

              <td class="entry" headers="d416065e112" data-title="Description">The custom components used in this Embedded Service deployment. Available in
                API version 44.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"></td>

              <td class="entry" headers="d416065e109" data-title="Field Type"></td>

              <td class="entry" headers="d416065e112" data-title="Description"></td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">embeddedServiceCustomLabels</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">
                <a class="xref" href="#EmbeddedServiceCustomLabel">EmbeddedServiceCustomLabel</a>[]
              </td>

              <td class="entry" headers="d416065e112" data-title="Description">The custom labels used in this Embedded Service deployment. Available in API
                version 44.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">embeddedServiceCustomizations</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">
                <a class="xref" href="#EmbeddedServiceCustomization">EmbeddedServiceCustomization</a>[]
              </td>

              <td class="entry" headers="d416065e112" data-title="Description">The customizations used in this Embedded Service deployment. Each customization
                is associated with a static resource. Available in API version 50.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">embeddedServiceFlowConfig</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">
                <a class="xref" href="#EmbeddedServiceFlowConfig">EmbeddedServiceFlowConfig</a>[]
              </td>

              <td class="entry" headers="d416065e112" data-title="Description">Represents a setup node for creating an embedded flow. Available in API version
                45.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">embeddedServiceFlows</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">
                <a class="xref" href="#EmbeddedServiceFlow">EmbeddedServiceFlow</a>[]
              </td>

              <td class="entry" headers="d416065e112" data-title="Description">All of the flows used by this Embedded Service deployment. Available in API
                version 45.0 and later. </td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">embeddedServiceLayouts</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">
                <a class="xref" href="#EmbeddedServiceLayout">EmbeddedServiceLayout</a>[]
              </td>

              <td class="entry" headers="d416065e112" data-title="Description">The layout of an Appointment Management deployment of an Embedded Service.
                Available in API version 44.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">isEnabled</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">boolean</td>

              <td class="entry" headers="d416065e112" data-title="Description">Indicates if this Embedded Service deployment is enabled (true).</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">isTermsAndConditionsEnabled</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">boolean</td>

              <td class="entry" headers="d416065e112" data-title="Description">Indicates whether Terms and Conditions is displayed. Displaying Terms and
                Conditions is supported if the <span class="keyword parmname">deploymentFeature</span> is either
                <samp class="codeph nolang">EmbeddedMesssaging</samp> or <samp class="codeph nolang">LiveAgent</samp>. The default is <samp class="codeph nolang">false</samp>. Available in API version 59.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">isTermsAndConditionsRequired</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">boolean</td>

              <td class="entry" headers="d416065e112" data-title="Description">Indicates whether acceptance of the Terms and Conditions is required before
                starting a chat. Displaying Terms and Conditions is supported if the
                <span class="keyword parmname">deploymentFeature</span> is either <samp class="codeph nolang">EmbeddedMesssaging</samp> or <samp class="codeph nolang">LiveAgent</samp>.
                The default is <samp class="codeph nolang">false</samp>. Available in API version
                59.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">masterLabel</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">string</td>

              <td class="entry" headers="d416065e112" data-title="Description">Required. The name of the Embedded Service configuration node. Available in API
                version 37.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">shouldHideAuthDialog</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">boolean</td>

              <td class="entry" headers="d416065e112" data-title="Description">Specifies whether the prompt that the customer log in again during a flow is
                hidden (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). When it’s hidden, the customer is taken
                directly to your login page. This field is set to <samp class="codeph nolang">false</samp> by default. Available in API version 43.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e106" data-title="Field Name"><span class="keyword parmname">site</span></td>

              <td class="entry" headers="d416065e109" data-title="Field Type">string</td>

              <td class="entry" headers="d416065e112" data-title="Description">Required. The name of the Experience site or website connected to this Embedded
                Service deployment. Available in API version 37.0 and later.</td>

            </tr>

          </tbody>

        </table>

## EmbeddedServiceAppointmentSettings

Returns the settings of an Embedded Service deployment whose deploymentFeature is FieldService. Available in API version 46.0 and later.

| Field Name | Description |
| --- | --- |
| appointmentConfirmImg | 
Field Type

string

Description

The URL of the image to display when an appointment is confirmed.



 |
| enabled | 

Field Type

boolean

Description

Required.

Indicates whether this deployment is enabled. The default is false.



 |
| homeImg | 

Field Type

string

Description

The URL of the image to display on the appointment management widget home screen.



 |
| logoImg | 

Field Type

string

Description

The URL of the logo to display in the appointment management widget.



 |
| shouldShowExistingAppointment | 

Field Type

boolean

Description

Indicates whether existing appointments are displayed in the appointment management widget. The default is false.



 |
| shouldShowNewAppointment | 

Field Type

boolean

Description

Indicates whether new appointments are displayed in the appointment management widget. The default is false.



 |

## EmbeddedServiceCustomComponent

Returns a custom component that’s associated with an EmbeddedServiceConfig setup.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d416065e768">Field Name</th>

              <th class="featureTableHeader  " id="d416065e771">Field Type</th>

              <th class="featureTableHeader  " id="d416065e774">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d416065e768" data-title="Field Name"><span class="keyword parmname">customComponent</span></td>

              <td class="entry" headers="d416065e771" data-title="Field Type">string</td>

              <td class="entry" headers="d416065e774" data-title="Description">The name of the custom component.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e768" data-title="Field Name"><span class="keyword parmname">customComponentType</span></td>

              <td class="entry" headers="d416065e771" data-title="Field Type">EmbeddedServiceCustomComponentType (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d416065e774" data-title="Description">The type of custom component. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">LA_Prechat</samp> (component for pre-chat in
                    Embedded Chat)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LA_Minimized</samp> (component for the minimized
                    chat window)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LA_PlainTextChatMessage</samp> (component for
                    the text area in Embedded Chat)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">MIAW_Prechat</samp>(component for the prechat
                    form in Messaging for In-App and Web)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">MIAW_Header</samp>(component for the header of
                    the messaging conversation window in Messaging for In-App and Web)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">MIAW_TextMessage</samp>(component for the text
                    message bubbles in a Messaging for In-App and Web conversation)
                  </li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## EmbeddedServiceCustomLabel

Returns a custom label that’s associated with an EmbeddedServiceConfig setup.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d416065e870">Field Name</th>

              <th class="featureTableHeader  " id="d416065e873">Field Type</th>

              <th class="featureTableHeader  " id="d416065e876">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d416065e870" data-title="Field Name"><span class="keyword parmname">customLabel</span></td>

              <td class="entry" headers="d416065e873" data-title="Field Type">string</td>

              <td class="entry" headers="d416065e876" data-title="Description">The customized label that appears in the embedded component.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e870" data-title="Field Name"><span class="keyword parmname">feature</span></td>

              <td class="entry" headers="d416065e873" data-title="Field Type">EmbeddedServiceFeature (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d416065e876" data-title="Description">The feature that this embedded component uses. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Base</samp></li>

                  <li class="li"><samp class="codeph nolang">ChannelMenu</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">EmbeddedMessaging</samp>—Messaging for In-App
                    and Messaging for Web deployments
                  </li>

                  <li class="li"><samp class="codeph nolang">FieldService</samp></li>

                  <li class="li"><samp class="codeph nolang">Flows</samp></li>

                  <li class="li"><samp class="codeph nolang">LiveAgent</samp></li>

                  <li class="li"><samp class="codeph nolang">NotInUse</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e870" data-title="Field Name"><span class="keyword parmname">labelKey</span></td>

              <td class="entry" headers="d416065e873" data-title="Field Type">EmbeddedServiceLabelKey (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d416065e876" data-title="Description">The type of label for this embedded component. The value corresponds to the
                label within a label group (substate of chat state or page type).</td>

            </tr>

          </tbody>

        </table>

## EmbeddedServiceCustomization

Returns the customization associated with the Embedded Service feature. Available in API version 50.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| customizationName | string | Required. The name of the customization applied to the embedded service. This name can contain only underscores and alphanumeric characters and must be unique in an EmbeddedServiceConfig setup. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. |
| description | string | A description of the customization. |
| embeddedServiceResources | [EmbeddedServiceResource](#EmbeddedServiceResource)\[\] | Required. The reference to the static resource that contains the javascript file of the customization. |

## EmbeddedServiceForm

Returns the form that’s used for pre-chat. Available in API version 62 and later.

<table class="featureTable sort_table" summary="">



            <thead class="thead sorted" align="left">
              <tr>
                <th class="featureTableHeader  " id="d416065e1065">Field Name</th>

                <th class="featureTableHeader  " id="d416065e1068">Field Type</th>

                <th class="featureTableHeader  " id="d416065e1071">Description</th>

              </tr>

            </thead>

            <tbody class="tbody">
              <tr>
                <td class="entry" headers="d416065e1065" data-title="Field Name">displayContext</td>

                <td class="entry" headers="d416065e1068" data-title="Field Type">EmbeddedServiceFormDisplayContext (enumeration of type string)</td>

                <td class="entry" headers="d416065e1071" data-title="Description">Required. Indicates when we display this form. Values are: <ul class="ul bulletList">
                    <li class="li">
                      <samp class="codeph nolang">Session</samp>- The pre-chat form is displayed
                      every session.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">Conversation</samp>- Tthe pre-chat form is
                      displayed every conversation.
                    </li>

                  </ul>
                  <ul class="ul bulletList">
                    <li class="li">
                      <samp class="codeph nolang">None</samp>- Don’t select this option.
                    </li>

                  </ul>
                </td>

              </tr>

              <tr>
                <td class="entry" headers="d416065e1065" data-title="Field Name">isActive</td>

                <td class="entry" headers="d416065e1068" data-title="Field Type">Boolean</td>

                <td class="entry" headers="d416065e1071" data-title="Description">Indicates whether the form is active. The default value is false.</td>

              </tr>

            </tbody>

          </table>

## EmbeddedServiceFormField

Represents an individual field in a prechat form. Available in API version 62 or higher.

<table class="featureTable sort_table" summary="">



            <thead class="thead sorted" align="left">
              <tr>
                <th class="featureTableHeader  " id="d416065e1142">Field Name</th>

                <th class="featureTableHeader  " id="d416065e1145">Field Type</th>

                <th class="featureTableHeader  " id="d416065e1148">Description</th>

              </tr>

            </thead>

            <tbody class="tbody">
              <tr>
                <td class="entry" headers="d416065e1142" data-title="Field Name">formField</td>

                <td class="entry" headers="d416065e1145" data-title="Field Type">string or enum</td>

                <td class="entry" headers="d416065e1148" data-title="Description">Required. Maps to either a StandardMessingChannelParameter or a
                  CustomMessagingChannelParameter</td>

              </tr>

              <tr>
                <td class="entry" headers="d416065e1142" data-title="Field Name">messagingChannelParameterType</td>

                <td class="entry" headers="d416065e1145" data-title="Field Type"> MessagingChannelParameterType (enumeration of type string) OR
                  StandardMessagingChannelParameter (enumeration of type string)</td>

                <td class="entry" headers="d416065e1148" data-title="Description">Required. Indicates whether <span class="keyword parmname">formField</span> points to a
                  StandardMessagingChannelParameter or a CustomMessagingChannelParameter. Please match
                  the Enum value here to the formField passed in. Valid values for
                  MessagingChannelParameterType are:<ul class="ul bulletList">
                    <li class="li">
                      <samp class="codeph nolang">Standard</samp>
                      - select this field when you want to reference a
                      StandardMessagingChannelParameter&nbsp;
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">Custom</samp> - select this field when you want
                      to reference a CustomMessagingChannelParameter&nbsp;
                    </li>

                  </ul>
                  Valid values for StandardMessagingChannelParameter are: <ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">FirstName</samp></li>

                    <li class="li"><samp class="codeph nolang">LastName</samp></li>

                    <li class="li"><samp class="codeph nolang">Email</samp></li>

                    <li class="li"><samp class="codeph nolang">Subject</samp></li>

                  </ul>
                </td>

              </tr>

              <tr>
                <td class="entry" headers="d416065e1142" data-title="Field Name">formFieldType</td>

                <td class="entry" headers="d416065e1145" data-title="Field Type">EmbeddedServiceFormFieldType (enumeration of type string)</td>

                <td class="entry" headers="d416065e1148" data-title="Description">Required. Indicates the type of data is passed by the End User when filling out
                  the Prechat form. Valid values are: <ul class="ul bulletList">
                    <li class="li">Text</li>

                    <li class="li">Email</li>

                    <li class="li">Phone</li>

                    <li class="li">Number</li>

                    <li class="li">Checkbox</li>

                    <li class="li">Choicelist</li>

                  </ul>
                </td>

              </tr>

              <tr>
                <td class="entry" headers="d416065e1142" data-title="Field Name">displayOrder</td>

                <td class="entry" headers="d416065e1145" data-title="Field Type">Integer</td>

                <td class="entry" headers="d416065e1148" data-title="Description">Indicates the relative order of the form field in the prechat form. For Prechat
                  fields where <span class="keyword parmname">isHidden</span> is set to <samp class="codeph nolang">true</samp> displayOrder must be set to -1. For Prechat fields where
                  <span class="keyword parmname">isHidden</span> is set to <samp class="codeph nolang">false</samp>, this value must be greater than or equal to 0.
                </td>

              </tr>

              <tr>
                <td class="entry" headers="d416065e1142" data-title="Field Name">isRequired</td>

                <td class="entry" headers="d416065e1145" data-title="Field Type">Boolean</td>

                <td class="entry" headers="d416065e1148" data-title="Description">Indicates whether a Prechat form field is required. If
                  <span class="keyword parmname">isHidden</span> is set to <samp class="codeph nolang">true</samp>,
                  <span class="keyword parmname">isRequired</span> must be set to <samp class="codeph nolang">false</samp>.
                </td>

              </tr>

              <tr>
                <td class="entry" headers="d416065e1142" data-title="Field Name">isHidden</td>

                <td class="entry" headers="d416065e1145" data-title="Field Type">Boolean</td>

                <td class="entry" headers="d416065e1148" data-title="Description">Indicates whether a Prechat form field is displayed in the UI.
                  <span class="keyword parmname">isHidden</span> can only be set to <samp class="codeph nolang">true</samp> if the <span class="keyword parmname">formField</span> field is set to <samp class="codeph nolang">CustomMessagingChannelParameter</samp> and
                  <span class="keyword parmname">messagingChannelParameterType</span> is set to <samp class="codeph nolang">Custom</samp>.
                </td>

              </tr>

              <tr>
                <td class="entry" headers="d416065e1142" data-title="Field Name">choiceList</td>

                <td class="entry" headers="d416065e1145" data-title="Field Type">ChoiceList</td>

                <td class="entry" headers="d416065e1148" data-title="Description">The choice list that's associated with
                  <span class="keyword parmname">EmbeddedServiceFormField</span>. ChoiceList can only be associated
                  if the formField is set to CustomMessagingChannelParameter and
                  messagingChannelParameterType is set to Custom.
                </td>

              </tr>

              <tr>
                <td class="entry" headers="d416065e1142" data-title="Field Name">embeddedServiceCustomLabels</td>

                <td class="entry" headers="d416065e1145" data-title="Field Type">EmbeddedServiceCustomLabel[]</td>

                <td class="entry" headers="d416065e1148" data-title="Description">The custom label for this field.</td>

              </tr>

            </tbody>

          </table>

## embeddedServiceMessagingChannel

Returns the settings of an Embedded Service deployment whose

deploymentFeature

is EmbeddedMessaging. Available in API version 62 or higher.

| Field Name | Field Type | Description |
| --- | --- | --- |
| businessHours | String | The Business Hours record that’s associated with this specific embedded service deployment. |
| isEnabled | Boolean | Required. Indicates whether this embedded service deployment is enabled. |
| messagingChannel | String | Required. The MessagingChannel record that’s associated with this specific embedded service deployment. |
| shouldShowDeliveryReceipts | Boolean | Required. Indicates whether delivery receipts are shown in the UI. |
| shouldShowEmojiSelection | Boolean | Required. Indicates whether emoji selection is shown in the UI. |
| shouldShowReadReceipts | Boolean | Required. Indicates whether read reciepts are shown in the UI. |
| shouldShowTypingIndicators | Boolean | Required. Indicates whether typing indicators are shown in the UI. |
| shouldStartNewLineOnEnter | Boolean | Required. Indicates whether pressing Enter starts a new line of text in the UI. |

## EmbeddedServiceResource

Returns the static resource associated with the Embedded Service Chat feature customization. Available in API version 50.0 and later.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d416065e1513">Field Name</th>

              <th class="featureTableHeader  " id="d416065e1516">Field Type</th>

              <th class="featureTableHeader  " id="d416065e1519">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d416065e1513" data-title="Field Name"><span class="keyword parmname">resource</span></td>

              <td class="entry" headers="d416065e1516" data-title="Field Type">string</td>

              <td class="entry" headers="d416065e1519" data-title="Description">Required. The ID of the static resource that contains the javascript file of
                the customization.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e1513" data-title="Field Name"><span class="keyword parmname">resourceType</span></td>

              <td class="entry" headers="d416065e1516" data-title="Field Type">EmbeddedServiceResourceType (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d416065e1519" data-title="Description">Required. The embedded service feature to customize. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">ChatInvitation</samp>—Use for Chat
                    deployments.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">SettingsFile</samp>—Use if you’re configuring a
                    settings file for a Channel Menu deployment.
                  </li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## EmbeddedServiceFlow

Returns an embedded flow that’s associated with an EmbeddedServiceConfig setup.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d416065e1594">Field Name</th>

              <th class="featureTableHeader  " id="d416065e1597">Field Type</th>

              <th class="featureTableHeader  " id="d416065e1600">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d416065e1594" data-title="Field Name"><span class="keyword parmname">flow</span></td>

              <td class="entry" headers="d416065e1597" data-title="Field Type">string</td>

              <td class="entry" headers="d416065e1600" data-title="Description">The developer name of the flow.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e1594" data-title="Field Name"><span class="keyword parmname">flowType</span></td>

              <td class="entry" headers="d416065e1597" data-title="Field Type">EmbeddedServiceFlowType(<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d416065e1600" data-title="Description">The type of flow. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">FS_CancelAppointment</samp></li>

                  <li class="li"><samp class="codeph nolang">FS_Flow</samp></li>

                  <li class="li"><samp class="codeph nolang">FS_ModifyAppointment</samp></li>

                  <li class="li"><samp class="codeph nolang">FS_NewAppointment</samp></li>

                  <li class="li"><samp class="codeph nolang">LA_Survey</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e1594" data-title="Field Name"><span class="keyword parmname">isAuthenticationRequired</span></td>

              <td class="entry" headers="d416065e1597" data-title="Field Type">boolean</td>

              <td class="entry" headers="d416065e1600" data-title="Description">Indicates whether users are required to log in to access the Embedded Service
                component. The value can’t be <samp class="codeph nolang">true</samp> for the
                <samp class="codeph nolang">FS_Flow</samp> value and must be <samp class="codeph nolang">true</samp> for all other values.
              </td>

            </tr>

          </tbody>

        </table>

## EmbeddedServiceFlowConfig

Returns the EmbeddedServiceFlowConfig type.

| Field Name | Field Type | Description |
| --- | --- | --- |
| enabled | boolean | Indicates whether the embedded flow is enabled. |

## EmbeddedServiceLayout

Returns the layout of an Embedded Service deployment whose deploymentFeature is FieldService. Available in API version 44.0 and later.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d416065e1765">Field Name</th>

              <th class="featureTableHeader  " id="d416065e1768">Field Type</th>

              <th class="featureTableHeader  " id="d416065e1771">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d416065e1765" data-title="Field Name"><span class="keyword parmname">embeddedServiceLayoutRules</span></td>

              <td class="entry" headers="d416065e1768" data-title="Field Type">
                <a class="xref" href="#EmbeddedServiceLayoutRule">EmbeddedServiceLayoutRule</a>[]
              </td>

              <td class="entry" headers="d416065e1771" data-title="Description">The appointment statuses that the layout of the Embedded Service deployment is
                valid for.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e1765" data-title="Field Name"><span class="keyword parmname">layout</span></td>

              <td class="entry" headers="d416065e1768" data-title="Field Type">string</td>

              <td class="entry" headers="d416065e1771" data-title="Description">The FlexiPage that represents the layout of this Embedded Service
                deployment.</td>

            </tr>

            <tr>
              <td class="entry" headers="d416065e1765" data-title="Field Name"><span class="keyword parmname">layoutType</span></td>

              <td class="entry" headers="d416065e1768" data-title="Field Type">EmbeddedServiceLayoutType (enumeration of type string)</td>

              <td class="entry" headers="d416065e1771" data-title="Description">The type of layout applied to the Embedded Service deployment.<p class="p">Values
                  are:</p>
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">FS_AppointmentHome</samp></li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## EmbeddedServiceLayoutRule

Returns an appointment status for which the Embedded Service layout is valid for. This subtype is for Embedded Service deployments whose deploymentFeature is FieldService. Available in API version 44.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| appointmentStatus | string | The service appointment status that the EmbeddedServiceLayout subtype is valid for. |

## Declarative Metadata Sample Definition

The following is an example of an EmbeddedServiceConfig file.

<?xml version="1.0" encoding="UTF-8"?>
<EmbeddedServiceConfig xmlns="http://soap.sforce.com/2006/04/metadata">
    <areGuestUsersAllowed\>false</areGuestUsersAllowed\>
    <deploymentType\>Mobile</deploymentType\>
    <deploymentFeature\>EmbeddedMessaging</deploymentFeature\>
    <masterLabel\>ESWOne</masterLabel\>
    <shouldHideAuthDialog\>false</shouldHideAuthDialog\>

    <embeddedServiceMessagingChannel\>
        <isEnabled\>true</isEnabled\>
        <shouldShowTypingIndicators\>false</shouldShowTypingIndicators\>
        <shouldShowReadReceipts\>false</shouldShowReadReceipts\>
        <shouldShowDeliveryReceipts\>false</shouldShowDeliveryReceipts\>
        <shouldShowEmojiSelection\>false</shouldShowEmojiSelection\>
        <shouldStartNewLineOnEnter\>false</shouldStartNewLineOnEnter\>
        <messagingChannel\>EM1</messagingChannel\>
    </embeddedServiceMessagingChannel\>

    <embeddedServiceForms\>
        <isActive\>true</isActive\>
        <displayContext\>Session</displayContext\>

        <embeddedServiceFormFields\>
            <displayOrder\>0</displayOrder\>
            <formField\>\_FirstName</formField\>
            <messagingChannelParameterType\>Standard</messagingChannelParameterType\>
            <formFieldType\>Text</formFieldType\>
            <isHidden\>false</isHidden\>
            <isRequired\>true</isRequired\>
            <embeddedServiceCustomLabels\>
                <customLabel\>EM\_PreChat\_Base\_PrechatCustomFieldLabel\_133xx0000004GG2\_5523048</customLabel\>
                <labelKey\>EM\_PreChat\_Base\_PrechatCustomFieldLabel</labelKey\>
                <feature\>EmbeddedMessaging</feature\>
            </embeddedServiceCustomLabels\>
        </embeddedServiceFormFields\>
        <embeddedServiceFormFields\>
            <displayOrder\>1</displayOrder\>
            <formField\>\_LastName</formField\>
            <messagingChannelParameterType\>Standard</messagingChannelParameterType\>
            <formFieldType\>Text</formFieldType\>
            <isHidden\>false</isHidden\>
            <isRequired\>true</isRequired\>
            <embeddedServiceCustomLabels\>
                <customLabel\>EM\_PreChat\_Base\_PrechatCustomFieldLabel\_133xx0000004GG2\_5523058</customLabel\>
                <labelKey\>EM\_PreChat\_Base\_PrechatCustomFieldLabel</labelKey\>
                <feature\>EmbeddedMessaging</feature\>
            </embeddedServiceCustomLabels\>
        </embeddedServiceFormFields\>
        <embeddedServiceFormFields\>
            <displayOrder\>2</displayOrder\>
            <formField\>FavoriteFood\_name</formField\>
            <messagingChannelParameterType\>Custom</messagingChannelParameterType\>
            <formFieldType\>ChoiceList</formFieldType\>
            <isHidden\>false</isHidden\>
            <isRequired\>true</isRequired\>
            <choiceList\>Food</choiceList\>
        </embeddedServiceFormFields\>
    </embeddedServiceForms\>
</EmbeddedServiceConfig\>

## Wildcard Support in the Manifest File

This metadata type doesn’t support the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).