> ## Documentation Index
> Fetch the complete documentation index at: https://developer.suki.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MountOptions Type

> MountOptions type represents the configuration options for mounting the SDK to a DOM element

MountOptions type represents the configuration options for mounting the SDK to a DOM element. The code snippet below shows how to use the `MountOptions` type to create a mount options object.

```js JavaScript theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
type MountOptions = {
  rootElement: HTMLElement;
  encounter: Encounter;
  uiOptions?: UIOptions;
  ambientOptions?: AmbientOptions;
};
```

## Properties

<Expandable title="properties" defaultOpen="true">
  <ResponseField name="rootElement" type="HTMLElement" required>
    The DOM element to mount the SDK into. Should be an empty container element.
  </ResponseField>

  <ResponseField name="encounter" type="Encounter" href="/web-sdk/api-reference/types/encounter" required>
    Full [`Encounter`](/web-sdk/api-reference/types/encounter) payload. **`patient.identifier`** is required. **`encounter.identifier`** is optional. Each value must be **at most 36 characters** (<Tooltip tip="VARCHAR is a variable-length SQL string type. varchar(36) caps these identifiers at 36 characters. See the Glossary." cta="View in Glossary" href="/Glossary/v#varchar-36">varchar(36)</Tooltip>) when present.

    <Note>
      * From Web SDK **v3.2.0**, if you set **`encounter.identifier`**, use a **UUID**. The Web SDK maps that value to **`emr_encounter_id`** for ambient interoperability and encounter note retrieval. Non-UUID values can break past-note loading even when ambient session start, pause, and submit still work. Refer to [Encounter type definition](/web-sdk/api-reference/types/encounter) for more information.

      * From Web SDK **v3.3.0**, set **`encounter.practitionerFhirId`** (FHIR practitioner id) together with **`encounter.identifier`** (FHIR encounter id) when you initialize and when you mount if you want Patient Summary on the headed patient profile. Generation runs at login from the initialize options. `setEncounter` loads another encounter's summary. Initialize again to generate for a different practitioner. Refer to [Patient Summary in Web SDK](/web-sdk/guides/patient-summary) for more information.
    </Note>
  </ResponseField>

  <ResponseField name="uiOptions" type="UIOptions" href="/web-sdk/api-reference/types/ui-options">
    UI configuration options.
  </ResponseField>

  <ResponseField name="ambientOptions" type="AmbientOptions" href="/web-sdk/api-reference/types/ambient-options">
    Ambient session configuration options.
  </ResponseField>
</Expandable>
