Hi Suyash,
If you have already installed PostgreSQL on your system, pgAdmin 4 should automatically detect the server. You can view it by expanding the "Servers" node in the Object Explorer.
If the server does not appear, you can manually add it by right-clicking the "Servers" node and selecting Register > Server. You will need to enter the server details, such as the port, provided during the PostgreSQL installation.
Once the server is visible, expand the server node and the "Databases" collection to view the list of available databases.
Thanks,
Anil Sahoo
--