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

# Authorize Postgres

You can also watch a quick video on how to authorize Postgres

{% embed url="<https://youtu.be/J4Q09Vt57h8>" %}

## Adding Credentials to Stacksync

#### 1. Select Postgres in the Create Sync page in Stacksync.

<figure><img src="/files/x5EPjEkA2n0VoCWeLgOZ" alt=""><figcaption></figcaption></figure>

#### 2. Add your Postgres credentials as Connection String or as Parameters.

<figure><img src="/files/8bKA9YfMKFKjQTOxA4D5" alt=""><figcaption></figcaption></figure>

#### 3. (Optional) Upload your SSL Root Certificate file

<figure><img src="/files/v8SAG6rsnVHboHtBiDqq" alt=""><figcaption></figcaption></figure>

#### 4. (Optional) Add SSH user and SSH host

<figure><img src="/files/y9hDGxbpThwFUtM3Ikbj" alt=""><figcaption></figcaption></figure>

#### 5. Click "Authorize App"

<figure><img src="/files/noftXEA8i27Gbeql3Fre" alt=""><figcaption><p>Click "Authorize App"</p></figcaption></figure>
