Connecting PostgreSQL Database with UiPath

How can UiPath be connected to a PostgreSql database?

Prerequisites:

  • Follow the steps mentioned in Install PostgreSQL on Windows to download and install and PostgreSQL
  • Download the 32-bit version of PostgreSQL Windows Installer
  • Install PostgreSQL
  • Verify the installation

Perform the below steps:

  1. Install PostgreSQL driver (32-bit) from psqlODBX Driver. Navigate to the link and click on “PostgreSQL download site” to open the download page. Select the “MSI” from the directories section and then select “psqlodbc_09_05_0400-x86.zip” or any respective 32-bit driver.


4.png

  1. Now create and configure the DNS using ODBC driver with PostgreSQL driver
    1. In Windows, search for “ODBC Data Sources (32-bit)” and open it
    2. In the “User DSN” tab click on the “Add New” button

  1. Select “PostgreSQL Unicode” and click on “Finish”.

  1. A new Configuration window will appear. Fill in the required details into it and then test if the connection is successful

  1. Once the connection is successful, go ahead and use PostgreSQL with UiPath.

  1. Open UiPath Studio and drag a “Connect” activity from Database Package

  1. Click on “Connection Wizard” and select the “Microsoft ODBC Data Source” and then click “OK”

  1. In the “Data Source Specification” select the “Use user or system data source name” and from the drop-down select the recently created DSN source
  2. Enter the “User Name”, “Password” and then test your connection
  3. Once the connection is successful you can go ahead and use the PostgreSQL Database with UiPath.