---
title: "PostgreSQL® - Connect with pgAdmin"
description: "Learn how to connect to a PostgreSQL® database instance with one of the world's most famous Open Source management tools for PostgreSQL®: pgAdmin."
url: https://docs.us.ovhcloud.com/en/public-cloud/databases/postgresql-connect-pgadmin
lang: en
---
> For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt.

# PostgreSQL® - Connect with pgAdmin

**Learn how to connect to a PostgreSQL® database instance with one of the world's most famous Open Source management tools for PostgreSQL®: pgAdmin.**

Cloud Databases allow you to focus on building and deploying cloud applications while OVHcloud takes care of the database infrastructure and maintenance in operational conditions.

 

## Requirements

- Access to the [OVHcloud Control Panel](https://manager.us.ovhcloud.com/)
- A [Public Cloud project](https://us.ovhcloud.com/public-cloud/) in your OVHcloud account
- A PostgreSQL® database running on your OVHcloud Cloud Databases ([this guide](https://docs.us.ovhcloud.com/en/public-cloud/databases/getting-started.md) can help you to meet this requirement)
- [Configure your PostgreSQL® instance](https://docs.us.ovhcloud.com/en/public-cloud/databases/postgresql-configure-instance-accept-incoming-connections.md) to accept incoming connections
- A pgAdmin stable version installed and public network connectivity (Internet)

 

## Concept

A PostgreSQL[®](#go-further) instance can be managed in multiple ways. One of the easiest, yet powerful, is to use a Command Line Interface (CLI), as shown in our guide: [Connect to PostgreSQL® with CLI](https://docs.us.ovhcloud.com/en/public-cloud/databases/postgresql-connect-cli.md) or by using programming languages, such as [PHP](https://docs.us.ovhcloud.com/en/public-cloud/databases/postgresql-connect-php.md) or [Python](https://docs.us.ovhcloud.com/en/public-cloud/databases/postgresql-connect-python.md).

Another way is to interact directly using a management tool for PostgreSQL®: pgAdmin.

To do so, we will need to install pgAdmin, configure our Cloud Databases for PostgreSQL® instances to accept incoming connections, and finally, configure pgAdmin 4.

 

## Instructions

### Installation

To interact with your PostgreSQL® instance with pgAdmin 4, you need to install it.

Please follow the official [pgAdmin](https://www.pgadmin.org/download/) to get the latest information.

**Note:**

This guide was created using version 7.5 of pgAdmin 4. More recent versions may look different than the images used below.

We are now ready to learn how to connect to our PostgreSQL® instance.

 

### Connect with pgAdmin 4

#### Configuration

Once logged in to pgAdmin, from the Servers dashboard view, select `Add new server`.

In the **Create - Server** dialog box, in the `General` tab, fill in the **Name** field.

Then select the `Connection` tab and fill in the following fields with the collected credentials:

- Host
- Port
- Maintenance database
- Username
- Password

Finally, select the `SSL` tab and set the **SSL Mode** to **Require**.

**Note:**

If needed, you can adjust the connection timeout in the `Advanced` tab.

Once saved, select your server in the servers list on the left. In the Dashboard view, you can observe that the connection is active:

**Note:**

pgAdmin has [useful functions](https://pgadmin.org/features) such as:

- [Backup and Restore](https://www.pgadmin.org/docs/pgadmin4/latest/backup_and_restore.html) a single table, a schema, or a complete database
- [Manage Roles](https://www.pgadmin.org/docs/pgadmin4/latest/role_dialog.html)

 

## Go further

Visit the [GitHub examples repository](https://github.com/ovh/public-cloud-databases-examples/tree/main/databases/postgresql) to find out how to connect to your database with several languages.

Browse all the [Databases guides](https://docs.us.ovhcloud.com/en/public-cloud/databases/landing-page-databases.md).

Browse the rest of the [OVHcloud US documentation](https://docs.us.ovhcloud.com/en/index.md) for guides on our other products and services.

Learn more about [Managed Databases](https://us.ovhcloud.com/public-cloud/databases/) on the OVHcloud US website.

OVHcloud Managed Databases and Analytics:

- Grafana® is a registered trademark of Grafana Labs and is used with the permission of Grafana Labs. OVH SAS and its subsidiaries are not affiliated with or endorsed by Grafana Labs.
- Kafka® is a registered trademark of The Apache Software Foundation and has been licensed for use by OVHcloud, who has no affiliation with and is not endorsed by The Apache Software Foundation.
- MongoDB® is a registered trademark of MongoDB, Inc.
- MySQL® is a registered trademark of Oracle and/or its affiliates.
- PostgreSQL® is a registered trademark of the PostgreSQL Community Association of Canada.
