# Authorize MySQL

### Adding Credentials to Stacksync <a href="#adding-credentials-to-stacksync" id="adding-credentials-to-stacksync"></a>

#### 1. Select MySQL in the Create New Sync page in Stacksync.

<figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FSsioLydrR3H1BQl9pSMi%2Fdocs_mysql-1.jpeg?alt=media&#x26;token=284eca53-5dc2-415a-838f-5b86c0186082" alt=""><figcaption></figcaption></figure>

**2. Add your** MySQL **credentials as Connection String or as Parameters.**

<figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FJpBWmxn5vyFTwxYZ3Yi0%2Fdocs_mysql-2.jpeg?alt=media&#x26;token=5dfd049b-1edc-44b5-958a-d74418c4871a" alt=""><figcaption></figcaption></figure>

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

**More details on how to retrieve your SSL Certificate:**&#x20;

[**https://docs.stacksync.com/connectors/postgres/authorize-postgres/amazon-rds/ensuring-secure-rds-connections-with-ssl-certificate**](https://docs.stacksync.com/connectors/postgres/authorize-postgres/amazon-rds/ensuring-secure-rds-connections-with-ssl-certificate)

<figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FcojeCa7UgV1QiW1fWZuh%2Fdocs_mysql-3.jpeg?alt=media&#x26;token=b3afc341-8334-4f9e-92cd-cb3ffffdc7ec" alt=""><figcaption></figcaption></figure>

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

**More details on how to set up a SSH tunnel to connect to your RDS instance:** [**https://docs.stacksync.com/connectors/postgres/authorize-postgres/amazon-rds/access-private-rds-instance-through-jumpbox**](https://docs.stacksync.com/connectors/postgres/authorize-postgres/amazon-rds/access-private-rds-instance-through-jumpbox)

<figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FDSRRaEkYRMjCKUYIgG3T%2Fdocs_mysql-4.jpeg?alt=media&#x26;token=a02811f8-863f-45c5-a8d8-89f5fba336db" alt=""><figcaption></figcaption></figure>

**5. Click 'Authorize App'**

<figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2F2mJCeAbp670XoQKtw4Al%2Fdocs_mysql-5.jpeg?alt=media&#x26;token=9dc733df-5119-47a6-ad8a-7aa519bb506c" alt=""><figcaption></figcaption></figure>

If you have any questions or need further assistance, reach out to us at <hello@stacksync.com>. We’re here to help ensure a seamless and secure database connection setup.
