![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487ca21a394f56a82710105_at-pg-thumbnail.png)
If Postgres takes priority, choose Postgres as your primary source and Airtable as your secondary source. Otherwise, do the opposite
1. Choose your primary source
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c26d02b4544a36b8899a_postgres-1.png)
2. Connect Postgres
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c2d34e4c6422f5f2cd10_postgres-2.png)
3. Enter details found in connection URI, password, and preferred security settings
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c2e493a1a6d6bb727bca_postgres-3.png)
4. Write a query or send a full table from Postgres
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c32cc3473ff5e526cda9_postgres-4.png)
5. Connect to Airtable
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c64ec58d392b8a0e0139_airtable-1.png)
6. Add a base
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c6614ebc33f1083edc8f_airtable-2.png)
7. Grant access to the base
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c6724e4c6422f5f6a9de_airtable-3.png)
8. Choose a table to sync, or have Bracket generate the table for you (we can generate Postgres from an existing Airtable)
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c683c3473ff5e52ab988_airtable-4.png)
9. Click continue
10. Choose the direction to sync data in
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c69dc58d392b8a0e681f_sync-direction.png)
11. Map the fields in Airtable to the fields in Postgres
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c6b16d04c3bdf30bcc55_at-pg-fieldmap.png)
12. Choose how often the data should refresh
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c6bd805ae194315c0d83_sync-frequency.png)
13. Turn the toggle on to get syncing
![](https://assets-global.website-files.com/645912ad6182145b7d930abe/6487c6c579eff354ceca788b_active-toggle.png)