--- title: "Salesforce: Configuring the App Activities Integration" slug: "salesforce-configuring-the-app-activities-integration" tags: ["CASB", "Internet Security"] updated: 2026-12-01T16:20:35Z published: 2026-12-01T16:20:35Z canonical: "knowledge.catonetworks.com/salesforce-configuring-the-app-activities-integration" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.catonetworks.com/llms.txt > Use this file to discover all available pages before exploring further. # Salesforce: Configuring the App Activities Integration This article explains how to configure the App Activities integration for Salesforce. ## Overview App Activities provides you with an API-based solution for out-of-band visibility of all activity made by any user in a connected SaaS application. To provide App Activities with visibility of data within an app, you need to set up an integration with the required application. Once you create the integration, if a field has changed or expired, you can edit it from the **Resources >Integrations > Integrated Apps** page. For more information, see [What is Application Control via API with App Activities](/v1/docs/what-is-application-control-via-api-with-app-activities). To configure the App Activities integration, you need to: 1. Configure the integration within the SaaS application 2. Create the API connector in the CMA A CASB license is required for App Activities. This license includes [app and data control](/v1/docs/what-is-the-unified-casb-solution) and App Activities via API. 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. ### Prerequisites - License for Salesforce Shield or Event Monitoring ### Step 1: Configure the Integration in your Salesforce Tenant 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. Sign in to Salesforce, click the gear icon, and select **Setup**. 2. Search for **Users** and click **New User**. 3. Fill in the required details and configure these settings. - **User License**: Salesforce - **Profile**: Standard User 4. Click **Save**. **To assign the user the required permissions:** 1. In Setup, search for **Permission Sets** and click **New**. 2. Enter a **Label** and **API Name**, then click **Save**. 3. Enable these permissions in the permission set. - View Event Log Files - Run Reports - View Dashboards in Public Folders - View Reports in Public Folders - Password Never Expires - API Enabled - API User Only - View All Data - Query All Files (“App Permissions” section) 4. Click **Save**. 5. Open **Manage Assignments > Add Assignment** and assign the permission set to the integration user. **Create the External Client App** 1. In Setup, search for **External Client App Manager** and click **New External Client App**. 2. Fill in the required fields in **Basic Information** and set **Distribution State** to **Local**. 3. Expand **API (Enable OAuth Settings)** and select **Enable OAuth**. 4. Configure the OAuth settings. - **Callback URL**: `https://cc.catonetworks.com/redirect/cas/salesforce/callback` - **OAuth Scopes** - Access the identity URL service - Manage user data via APIs - Perform requests at any time - **Flow Enablement**: Select **Enable Client Credentials Flow** 5. Click **Create**. 6. Open **Policies > Edit** and configure these settings. - **Plugin Policies > Permitted Users**: Select **Admin approved users are pre-authorized** - **App Policies > Select Permission Sets**: Select the permission set you created above - **OAuth Flows and External Client App Enhancements**: Select **Enable Client Credentials Flow** - **Run As (Username)**: Enter the integration user's Salesforce username 7. Click **Save**. 8. Open **Settings > OAuth Settings > App Settings > Consumer Key and Secret** and verify your identity if prompted. 9. Copy and save the **Consumer Key** and **Consumer Secret** so they can be entered into the CMA. 10. In Salesforce Setup, go to **Company Settings > My Domain**. 11. 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 **Integrated Apps** tab. 3. Click **New**. The **New Integration** panel opens. 4. For **SaaS Application**, select **Salesforce**. 5. In the **Capability** drop-down, select **App Activities**. 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 App activities in the [Cloud Apps dashboard](/v1/docs/using-the-cloud-activity-dashboard). Data may take a few minutes to appear. ### Known Limitations - All activities (Event Types in SalesForce) are fetched ### Sources - **ListEventLogFile** - Querying event log file paths - **DownloadEventLogFile** - Querying log files - **DownloadEventLogFile** - Querying log files - **DocumentInfo** - Querying Document enrichments - **UserInfo** - Querying User enrichments - **GroupInfo** - Querying Group enrichments - **AssetInfo** - Querying Asset enrichments