> For the complete documentation index, see [llms.txt](https://doc.dastra.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dastra.eu/en/features/contrats/les-documents.md).

# Documents

### Attachments

In the documents section, you can add the relevant documents that make up your contract. This can include the contract itself, agreements, appendices or other files associated with the contract. To benefit from document previewing, you need to store .pdf files or images.

Document storage is linked to our [Document management](/en/features/document-management.md) module. You can also install our cloud storage integration, which allows you to associate documents from your own OneDrive or Google Drive.

<figure><img src="/files/qMzx9tiT0UQBVnqUoQv3" alt=""><figcaption><p>Our cloud storage integration to link your OneDrive or Google Drive</p></figcaption></figure>

On the left you will find the document preview, and on the right a list of all documents associated with your contract. To preview a different document, simply click its name in the list on the right, or navigate using the left and right arrows on your keyboard (or by clicking the on-screen arrows). The document currently being previewed is highlighted in blue in the list of documents.\
\
The preview window remains active regardless of the contract tab you are on — useful for referring to the document while filling in the signers or the assets, for example.

The preview window remains active regardless of the contract tab you are on, which is useful for referencing the document while filling out signatories or assets, for example.

<figure><img src="/files/obYbGvBG0N4KiUCvWMhj" alt=""><figcaption><p>Previewing a document</p></figcaption></figure>

### Metadatas

In this section, you can also change the organizational unit attached to the contract, add tags, fill in the contract's start and end dates, and add a description and an internal reference.

The contract end date is particularly valuable for managing your contracts, as the statistics tab lists all contracts that have passed their deadline.

### Linked compliance tests

When a document or a contract is used as **evidence** for a test in the Compliance module, this link is visible directly from the contract. An icon shows the **number of linked compliance tests**; clicking it opens the list of those tests. Clicking a test displays its details without leaving the contract page.

<figure><img src="/files/9b4HZ53EemvcBFZvaIvW" alt="Icon showing the number of compliance tests linked to a contract"><figcaption><p>The icon shows the number of linked compliance tests; a click opens the list and then the test details without leaving the contract</p></figcaption></figure>


---

# 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://doc.dastra.eu/en/features/contrats/les-documents.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.
