# Create document

1. **Select MongoDB** as your target app, as well as the connection you want to use, and click “Continue.”

<figure><img src="https://lh3.googleusercontent.com/hVIUhx4ALTreodZJ9mWoEak1RQ-oGu62IW1vAAGOF2mhIyyTTYpnE1-iAQSLyURNO36od76nGySPQE7QIvCyCx9oyVhhaI5291JxWJIN5gwNmMZTTyNyFiatVlHJbsootkw-ArrwasDlSmXVhWCEQA" alt=""><figcaption></figcaption></figure>

2. **Choose “Create document”** as your action and click the red gear. This will display the action’s data template.

<figure><img src="https://lh4.googleusercontent.com/HU9BMezsshw-ZsxKlkSqidv3F7GLignqr_1euY7ycGTsgLRNZPFT1okL4uY-Pvd_78HO6NBxzZtsqAXTbuefdJ7q4xfMcvS8TAMjz7waQBCu_Nq45QmKrlPLWvrtnG_AiDXKxR8YmHhH88n-wXr_GQ" alt=""><figcaption></figcaption></figure>

3. **Fill in the data template**, linking source and target fields. Click “Map” once you’re done.

<figure><img src="https://lh5.googleusercontent.com/5FknMk4JqYxJnH7VxHjQ2I7tjC43cDmYlF-OsttvxIUc7VhmRqwhsolRf5hwfvsoS2tYGxgPkvKvf2h87Wx9mbOxgczQfpCWTDleI3gOSjRf13vaBxGMbtlQrWmcRk0oENb5DX1dKlOpugXU3oj1vQ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The target fields depend on the structure of the documents already recorded in your database. In other words, the data template varies according to your records’ structure.
{% endhint %}

4. **Verify that your target is active** in the upper-right corner. Click “Add a target” or “Save” to add another app or save your gear.

<figure><img src="https://lh5.googleusercontent.com/Tzkno-120QcXO_hmt_ssKo-zzeUR0rrxJVsf4ox4Af6ZuEeMwDYG3E4ql56Zx5qjhot53ezAvlbvfOMWtjmJ0YAhBiD8IcB2gf5U8J3BEUCAQ6_bPjSX8PCqxHaqv2bmrie4yQp6QaAxDZWGKADFag" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Make sure you turn on your Gear before leaving GearPlug!
{% endhint %}
