# Generating documentation

{% embed url="<https://www.youtube.com/watch?v=Ki6GR3uI78U>" %}
How to document a report
{% endembed %}

### Documenting your first report

Let's walk through the process of documenting a Power BI report together (although it's similar for tools like Tableau, SAC).&#x20;

Open a report in your browser. Go to the dScribe plugin and navigate to the "Documentation" tab.&#x20;

dScribe will detect that the report is not yet documented. Click the "Generate documentation" button.

<figure><img src="/files/2y9xESlEIaBdu9ps0hYx" alt=""><figcaption></figcaption></figure>

Upload some images or take screenshots of the report and click “Continue.” The documentation process may take some time to complete, depending on the complexity of the uploaded information.

<figure><img src="/files/kEjtkY9P3UAyMhhkD9I3" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** These screenshots are not stored on our side, so you don't have to worry about sensitive data being exposed.
{% endhint %}

Once the process is complete, click on the "Check out" button to review the documentation created. You will be redirected to the details page of the report.

If you are not satisfied with the generated documentation, you can:

1. Edit it directly on the report details page.
2. Try to create the documentation again from scratch.

{% hint style="danger" %}
Be aware that regenerating will overwrite any existing documentation.
{% endhint %}


---

# 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://plugins.dscribedata.com/contribute/generating-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.
