# PostgreSQL

> Connect to external PostgreSQL databases and sync table data into your Filament warehouse for analysis.

Connect your PostgreSQL database and choose the tables to replicate. We copy them into your warehouse as-is and keep them in sync, so you can query them alongside the rest of your data.

## Data we sync

- **Your tables**: We replicate the tables you select, with their original columns and types. (`Your schema, preserved`)

## How do I connect PostgreSQL?

You need a PostgreSQL connection string for a database reachable by Filament. Use a dedicated account with read access to the tables you need.

1. Open [Apps](https://filamentanalytics.com/apps) in Filament and add **PostgreSQL**.
2. Enter your connection string. Filament checks the connection.
3. Choose a schema and select the tables to replicate.
4. Add context about your tables and complete setup.
