# Documents

Documents in Secoda are robust, and allow you to combine text, queries, and live Metrics in a notebook interface. Use Documents to find information about your organization's data or internal processes that are not directly tied to one specific table, term, or resource. Just like the dictionary, all documents can be found using search, and can be directly linked in other resources in the workspace.

Below are some examples of Documents use cases we see often:

* Writing process guides or project specs
* Documenting important queries
* Defining KPIs
* Posting video tutorials

## Documents Features

### Comments

[Comments](/features/documents/comments.md) can be added in order to collaborate with your co-workers on your Documents.

### Tag Resources as Related

Use the '@' command to tag and reference other resources from across the workspace like tables or dictionary terms.

This automatically adds those tagged resources as [Related resources](/resource-and-metadata-management/relating-resources.md) in the workspace.

You can hover over a resources that's tagged using the @ command to see a **preview** of the resource before clicking into it.

### Embeddings

Use the '/' command to add custom elements to a document.

Add embeds, files, links, tables, and many more interesting documentation formats to make data documentation more interesting. See a whole list of [Embeddings](/features/documents/embeds.md).

### Anchor Links

For easier navigation within longer documents, you can create **anchor links** to specific sections.

Simply use `/h1` or `/h2` to designate headings, then click the "#" next to the heading to generate a link directly to that section.

### Find and Replace

Use command+f to find words and replace them with something else.

{% embed url="<https://www.loom.com/share/fd36571da5ca41418af455b8e7ecfa00?sid=67b1e53b-88db-415e-a8c0-3aa73a3bfd39>" %}

## Other Notable Features

* Build a Table of Contents in Documents by using the / command and either scrolling or typing "Table of Contents" to insert it.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/e963446f-1b43-4594-9de8-471c8fa753d6.png" alt=""><figcaption><p>Table of Contents</p></figcaption></figure>

* Download Documents as PDF, JSON, CSV files

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/c83cd61b-092e-4c55-a218-b87ba419c2d2.png" alt="" width="563"><figcaption></figcaption></figure>

* Duplicate a Document

  <figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/50b4e90a-40af-40d2-96ec-2053bcde896c.png" alt="" width="563"><figcaption></figcaption></figure>
* You can write live [Queries](/features/queries.md) in Documents for adhoc analysis.
* Pull existing Documents from [Confluence](/extensions/confluence.md) into Secoda's Documents.


---

# 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.secoda.co/features/documents.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.
