# PostgreSQL

From the top navigation bar click on the ![](https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FbCEJQ2HTj8OOiqP0FTW1%2Fimage.png?alt=media\&token=441c66ea-bf56-4263-bae3-7b4899e52c1f) icon.

Choose the **Connection strings** tab.

Click the **Add** button.

Enter the Name of your connection.

Select **PostgreSQL** from the Connection type.

Enter your connection string.&#x20;

1. **Hostname:** where your database is hosted&#x20;

{% hint style="info" %}
You can paste the host url in the Host box to connect to your database quickly
{% endhint %}

2. **Port:**&#x20;

* The port the database server uses
* For example, the default port number for PostgreSQL is 5432&#x20;

3. **Database:** name of your database&#x20;
4. **User:** username of the Database you want to connect&#x20;
5. **Password:** password of the Database you wish to connect

Click **Next** then Click the **Complete** button to establish your Connection.

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FcXcESzmbSrjc0qlN7q0t%2Fconnect.gif?alt=media&#x26;token=ef24de1a-ffd4-4ac3-93c8-c7619603f677" alt=""><figcaption></figcaption></figure>
