# Generating Your documents

Now you're ready to start creating documents from your HubSpot data using the Documint app.

It's super simple.

1. Choose your template

<figure><img src="/files/9Y7v8SZUYuqiN8mJD3fV" alt=""><figcaption></figcaption></figure>

2. Choose you record

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

3. Inspect the document preview and click **Generate Document**

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

4. After a moment you will get a message to tell you your new document has been generated and saved to the Notes section of your record.

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

You can close the app to see the new activity in **Notes** (You may need to refresh the page first). The attachment will be saved, and it will also be in the **Attachments** section on the right-hand side of the page.

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

You can now access this file to view, download, or do whatever you want with it.&#x20;

Congrats you're all set🎊


---

# 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.documint.me/integrations/hubspot/generating-your-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.
