# Connecting with pgAdmin **pgAdmin** is a widely used graphical interface for Hydra that allows you to manage, connect to, and run queries on your databases with ease. ### **Variables** To connect using `pgAdmin`, you'll need the following connection parameters. When you deploy a Hydra service on Elestio, you also get a pgAdmin dashboard configured for you to use with these variables. These details are available in the **Elestio service overview page**:
VariableDescriptionPurpose
`USER`pgAdmin usernameIdentifies the pgAdmin user with access permission.
`PASSWORD`pgAdmin passwordAuthentication key for the `USER`.
You can find these values in your Elestio project dashboard under **Admin** section. [![Screenshot 2025-05-07 at 10.08.35 PM.jpg](https://docs.elest.io/uploads/images/gallery/2025-05/scaled-1680-/screenshot-2025-05-07-at-10-08-35-pm.jpg)](https://docs.elest.io/uploads/images/gallery/2025-05/screenshot-2025-05-07-at-10-08-35-pm.jpg) ### **Prerequisites** Make sure the **Hydra** service is correctly deployed on Elestio and you are able to access the Admin section like the one in the image above. ### **Setting Up the Connection** 1. Launch **pgAdmin** from the Admin UI URL and log in with the credentials acquired in the steps before. ![Screenshot 2025-04-01 at 3.51.28 PM.jpg](https://docs.elest.io/uploads/images/gallery/2025-04/scaled-1680-/screenshot-2025-04-01-at-3-51-28-pm.jpg) 2. Click on **"Create"** and select **"Server…"** from the dropdown, or find **Add New Server** from the quick links![Screenshot 2025-04-01 at 3.55.59 PM.jpg](https://docs.elest.io/uploads/images/gallery/2025-04/scaled-1680-/screenshot-2025-04-01-at-3-55-59-pm.jpg) 3. In the **General** tab: - Enter a name for your connection (e.g., `Trial pgAdmin Connection`).![image.png](https://docs.elest.io/uploads/images/gallery/2025-04/scaled-1680-/image.png) 4. Go to the **Connection** tab and enter the following details: - **Host name/address**: `HOSTNAME` - **Port**: `PORT` - **Maintenance database**: `DATABASE` - **Username**: `USERNAME` - **Password**: `PASSWORD` ![image.png](https://docs.elest.io/uploads/images/gallery/2025-04/scaled-1680-/6v6image.png)