# Connecting your Documint account

To connect your Documint account to your newly installed HubSpot app, we need to add an API key from your Documint account. Here's how:

#### Create your API key

Go to your Documint account and find **Integrations** on the left-hand panel. Then click the **Create API key** button

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

Give your key a name and click **Create**

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

Copy your API key to use in HubSpot

<figure><img src="/files/2dhY1H4I0Fggsmgrh5op" alt=""><figcaption></figcaption></figure>

#### Paste your key into HubSpot

Go to the gear icon in the top right of your HubSpot window, go to **Integrations**, then **Connected Apps**

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

Go to **Documint**

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

Click on **General settings** and then **Add/Edit API Key** button

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

This will bring up a window for you to paste your API key into. Paste it in and save

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

You are now all connected to your Documint account! 🎊

{% hint style="info" %}
PLEASE NOTE - You can use this same method if you ever need or want to update or replace the API key for your Documint account
{% endhint %}


---

# 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/connecting-your-documint-account.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.
