# PostgreSQL

PostgreSQL is a powerful open-source relational database management system (RDBMS), renowned for stability, scalability, and robustness. It is an ideal choice for applications that require data consistency and reliability.

## Prerequisites

* Get PostgreSQL database connection parameters from the database owner.

## Connect to PostgreSQL data source

Create a new data source in two ways. Note that this permission is restricted to workspace admins and developers.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2F4yb1uBMs8nhO4nxTVAaf%2FConnectNewDataSourceOverview.gif?alt=media&#x26;token=416519ad-cbd8-441b-aa95-19d9873f39c9" alt=""><figcaption></figcaption></figure>

Select **Database** > **PostgreSQL** as the data source type.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2FftUZrcr9u57VDot0mBGr%2Fimage.png?alt=media&#x26;token=d92a4296-41f7-4b66-9b89-504fdc66835c" alt=""><figcaption></figcaption></figure>

Set its name and service account.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2FVanDKLOviGqUrQC0NGI1%2Fimage.png?alt=media&#x26;token=401e6062-36f4-4c44-a2a8-71c863b8eecf" alt=""><figcaption></figcaption></figure>

(Optional) Click **Test connection** to check whether the new data source is successfully connected.

Click **Save**, and it will be saved to your data source library.
