> For the complete documentation index, see [llms.txt](https://docs.gearplug.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gearplug.io/english/set-up-your-integrations/postgresql/source-actions/get-data-row.md).

# Get data row

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

<figure><img src="https://lh3.googleusercontent.com/up0L4EFk-aWgatL3Hk-lCM3ULqq7YO10-6rmvDmaipATfiu2RF5XEzM_eCgVHLnVmgeamrvhE6f10Qhg_bvvWSdvqctl0YGfC8pmBd8-ORGvVA5sYsutT5X-roZ80y7JVw5EqjOs0AGbfCwCZQ11nQ" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://lh3.googleusercontent.com/MzOVXUHXV96_dRMy_ALsu-wGjnxQZcKZh-dwn8qhKyrd8Jm6IqN0LZSLgBbsdtXJIyTZP4IxD0Sibwaf4MsBs-34aYvsn36SlBU2Nwgt-vm-sUDV1J-aBP5HPOSS0nKQXdiksgNHt2xO66VeQSyaAw" alt=""><figcaption></figcaption></figure>

3. **Choose “Get data row”** as your action, as well as the way you want to sort the data and unique fields. Click “Create.”

<figure><img src="https://lh5.googleusercontent.com/YWRhWmNgZF0hO1QPz2pKBtiYOVdYieW-OXD7koDlCGF1YNBmsK5Das52aD6wYx9R4M5zwu1QN96DvrxGZDncaHYtz2bpxcM8TGuXvZ6EbomX9JDsAV73fT4YTtdQww6PgBQXGiDhXK1huJQIkVu4kQ" alt=""><figcaption></figcaption></figure>

4. **Create a test record** in your database for GearPlug to import. Make sure everything works properly and click “OK” to finish the setup.

<figure><img src="https://lh3.googleusercontent.com/BZucD2WmsPnhzPt3hr5gpDn1J41RfeCGC-F5DcbemglzkorQCjw-Ves6mslEkfxd3bzHL5H6CVHwkddCsAeFORRHKKHHPoT4oI6iAIaHm07GrOvsgVH_q2PtyAOzgXnKYHBOZt7tLcbZPB9UQMmN4Q" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Empty Fields**: Under the imported entry, you’ll find a drop-down menu for “Empty Fields.” Here, you’ll find a list of fields you can import—but weren’t used in your record.
{% endhint %}
