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:
- 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.

- Now create and configure the DNS using ODBC driver with PostgreSQL driver
- In Windows, search for “ODBC Data Sources (32-bit)” and open it
- In the “User DSN” tab click on the “Add New” button
- Select “PostgreSQL Unicode” and click on “Finish”.
- A new Configuration window will appear. Fill in the required details into it and then test if the connection is successful
- Once the connection is successful, go ahead and use PostgreSQL with UiPath.
- Open UiPath Studio and drag a “Connect” activity from Database Package
- Click on “Connection Wizard” and select the “Microsoft ODBC Data Source” and then click “OK”
- 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
- Enter the “User Name”, “Password” and then test your connection
- Once the connection is successful you can go ahead and use the PostgreSQL Database with UiPath.







