# Salesforce External Client App for Integrating with APIs

To integrate the Commvault software with Salesforce APIs, in Salesforce you must create an external client app that uses the OAuth authorization protocol.

Note

When you create the external client app, record the Consumer Key and the Consumer Secret. You will enter those values when you add the Salesforce organization to the Commvault software.

## Procedure

1. Login to your Salesforce org.

2. Navigate to Apps > App Manager.

3. Click New External Client App.

4. In the External Client App Manager page, do the following:

   1. For External Client App Name, enter a unique name.

   2. For API Name, the value is auto-populated.

   3. For Contact Email, enter the email address.

   4. For Distribution State, select Local. To deploy the app on other orgs, select Packaged.

5. Select Enable OAuth.

6. For Callback URL, enter `https://$[*Command Center_webhost*]/commandcenter/#/oauthCallback/`.

7. For OAuth Scopes, select Full access (full) and Perform requests on your behalf at any time (refresh_token, offline_access).

8. Select the Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows, Enable Refresh Token Rotation, and Limit Idle Refresh Token Time-to-Live (TTL) to 30 Days options.

9. Click Create.

10. After the app is created, edit the app.

11. On the Policies tab, under OAuth Policies, select the Refresh token is valid until revoked option.

12. Click Save.

×

Loading...