> ## 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.
  </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>
