# AWS (RDS)

## Step 1: Find your database

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

<figure><img src="/files/76tmF5wEt26vuhIE3AhI" alt="Screenshot of the AWS RDS side panel"><figcaption><p>Databases page</p></figcaption></figure>

In this list, select your database:

<figure><img src="/files/lOrO08cQJuHen5D8Y6D6" alt="Screenshot of the AWS RDS database list"><figcaption><p>Database list in RDS</p></figcaption></figure>

## 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:

<figure><img src="/files/x0st1l4bjIMWLWUMLpag" alt="Screenshot of the AWS RDS endpoint and port information"><figcaption><p>RDS endpoint and port number</p></figcaption></figure>

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:

<figure><img src="/files/Gp3RdjgXcV3ddYi0tLG4" alt="Screenshot of AWS RDS database configuration"><figcaption><p>RDS configuration with the username</p></figcaption></figure>

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:

{% code overflow="wrap" %}

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

{% endcode %}

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

<figure><img src="/files/k0B6suZIO0hJ5TsovB6q" alt="Screenshot of the Whalesync Postgres connection dialog"><figcaption><p>Enter your Postgres connection URI into Whalesync</p></figcaption></figure>

## Caveats

Note that Whalesync does not yet support:

* Whitelisted IP addresses
* Custom SSL/TLS certificates

If you need these to connect to your instance, please [reach out and let us know](/resources/support.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.whalesync.com/connectors/postgres/authorize-postgres/aws-rds.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
