How can we fetch data from an external database table when it’s not exposing services ,only it’s url and credentials are provided?

How can we fetch data from an external database table when it’s not exposing services ,only it’s url and credentials are provided?

We are using Postgres’s sql and we want to fetch currency exchange rates from an external database,without using connectors as the external system is not exposing services

@TanyaS58

To fetch data from an external database table using Postgres SQL without using connectors, follow these steps:

  1. Install client libraries for Postgres.
  2. Create a Database rule with the JDBC URL, Username, and Password.
  3. Create a Database Table instance and map it to the internal Pega class.
  4. Use a Connect-SQL rule to define and execute SQL queries to fetch the data.

:warning: This is a GenAI-powered tool. All generated answers require validation against the provided references.

How to connect to external DB?

How to configure external DB connections from Designer Studio

external database