> 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/mysql/authorize-mysql.md).

# Authorize MySQL

Authorize your MySQL 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 MySQL in the Create New Sync page in Stacksync.

<figure><img src="https://3057949906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDSqHwwR8lD3JUWz3E9NH%2Fuploads%2Fgit-blob-c7140f729842c1885a17c3e3901a8cb8eff30a1d%2Fdocs_mysql-1.jpeg?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3057949906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDSqHwwR8lD3JUWz3E9NH%2Fuploads%2Fgit-blob-0774aa427593a1d4f5417d7d0419cfc433189160%2Fdocs_mysql-2.jpeg?alt=media" 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://3057949906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDSqHwwR8lD3JUWz3E9NH%2Fuploads%2Fgit-blob-34d4b7c32c6ddf3c36f3fea75c85ea5d3cd0c3cd%2Fdocs_mysql-3.jpeg?alt=media" 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://3057949906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDSqHwwR8lD3JUWz3E9NH%2Fuploads%2Fgit-blob-337d6e351a200f66b7a8020165d5f5f792361a02%2Fdocs_mysql-4.jpeg?alt=media" alt=""><figcaption></figcaption></figure>

**5. Click 'Authorize App'**

<figure><img src="https://3057949906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDSqHwwR8lD3JUWz3E9NH%2Fuploads%2Fgit-blob-7bab2cc49d63d801af0bd9b36dcd45ea7deb6bc9%2Fdocs_mysql-5.jpeg?alt=media" 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.
