# Authorize MariaDB

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

#### 1. Select MariaDB 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%2F6RZ7S25a5pT79d0AZHuQ%2FScreenshot%202025-05-06%20at%201.13.15%E2%80%AFAM.png?alt=media&#x26;token=61d3596a-6219-406f-bd5a-e8d0378f3458" alt=""><figcaption></figcaption></figure>

**2. Add your MariaDB 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:**

[**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:**&#x20;

[**https://docs.stacksync.com/connectors/setup-options/ssh-tunneling/access-private-asw-rds-instance-through-jumpbox**](https://docs.stacksync.com/connectors/setup-options/ssh-tunneling/access-private-asw-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.
