# Get document

1. **Select MongoDB** as your source app under “New flow” in the “Gears” section. Click “Create.”

<figure><img src="https://lh5.googleusercontent.com/TNw4hkPk1uVsnkQWdCUkioHtOKVlYVqYqdl522FT9MHLNsWMJ1lXKkF-uDVLYUozEEqiLDceIC87xfK5DLK-Ku4-6T_H8qwntj2ubQQls1Hc4hNkBRPsNNStKQiwrZguweYOgzFcADmoTu6VrQdAIw" alt=""><figcaption></figcaption></figure>

2. **Pick the connection** you want to use, or create a new one, and click “Continue.”

<figure><img src="https://lh6.googleusercontent.com/bRIz3YBwtQ4RH7k4fFh7-8cq3a7VKvlOlS6DK61P5KCPL-nIVrrrx5jvsroDvrnGKZJahOJv9ZNEIjUd6P2BH1qV-8XcJcH5BC8oDNQtJk06nKK-_vAGWDUOUuni4p7xseLfZtoyIjkLO-3nnbQNmA" alt=""><figcaption></figcaption></figure>

3. **Choose “Get document”** as your action and click “Create.” GearPlug will ask you for a test record—or will extract the last document saved on your account.

<figure><img src="https://lh4.googleusercontent.com/Gf4_vBCe-HDmPC67KQVDuQHUIU_1pf7a1y2IIke9nlkb-dpYh9ME_AyTxpqtE2c4k5xuhpjZFZNEmDiONHXtD1UgUNxcx_KmjGwEUav1geDh_viTb-AEBwNCXG5uTXSWWbwxfcCsXyt_NrhRzyJe7Q" alt=""><figcaption></figcaption></figure>

4. **Review the imported record** to make sure everything works properly. Click “OK” to finish the setup.

<figure><img src="https://lh4.googleusercontent.com/xTI678Dv82YcJ9vfMklUbDAEDr4FXew-LXQNnfkWuBur0FFMlfxQeJtLYVdgT5T0c7qc0N2S-CxrUtLvn3jA2ZtzqK2xQwr0etLN2fdsMlt0GzR1OEcgbj5T826lU1e8E_uBLNXHeJiXyslC46yEIw" 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/source-actions/get-document.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.
