> For the complete documentation index, see [llms.txt](https://docs.whalesync.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whalesync.com/sync/connectors/postgres/authorize-postgres/aws-rds.md).

# AWS (RDS)

Find your Amazon RDS endpoint, port, and username, build the Postgres connection URI for Whalesync, and allowlist Whalesync's IP in your security group.

## Step 1: Find your database

Navigate to the AWS RDS dashboard. In the left panel you should see "Databases":

![Screenshot of the AWS RDS side panel](<https://docs.whalesync.com/_astro/image%20(17).DSxDM8Pq_1HI9yv.webp> "Databases page")

In this list, select your database:

![Screenshot of the AWS RDS database list](<https://docs.whalesync.com/_astro/image%20(22).-PCiOS2c_Z1W3IPW.webp> "Database list in RDS")

## Step 2: Construct the connection URI

On the main database page, you should have the "Connectivity & security" tab selected. Note the endpoint and port number:

![Screenshot of the AWS RDS endpoint and port information](<https://docs.whalesync.com/_astro/image%20(16).BcTXGJUN_2aOcJq.webp> "RDS endpoint and port number")

Next under the "Configuration" tab, look up the username. You can also create a different user for Whalesync to connect, but for simplicity we'll use the master username:

![Screenshot of AWS RDS database configuration](<https://docs.whalesync.com/_astro/image%20(11).BwqMCevQ_Z1OST7g.webp> "RDS configuration with the username")

The password was set when the database was originally created. Please ask whoever set up the database for the connection password.

Finally, construct the connection URI like this and replace `YOUR_PASSWORD` with the password:

```text
postgresql://postgres:YOUR_PASSWORD@postgres-connector-test.000000000000.us-east-1.rds.amazonaws.com:5432/postgres
```

This is the string you will paste into the Whalesync Postgres connection dialog:

![Screenshot of the Whalesync Postgres connection dialog](<https://docs.whalesync.com/_astro/image%20(19).BUYRHoja_ZPOtxs.webp> "Enter your Postgres connection URI into Whalesync")

## Caveats

If your database only accepts connections from known IP addresses, allowlist Whalesync's static IP. See [Allowlisting Whalesync IP addresses](https://docs.whalesync.com/resources/support/allowlist-ip.md).

Note that Whalesync does not yet support custom SSL/TLS certificates. If you need them to connect to your instance, please [reach out and let us know](https://docs.whalesync.com/resources/support.md).
