> 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/two-way-sync/connectors/mariadb/authorize-mariadb.md).

# Authorize MariaDB

Authorize your MariaDB app and start syncing data with Stacksync

### 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&amp;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%2FvFCA0WvNTBKk4uyokl7c%2Fdocs_mysql-2.jpeg?alt=media&amp;token=13b9cf30-cd5d-4bb8-b3b9-82c7554c27ef" 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%2Fea3wwVOrZsDlwhpGPgjl%2Fdocs_mysql-3.jpeg?alt=media&amp;token=d78fd1e9-6d7c-419f-883d-350dbe23dd04" 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/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%2FkezNttfZmFep7zm6jLJ8%2Fdocs_mysql-4.jpeg?alt=media&amp;token=66dbc8ee-89cd-4f1f-822f-6bb81dae4d0b" 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%2FvMvyKYITBp66A1kQfB3L%2Fdocs_mysql-5.jpeg?alt=media&amp;token=507b46e2-3091-465a-b87d-0c720f913023" 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.
