# Postgres

Add your Postgres database as an external catalog in Altertable to query and analyze it alongside your other data sources.

To add a new Postgres external catalog:

1. Navigate to the **Catalogs** section in the dashboard

2. Click **New catalog**

3. Select **PostgreSQL** as the engine

4. Fill in the connection details:

   - **Host**: The hostname or IP address of your Postgres server
   - **Port**: The port number (default: 5432)
   - **Database**: The name of the database to connect to
   - **Schema** (optional): The name of the schema to connect to
   - **Username**: Your Postgres username
   - **Password**: Your Postgres password

5. Click **Save**

![New PostgreSQL connection form](/screenshots/components-connectionform--postgres-empty.png)

*New PostgreSQL connection form*

Once added, you can start querying your Postgres data through Altertable's SQL engine.