# Obtener documento

1. **Selecciona MongoDB como tu app de origen** debajo de “Nuevo flujo de trabajo” en la sección “Gears”. Haz clic en “Crear”.

<figure><img src="https://lh5.googleusercontent.com/r4g-ODtLIiyhi1FJg-V_2P2Y6fwde5kDrUdFPfq9k5wyPgR7np--8zFBXxwGTLXeqJFR7VPEdAa0mtKxp3amFlMHr2RzheOvDpM2Egx5w-2HYzFtrTwkBuO2pIkunPrQZo7-oZkDEujc22XKFEsDPQ" alt=""><figcaption></figcaption></figure>

2. **Escoge la conexión** que deseas usar, o crea una nueva, y haz clic en “Continuar”.

<figure><img src="https://lh4.googleusercontent.com/hcCgzxdMR1aWr92m8l4KeWbNpgPrsC6EvyEN1lp4QRTaIVEioydxJr5TZwJtoDc_hISEg9K35rc_bUh6aLE6h-LIaZ7QeKt_PTe2yaxXjaIhZErxF18JOq2yINa5wIJM0dhScvsV0exFrBBl3K6iEA" alt=""><figcaption></figcaption></figure>

3. **Elige “Obtener documento”** como tu acción y haz clic en “Crear”. GearPlug pedirá un registro de prueba—o extraerá el último documento guardado en tu cuenta.

<figure><img src="https://lh6.googleusercontent.com/mkP_R6e32KTiyUC5Nn9wTaBIfKBdfJBVCkAPT7SWFZMb7_8L7LyOhyL7tCfGVqT8Y861kx0203Mi70ZusH5JutEGVwkZZ7i-R8LVE_BpCgfrO6iQC86Nx9T41UOtoIBnMtgAUJG268FymJarMYmsBg" alt=""><figcaption></figcaption></figure>

4. **Revisa el registro importado** para confirmar que todo funciona correctamente. Haz clic en “OK” para terminar la configuración.

<figure><img src="https://lh4.googleusercontent.com/-WHIlwGNQVSgc925HWfKi1LMH5Z_b0k5q0AmT0fxI0emN-k81XSopfDwVwNaDDLW9h5NdgvxExeq7J0GNl6rIbi0cmjLEW3aubtx8ZPUyLloODEqqTqCqG6vNgFGBayfYWYPxorVy7N7DmiWKZOcbg" 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/configura-tus-conexiones/mongodb/acciones-de-origen/obtener-documento.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.
