> For the complete documentation index, see [llms.txt](https://docs.agilecase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilecase.com/user-documentation/the-case-tab/document-sharing.md).

# Document Sharing

This lesson will explain how the document sharing functionality works in AgileCase.

### Sharing a link to a document

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

To share a link to a document, click the dropdown button opposite the document on the "Docs and Comms" tab and select "Share Link".

### Shared link

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

You can configure your link before sharing it. Add a password and an expiration date to make it more secure. Once you are happy with your link settings, click "Copy Link and Save" to publish the link for sharing.

Anyone who opens the link will have to enter the password before proceeding to the download page.

### Setting a password

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

Click "Set visibility" in the shared link window to set a password and improve the security of your link. Check the "Only people with the password" box and type your chosen password in the text box below.

### Setting an expiration date

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

You can set an expiration date for a link by clicking the "expiration" button. This lets you select a date from which the link will be rendered inactive, providing an extra layer of security alongside password protection.

### Using a shared link

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

Once a link has been shared, this symbol will appear beside the document. Click the symbol to open a window containing the link, which you can copy and paste to the relevant contacts.

The link takes you to a page from which you can download the document.

### Download page

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

After using the shared link, you will be taken to this page, where you can download the document by clicking "Download".


---

# 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 dynamically by asking a question.

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

```
GET https://docs.agilecase.com/user-documentation/the-case-tab/document-sharing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
