# Adding a Salesforce App

Add the Salesforce organization as an app so that you can perform backup and restore operations or configure archiving.

The procedure for adding a Salesforce organization varies based on your Commvault deployment type.

## Before You Begin

Commvault SaaS

Add permissions to Salesforce profiles for the Salesforce users who will perform the back up and restore operations.

Commvault software

- If you are an MSP and you want your tenant administrators to create the Salesforce app, see Managed Server Provider Configuration.

- Add a Connected App or External Client App in Salesforce.

- Only OAuth authentication is supported for Salesforce connections. This requires providing the Salesforce consumer key and consumer secret. Port 443 must be open for one-way communication between the Web Server and Salesforce Cloud.

  Important

  For new configurations in Commvault LTS Release 11.40 and later, OAuth authentication is mandatory. For existing configurations, username-password authentication is no longer supported and must be migrated to OAuth.

- Review the requirements for the Microsoft SQL server database or the PostgreSQL database, and then verify that you have the following database information:

  - The type of database

  - The client that hosts the database. The access node must be able to connect to it using a JDBC URL.

  - The database name

  - The credentials for a user who meets the access requirements

## Procedure

Commvault SaaS

1. From the Command Center navigation pane, go to Protect > Salesforce.

2. Go to the Organizations tab.

3. Click Add organization.

4. Select Backup, and then click Next.

5. For Region, select the region where you want to back up the Salesforce data, and then click Next.

6. For Connected app, choose how to authenticate with Salesforce:

   - Commvault Connected App (Recommended): Use the Commvault Cloud-hosted connected app pre-configured to authorize your Salesforce account.

   - Bring your own Connected App: Use your own Salesforce connected app credentials.

7. Enter a name for the Salesforce organization.

8. From the Environment list, select Production or Sandbox.

9. If you selected Bring your own Connected App:

   1. From the Connected app credentials list, select existing credentials or click Create new.

   2. If creating new credentials, add the Consumer key and Consumer secret, and then click Save.

10. Click Sign in with Salesforce, and then sign in to your Salesforce account.

11. Click Close, and then Next.

12. Select a backup plan, and then click Create.

Commvault software

1. From the Command Center navigation pane, go to Protect > Salesforce.

2. Go to the Organizations tab.

3. Click Add organization.

4. Select Backup, and then click Next.

5. Specify the access node and database information:

   1. From the Access nodes list, select an access node.

   2. For Download cache path, enter a path on the access node where data downloaded from Salesforce can be temporarily stored.

   3. From the Database type list, select the database type (PostgreSQL or Microsoft SQL Server).

   4. For Database host, enter the client that hosts the database.

   5. For Database name, enter the database name.

   6. For Database port, enter the port that you use to connect to the database.

   7. For Sync DB credentials, select existing credentials or create new ones.

   8. Click Test Connection to verify the database connection.

6. Click Next.

7. Enter a name for the Salesforce organization.

8. From the Environment list, select Production or Sandbox.

9. From the Connected app credentials list, select existing credentials or click Create new.

   If creating new credentials, add the Consumer key and Consumer secret, and then click Save.

10. Click Sign in with Salesforce, and then sign in to your Salesforce account.

11. Click Close, and then Next.

12. Select a backup plan, and then click Create.

×

Loading...