# Setup Consent Forms

To create a new consent form, go to [Settings -> Documents](https://app.dentaltap.com/en/p/settings/clinic/documents).

There are two ways to set up a consent form:

* Use one of the available templates
* Create a new document and write your own text

You can also start with a template and then edit the text and variables to fit your needs.<br>

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

### Document Variables

You can add **variables** to your document content. When the document is created from a patient profile, these variables are automatically replaced with real data, such as:

* **System** — current date, current time, and other system values
* **Patient** — patient details like full name, phone number, date of birth, and more
* **User** — details of the user who created the document, such as full name and contact information
* **Clinic** — clinic profile data including name, phone, email, website, and other contact details

Use the **Variables** button at the right to open variables list:

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

### **Generate Consent Form** <a href="#in-clinic-consent-forms" id="in-clinic-consent-forms"></a>

Simiar to questionnaires, you can generate and sign consent forms via the main application.&#x20;

To create, view, print and sign consent forms use the **Documents** tab:

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


---

# 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://dentaltap.gitbook.io/dentaltap/scheduling/setup-consent-forms.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.
