---
title: "Set up DataSync Agent to share to PostgreSQL"
canonical: "https://docs.perspectium.com/space/Krypton/721293/Set%20up%20DataSync%20Agent%20to%20share%20to%20PostgreSQL"
format: markdown
---
You can configure your  DataSync Agent  to share data from ServiceNow or Salesforce to a PostgreSQL database by changing some additional  configurations in your  agent.xml  file .  Prerequisites  First, you will need to  Install the DataSync Agent .  You will also need to  create a ServiceNow dynamic share/bulk share .   Make sure to  stop running your DataSync Agent  before making any Agent configuration changes.   Finally, you will need to create a database in PostgreSQL that will store data replicated via the DataSync Agent. Procedure To set up your  DataSync Agent  to share application data to a PostgreSQL database, follow these steps: