# Create your MongoDB connection

{% hint style="info" %}
**Oauth connection**: The first step is to install GearPlug in your account so that GearPlug may access the data.
{% endhint %}

To create your MongoDB connection, you’ll need the location of your database. You can find this information in your database’s details.

### Set up access

1. **Head over to “My Apps” at** the top of your GearPlug account.

<figure><img src="https://lh4.googleusercontent.com/UcnvcL9F0GgkE7mIsskYiD9iXBXqQQzpNLBBkOqHcOmYAGyc8EpIBOzaSbbmlPhlkVGzWWQxRZFtJH2-xuh-1RJSzj6-hjDxIYlT8V-GPg7vLFL-S_DZ-nvpY45QGro5RwYyW5MK64eZqSQLcR657w" alt=""><figcaption></figcaption></figure>

2. **Select MongoDB** on the drop-down menu under “New connection” and click “Create.”

<figure><img src="https://lh4.googleusercontent.com/qTGMBzBkQZ4Ne187XKXFTORVQ50Aac4CBPwRIyN3wEC3_oPg-_6y1MkX-Hv5qn1q6Pa5gMgK_Cyrm9C10VwXUb7g0eMMcV8AktESpRn6jdiNlHbZyenKjj7CK0McqnV_C38aLxN61dIEDymUh_mcPA" alt=""><figcaption></figcaption></figure>

3. **Fill in the fields** with the corresponding information from your database and click “Continue” to finish the setup.

<figure><img src="https://lh4.googleusercontent.com/-e0A-saVObuTfvwZWyjXSv94E3PgZ7ZQkJr7mePpR_1CEmOrZmf1tOMl2jKiEi3-wDtvCP-mlB0QKXYOuZ5nohRG35VKPnOaWOiMK2IQxAYbX2zUfxqHhpRmVV6Ns2bpLgY4IKbJ4M3YemQhdjdxXA" 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://docs.gearplug.io/english/set-up-your-integrations/mongodb/create-your-mongodb-connection.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.
