# Deploy S3 Connector Metadata with Salesforce CLI

Use Salesforce CLI to deploy the metadata package.

Complete the prerequisite of [Creating the S3 Connectors Package for Deployment](/docs/data/data-cloud-int/references/data-cloud-s3-ref/c360-a-rotate-s3-credentials.md)

1. Use this command to deploy the S3 connector package.

   :::note
   When deploying to a production instance of Salesforce the testing level must be declared by adding [--test-level](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_project_commands_unified.htm#cli_reference_project_deploy_start_unified). In most cases, the test level is `RunLocalTests`. This option runs the fewest tests.
   :::

   ```nolang
   sf project deploy start --verbose --single-package --target-org <Username from Login> --wait 1 --metadata-dir s3Connectors.zip
   ```

   ```nolang
   Deploying <version specified in manifest> metadata to <org> using the v59.0 SOAP API.
   Deploy ID: 0Af8D00000r5EhGSAU
   Status: Succeeded | ████████████████████████████████████████ | 3/3 Components (Errors:0) | 0/0 Tests (Errors:0)

   Deployed Source
   =================================================================================================================================
   | State    Name                                Type            Path
   | ───────  ─────────────────────────────────   ──────────────  ───────────────────────────────────────────────────────────────────
   |          package.xml
   | Created  Contact_Contact_Point_Addr_DTX_01   DataConnectorS3 s3DataConnectors/Contact_Contact_Point_Addr_DTX_01.s3DataConnector
   | Created  Contact_Contact_Point_Email_DTX_01  DataConnectorS3 s3DataConnectors/Contact_Contact_Point_Email_DTX_01.s3DataConnector
   | Created  Contact_Contact_Point_Phone_DTX_01  DataConnectorS3 s3DataConnectors/Contact_Contact_Point_Phone_DTX_01.s3DataConnector
   ```

Proceed to [Verify the Metadata Deployment](/docs/data/data-cloud-int/references/data-cloud-s3-ref/c360-a-rotate-s3-credentials.md).
