Salesforce: Configuring the Interconnected Apps Integration

Prev Next

This article explains how to configure the Interconnected Apps integration for Salesforce.

Overview

Interconnected Apps provides you with visibility into third-party plugins connected to sanctioned SaaS applications. To provide Cato with visibility of data within an app, you need to set up an integration with the required application. For more information, see Viewing and Analyzing Interconnected Apps.

To configure the Interconnected Apps integration, you need to:

  1. Configure the integration within the SaaS application

  2. Create the API connector in the Cato Management Application (CMA)

A CASB license is required for Interconnected Apps. For more about purchasing a CASB license, please contact your Cato representative.

Configuring the Salesforce Integration

To configure the Salesforce integration, set up an External Client App in Salesforce and create a connector in the CMA.

Step 1: Configure the Integration in your Salesforce Account

Create an integration user, assign the required permissions, and configure an External Client App for OAuth 2.0 client credentials.

To create a user for the integration:

  1. Login to your Salesforce account (<your_tenant>.lightning.force.com)

  2. Click on the gear icon and click Setup.

  3. Search for Users

  4. Click New User

  5. Add the required details, with these configurations:

    • User License: Salesforce

    • Profile: Standard User

  6. Click Save.

To assign the user the required permissions:

  1. In your Salesforce account, search for Permission Sets.

  2. Click New.

  3. Enter the required fields and click Save.

  4. Click Edit, and add these permissions:

    • API Enabled

    • API Only User

    • Customize Application

    • Manage Connected Apps

    • Manage Custom Permissions

    • Password Never Expires

    • Run Reports

    • View all External Client Apps

    • View Dashboards in Public Folders

    • View Developer Name

    • View Event Log Files

    • View Reports in Public Folders

    • View Roles and Role Hierarchy

    • View Setup and Configuration

    • Modify Metadata Through Metadata API Functions

  5. Click Save.

  6. Click Manage Assignments > Add Assignment and choose the user created above.

To create the external client app:

  1. In your Salesforce account, search for External Client App Manager.

  2. Click New External Client App.

  3. Enter the required fields, with this configuration:

    • Distribution State: Local

  4. Expand API (Enable OAuth Settings) and select Enable OAuth.

  5. Configure these settings.

    • Callback URL: https://cc.catonetworks.com/redirect/cas/salesforce/callback

    • OAuth Scopes:

      • Manage user data via APIs (api)

      • Perform requests at any time (refresh_token, offline_access)

      • Access Analytics REST API resources (wave_api)

    • Flow Enablement: Check the Enable Client Credentials Flow checkbox

  6. Click Create.

  7. In the app’s page, navigate to Policies and click Edit.

  8. Under OAuth Policies > Plugin Policies > Permitted Users, select Admin approved users are pre-authorized.

  9. Under App Policies > Select Permission Sets select the permission set you created above.

  10. Under OAuth Flows and External Client App Enhancements select the Enable Client Credentials Flow checkbox.

  11. In Run As (Username), enter the integration user's Salesforce username.

  12. Click Save.

  13. In the app’s page, navigate to Settings > OAuth Settings > App Settings.

  14. Click Consumer Key and Secret and verify your identity if prompted.

    Copy and save the Consumer Key and Consumer Secret so they can be entered into the CMA.

  15. In Salesforce Setup, go to Company Settings > My Domain.

    Copy and save the Current My Domain URL so it can be entered into the CMA.

    Use this URL as the Base URL, including https://. For example, https://yourcompany.my.salesforce.com.

    For a sandbox, use its My Domain URL, such as https://yourcompany--sandboxname.sandbox.my.salesforce.com.

Step 2: Create the API Connector in the CMA

After you have set up an integration with the required application, add the details in the CMA.

To create the API connector in the CMA:

  1. From the navigation menu, click Resources > Integrations.

  2. Click the Configured Integrations tab.

  3. Click New.

    The New Integration panel opens.

  4. For SaaS Application, select Salesforce.

  5. In the Capability drop-down, select Interconnected Apps.

  6. Configure these settings.

    • Authentication: Select OAuth2 Client Credentials

    • Name: Enter a name for the integration

    • Description: Optionally, enter a description

    • Consumer Key: Enter the Consumer Key you saved in Step 1

    • Consumer Secret: Enter the Consumer Secret you saved in Step 1

    • Base URL: Enter the My Domain URL you saved in Step 1

  7. Click Save.

  8. In the Integrated Apps table, confirm that the connector status is Connected.

After connecting your APIs, you can track the interconnected apps on the Interconnected Apps page. Data may take a few minutes to appear.