> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PostgreSQL Connector

## Intro

PostgreSQL is a widely used open-source relational database management system. You can use Domo's PostgreSQL Connector to pull data from your PostgreSQL database and compile custom reports. To learn more about the PostgreSQL API, see ([https://www.postgresql.org/about/news/postgresql-restful-api-1616/](https://www.postgresql.org/about/news/postgresql-restful-api-1616/ "https://www.postgresql.org/about/news/postgresql-restful-api-1616/") ).

You can connect to your PostgreSQL account in the Data Center. This topic discusses the fields and menus that are specific to the PostgreSQL connector user interface. To add DataSets, set update schedules, and edit DataSet information, see [Adding a DataSet Using a Connector](https://domo-support.domo.com/s/article/360042926274?language=en_US "Adding a DataSet Using a Connector").

## Prerequisites

To connect to your PostgreSQL account and create a DataSet, you must have the following:

* Username
* Password
* Host
* Port
* Select a Certificate Type. The certificate type must match what you enter in the **Certificate** field. If you are unaware of a special certificate, then you can select **No Certificate** from the drop-down list.
* Database

## Connecting to Your PostgreSQL Account

This section enumerates the options in the **Credentials** and **Details** panes on the PostgreSQL Connector page. The components of the other panes on this page, **Scheduling**, and **Name & Describe Your DataSet**, are universal across most connector types and are discussed in great detail in [Adding a DataSet Using a Connector](https://domo-support.domo.com/s/article/360042926274?language=en_US "Adding a DataSet Using a Connector").

## Credentials Pane

This pane contains fields for entering credentials to connect to your PostgreSQL account. The following table describes what is needed for each field:

<table border="1" cellpadding="1" cellspacing="1" data-aura-rendered-by="33:195;a"><thead><tr><th colspan="1" rowspan="1"><p><span class="s1"> Field </span></p></th><th colspan="1" rowspan="1"><p><span class="s1"> Description </span></p></th></tr></thead><tbody><tr><td colspan="1" rowspan="1"><p> Username </p></td><td colspan="1" rowspan="1"><p> Enter your PostgreSQL username. If you don't know your username, contact your PostgreSQL Database Administrator for help. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Password </p></td><td colspan="1" rowspan="1"><p> Enter your PostgreSQL password. If you don't know your password, contact your PostgreSQL Database Administrator for help. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Host </p></td><td colspan="1" rowspan="1"><p> Enter the host name for the SQL database. If you don't know the host name, contact your PostgreSQL Database Administrator for help. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Port </p></td><td colspan="1" rowspan="1"><p> Enter the port number for the SQL database. If you don't know the port number, contact your PostgreSQL Database Administrator for help. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Certificate </p></td><td colspan="1" rowspan="1"><p> Paste the text for your CA certificate or enter the URL where your certificate is located. By default no certificate is required. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Certificate Type </p></td><td colspan="1" rowspan="1"><p> Select a certificate type. This must match what you enter in the <b> Certificate </b> field. If you are not sure of a special certificate, select <b> No certificate </b> from the drop-down list. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Database </p></td><td colspan="1" rowspan="1"><p> Enter the name of the SQL database. If you don't know the database name, contact your SQL Database Administrator. </p></td></tr></tbody></table>

Once you have entered valid PostgreSQL credentials, you can use the same account any time to create a new PostgreSQL DataSet. You can manage connector accounts in the **Accounts** tab in the Data Center. For more information about this tab, see [Manage Connector Accounts](https://domo-support.domo.com/s/article/360042926054?language=en_US "Manage Connector Accounts").

## Details Pane

<table border="1" data-aura-rendered-by="33:195;a"><tbody><tr><td colspan="1" rowspan="1"><b> Menu </b></td><td colspan="1" rowspan="1"><b> Description </b></td></tr><tr><td colspan="1" rowspan="1"> Query Helper </td><td colspan="1" rowspan="1"> Edit this query if desired. </td></tr><tr><td colspan="1" rowspan="1"> Database Tables </td><td colspan="1" rowspan="1"> Select the database table that you want to view in your report. </td></tr><tr><td colspan="1" rowspan="1"> Table Columns </td><td colspan="1" rowspan="1"> Select all the table columns you want to view in your report. </td></tr><tr><td colspan="1" rowspan="1"> Query Helper </td><td colspan="1" rowspan="1"> Edit this query if desired. </td></tr><tr><td colspan="1" rowspan="1"> Incremental Pull </td><td colspan="1" rowspan="1"> Select either <b> Last Value </b> or <b> Max Value </b>, or <b> None </b> from the drop-down list. </td></tr></tbody></table>

## Other Panes

For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see [Adding a DataSet Using a Connector](https://domo-support.domo.com/s/article/360042926274?language=en_US "Adding a DataSet Using a Connector").
