Click on 'CONNECT' tab, right click on 'Database' and select 'Create postgresql connection'
cm set "demo_cm_postgresql" {execute "db.postgresql.config.get" "[hostname]" "localhost" "[port]" "5432" "[database]" "test_db" "[user]" "postgres" "[password]" "pwd" ;};
"1"Click on refrech button: