# How to Use the AI Assistant in Envelopes

AI Assistant helps you work with an envelope faster. It summarizes documents and answers questions in the envelope context and uses both document content and envelope metadata.

{% hint style="info" %}
You can ask about envelope status. For example, completed or not completed.
{% endhint %}

### Enable or disable the AI assistant panel

1. Open an envelope.
2. In the top-center, click the **AI assistant** icon.
3. The AI assistant chat panel opens.

When you open it for the first time, you will see:

* a short overview of the envelope documents
* suggested questions

4. To close the panel, click the **AI assistant** icon again.

You can also click the close icon in the top-right corner <a class="button secondary" data-icon="xmark-large"></a>.

{% columns %}
{% column %}

<figure><img src="/files/XEP3GydjG9tMk4P3gfC4" alt="" width="375"><figcaption></figcaption></figure>

{% endcolumn %}

{% column %}

<figure><img src="/files/JDaXhSoPMZN7GAfRpzQS" alt="" width="232"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% hint style="warning" %}
The AI assistant icon is visible only if you have required permissions.
{% endhint %}

### Ask questions

Click one of the suggested questions or type your own message and click the **Send** <img src="/files/UzhHNmHB34gGo5t5zp82" alt="" data-size="line"> icon.

{% columns %}
{% column %}

<figure><img src="/files/iaAMp7KjmakN8SX1iGlq" alt="" width="223"><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="/files/tD8UREGiJZaqyDjthLE5" alt="" width="223"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% hint style="info" %}
The assistant answers only from the documents and data in the current envelope context.
{% endhint %}

### Conversation history

* If you open the assistant again within 24 hours, you will see the conversation history.
* If more than 24 hours passed, the conversation starts over.


---

# 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://support.docstudio.com/user/envelopes/how-to-use-the-ai-assistant-in-envelopes.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.
