> For the complete documentation index, see [llms.txt](https://docs.reportandrun.com/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reportandrun.com/manual/readme/report-generation/share-a-document-via-link.md).

# Share a published report

If you need to send out your report quickly, you can share a published PDF or DOCX report via a link.

{% hint style="danger" %}
The link will **NOT** be password protecte&#x64;**.** Anyone with the link will be able to access the document.
{% endhint %}

{% hint style="info" %}
The link expires after 7 days.
{% endhint %}

1. Publish a report as either a PDF or DOCX.&#x20;
2. Click **Publish** at the top of the report screen and select **Versions** from the drop-down menu.\
   ![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FDF9y7TeYl6IxTfTePmQ0%2Fshare-link1.jpg?alt=media\&token=76f9fd20-ff0f-43ea-927d-de913e33f61d)
3. Click the downward arrow to the right of the report you want to share.&#x20;
4. Select **Share with URL** from the drop-down menu. \
   ![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FT1Rx1ajhtTAWnAWRmKpK%2Fshare-link2.jpg?alt=media\&token=c95832e7-b618-4156-a0bb-59e84f3fad69)
5. You can type a message that will appear to users who click your link. If you type a message, click **Update**.\
   ![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FcLUI3JFW37Dz7a6IJuLr%2Fshare-link3.jpg?alt=media\&token=71c5478c-d4ed-4d7c-bb8c-9bc1815ce8c2)
6. Copy the URL. \
   ![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FVKYAR28XzMHfRWUco0mZ%2Fshare-link4.jpg?alt=media\&token=28997229-d393-4d6f-b5b1-c1e800623aeb)
7. Users will see a screen similar to this when they visit the URL: \
   ![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2F3xBfnBdHJfPKaI9RhkYx%2Fshare-link5.jpg?alt=media\&token=b15bd512-6329-4c6b-9951-deb9cc097a8d)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.reportandrun.com/manual/readme/report-generation/share-a-document-via-link.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
