Hi Brian,
You can use the database connector to connect to a postgres database. This module supports a range of different database types. They are listed in the documentation tab.
https://appstore.home.mendix.com/link/app/2888/Mendix/Database-Connector
Hope this helps!