# Documentation

Documenting your integration build is made simple and easy with Unifi's auto-documentation features. From any integration, select the Documentation button to see exactly what has been configured in an easy to read format.

<figure><img src="/files/wVDTdeLLmMiD7I2Nfod6" alt=""><figcaption><p>Unifi Auto-documentation</p></figcaption></figure>

### Paginated View

By default, the documentation is viewable as a list of separate pages for easy navigation.

### Inline View

To view the documentation as a single document that can be printed or exported, click the Paginated View button to change it to Inline View. Depending on the size of your integration, this can take some time to generate.

<figure><img src="/files/ntbJFH16jUtEN7aADiO8" alt=""><figcaption><p>Enable Inline View</p></figcaption></figure>

### Message Scripts

Click the Message Scripts button to toggle having Message Scripts included with each Message definition. Enabling this option with the Inline View can significantly increase the time to generate the documentation.

<figure><img src="/files/y5mK7FqekqHE9TaG5DI2" alt=""><figcaption><p>Enable Message Scripts</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sharelogic.com/unifi/4.0/configure/documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
