> 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

### 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="/files/ySSuMaJNLPdyrpBmI1QB" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/Gc0BZx5HWtS54wD0D3X2" 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="/files/LrxZJ6Q59TCFofI8YOeF" 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="/files/JRWT5YmcgoEX1ofo5muf" alt=""><figcaption></figcaption></figure>

**5. Click 'Authorize App'**

<figure><img src="/files/E1JBMAa0WNsyS21OBB8e" 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.
