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

# contentPath

> Defines the starting page when the embed user logs into the iframe.

<Note>
  This parameter is **required** to create valid embed requests.
</Note>

In the **Embed URL Builder**, this is the **Content path** field.

## Syntax

```markdown theme={null}
contentPath=<encoded_path>
```

## Properties

<ParamField path="contentPath" type="string" required>
  The URL-encoded path to the starting page. Click the following toggles to view examples for each of the pages you can use as a starting page.

  <Note>
    If the starting content path is a dashboard path, Omni provides a 24 hour `VIEWER` content permit to that dashboard for that user.
  </Note>

  <AccordionGroup>
    <Accordion title="/dashboards/<dashboard-id>" description="Starts at a specified dashboard">
      ```markdown title="/dashboards/<dashboard-id>" theme={null}
      contentPath=%2Fdashboards%2Fa6908f35
      ```

      <img src="https://mintcdn.com/omni-e7402367/pGnmRvM0SVfXp3bi/embed/images/dashboard-content-path-d853ff22b37e6b402e6d9da4e5319605.png?fit=max&auto=format&n=pGnmRvM0SVfXp3bi&q=85&s=82edd5bd4b5e275bec3f800da7377ae3" alt="" width="924" height="604" data-path="embed/images/dashboard-content-path-d853ff22b37e6b402e6d9da4e5319605.png" />
    </Accordion>

    <Accordion title="/w/<dashboard-id>/duplicate" description="Starts at a workbook">
      ```markdown title="/w/<dashboard-id>/duplicate" theme={null}
       contentPath=%2Fw%2Fa6908f35%2Fduplicate
      ```

      <img src="https://mintcdn.com/omni-e7402367/pGnmRvM0SVfXp3bi/embed/images/workbook-content-path-cacc0fb10c6ceae165de5dbdf71bce2a.png?fit=max&auto=format&n=pGnmRvM0SVfXp3bi&q=85&s=c60cb39b95dff73fba4d447ec2add1b8" alt="" width="924" height="604" data-path="embed/images/workbook-content-path-cacc0fb10c6ceae165de5dbdf71bce2a.png" />
    </Accordion>

    <Accordion title="/chat" description="Starts at AI chat">
      In this example, a [`connectionRoles`](/embed/setup/url-parameters/connectionRoles) parameter was also provided to associate the chat with a specific connection (`MD2`) and its models:

      <img src="https://mintcdn.com/omni-e7402367/pGnmRvM0SVfXp3bi/embed/images/chat-content-path-9b2f1e7fb9e39897862bfe48d1490c63.png?fit=max&auto=format&n=pGnmRvM0SVfXp3bi&q=85&s=68c6735362b405003a15c74794d7d7ea" alt="" width="925" height="611" data-path="embed/images/chat-content-path-9b2f1e7fb9e39897862bfe48d1490c63.png" />
    </Accordion>

    <Accordion title="/my" description="Starts at the user's My Documents folder">
      ```markdown title="/my" theme={null}
       contentPath=%2Fmy
      ```

      <img src="https://mintcdn.com/omni-e7402367/pGnmRvM0SVfXp3bi/embed/images/my-documents-content-path-a33b6ef4e28979fe14928cfdb15bf302.png?fit=max&auto=format&n=pGnmRvM0SVfXp3bi&q=85&s=bcbd7452bde391096eda809c51ad58cf" alt="" width="924" height="605" data-path="embed/images/my-documents-content-path-a33b6ef4e28979fe14928cfdb15bf302.png" />
    </Accordion>

    <Accordion title="/entity-folder" description="Starts at the folder associated with the user's entity">
      An `entity` parameter is required when `/entity-folder` is used as the `contentPath`.

      By default, the `entity` value will be used to create the entity folder. To provide a different name for the folder, use the [`entityFolderLabel`](/embed/setup/url-parameters/entityFolderLabel) parameter.

      <img src="https://mintcdn.com/omni-e7402367/pGnmRvM0SVfXp3bi/embed/images/entity-folder-content-path-d7062813b646ab322fd1492337980f3a.png?fit=max&auto=format&n=pGnmRvM0SVfXp3bi&q=85&s=a87ecee0170dfe2aef91b7b15a00e4c6" alt="" width="921" height="603" data-path="embed/images/entity-folder-content-path-d7062813b646ab322fd1492337980f3a.png" />
    </Accordion>

    <Accordion title="/root" description="Starts at the Hub">
      <img src="https://mintcdn.com/omni-e7402367/pGnmRvM0SVfXp3bi/embed/images/hub-content-path-46f48eaae642d5b62a76fc7620101298.png?fit=max&auto=format&n=pGnmRvM0SVfXp3bi&q=85&s=fe44373dbcaf890ffa92405ea2204c4f" alt="" width="924" height="603" data-path="embed/images/hub-content-path-46f48eaae642d5b62a76fc7620101298.png" />
    </Accordion>
  </AccordionGroup>
</ParamField>

## Examples

```markdown title="Dashboard path" theme={null}
contentPath=%2Fdashboards%2Fa6908f35
```

```markdown title="Workbook path" theme={null}
contentPath=%2Fw%2Fa6908f35%2Fduplicate
```

```markdown title="My Documents path" theme={null}
contentPath=%2Fmy
```
