To set up pgAdmin in PostgreSQL, we should follow the steps given below :
* First, start and launch pgAdmin 4.
* Then, go to the "Dashboard" tab, click on the "Quick Link" section and then click on "Add new Server."
* After clicking on the "Add new Server", you have to select the "Connection" tab in the "Create-Server" window.
* Now, configure the connection by entering your server's IP address in the "Hostname/Address" field.
* At last, you have to specify the "Port" as "5432," which is the by default port for the PostgreSQL server.