Click New on the Connection menu.

Select PostgreSQL.

Connection name: enter a connection name.
Server name: Enter the PostgreSQL Server name
Database: enter the database name.
User: enter the user name.
Password: enter the database password.
Enable Offline mode: Learn more here
Select User Groups who can view the Connection: Assign user groups with privileges to open objects from this connection.
Click Ok to establish the connection.
Important!
In order to fully exploit all MS Excel © export functionality it is recommended that you install the psqlODBC driver.
Please download and install form here:
http://www.dbxtra.com/Download/Drivers/psqlodbc.msi
Related
Connect to FoxPro - Database Container