# Step 3: Add a Connection

### Add a Database Connection

To add a database, select the relevant database from the list of connectors. Once chosen, click on the **'+'** icon associated with the selected database.

You will be prompted to provide the following details:

1. **User**\*&#x20;
2. **Account**\*
3. **Database**\*&#x20;
4. **Password**
5. **Schema**
6. **Role**
7. **Warehouse**
8. **Passcode**&#x20;
9. **Authenticator**
10. **Private Key Path**
11. **Private Key Passphrase**&#x20;
12. **Max Chunk Download Workers**
13. **Custom JSON Decoder Enabled**&#x20;
14. **Copy Method**

Once the necessary details have been entered, click **'Connect Database'** to establish the connection.

<figure><img src="https://1640066561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3UjpVP9YQLo2slTy7qQ1%2Fuploads%2F8gVeFdePd8dMm4fvy0UB%2Fimage.png?alt=media&#x26;token=4c01c8ca-15bd-4b0f-b825-f68cf9831624" alt=""><figcaption></figcaption></figure>

**Note:** Fields marked with an asterisk (\*) are mandatory. Input requirements may vary depending on the database selected.

### Add a Cloud Storage Connection

For cloud storage services, follow a similar process. Choose the relevant cloud storage option, click on the **'+'** icon, and provide the required information:

1. **Container\***
2. **Account**\*
3. **Shared Access Signature URL**
4. **Connection String**

Once the necessary details have been entered, click **'Connect Database'** to establish the connection.

<figure><img src="https://1640066561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3UjpVP9YQLo2slTy7qQ1%2Fuploads%2FM1ld1VasY8epca8YKzPx%2Fimage.png?alt=media&#x26;token=6acb1d5d-4be0-4bf4-82c7-a68745e8b8ed" alt=""><figcaption></figcaption></figure>

> **Note:** The required fields may differ depending on the cloud storage provider you're connecting to.

### Add a File

1. Go to the **File** tab, located below the **Database** category.

<figure><img src="https://1640066561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3UjpVP9YQLo2slTy7qQ1%2Fuploads%2FHCKckeUr1cxUD5IMkVbi%2Fimage.png?alt=media&#x26;token=6f4befdc-f0ce-4673-a140-d6ce899d17d8" alt="" width="224"><figcaption></figcaption></figure>

2. Click on the **Upload File** button. A prompt will appear for you to select a file from your local machine.

   **Supported File Types**:

   * `.csv`
   * `.xlsx`
   * `.json`
   * `.parquet`
3. Once your file is selected, click **Upload File** again to finalize the upload.
