Transcend Docs

Salesforce Integration Connection Guide

Getting started with the Salesforce integration and initial connection details

Overview

Transcend's Salesforce integration provides System Discovery, Structured Discovery, Classification, and DSR Automation functionality allowing businesses to:

  • Scan Salesforce to surface systems and tools connected to Salesforce
  • Identify and classify data stored in Salesforce, including custom data
  • Programmatically fulfill data subject requests (DSRs) against data stored in Salesforce, with the ability to customize data redactions

The integration has three plugins:

PluginWhat it does
System DiscoveryFinds the systems that connect to your Salesforce org.
Datapoint Schema DiscoveryScans your Salesforce schema and recommends each object and field as a datapoint. On by default.
Datapoint ClassificationSamples up to 50 records per object to label fields that hold personal data.

Regardless of whether the Salesforce integration will be used for structured data discovery, DSRs or both, the first step is to connect Salesforce to Transcend by authenticating the integration. After the integration is connected, structured data discovery and DSR features can be enabled in the Salesforce data system.

Prerequisites

The Salesforce integration is authenticated using the OAuth 2.0 protocol. You log in to Salesforce as a user, and Transcend then calls the Salesforce REST API as that user.

  • Connect with a Salesforce user that has the access you need. See Limiting Permissions with Salesforce Permission Sets for the permissions each feature needs.
  • Your Sombra cluster must run version 7.539.0 or later.
  • If you host Sombra yourself, use your own Salesforce app. Salesforce blocks a refresh token request from an outbound IP address that is not on Transcend's allowlist. Otherwise, send the outbound IP address of your Sombra to Transcend support.

Steps to Connect the Integration

  1. In the Admin Dashboard, go to Integrations and select or add the Salesforce data system.
  2. In the Connection tab, for Authentication method, choose Transcend's Salesforce app or Your own Salesforce connected app.
  3. If you chose Your own Salesforce connected app, create the app and enter its Consumer Key and Consumer Secret.
  4. For Is a Salesforce Sandbox, choose True to connect to a sandbox. Choose False otherwise.
  5. Choose the settings for the products you use. See Erasure settings and Preference Management settings.
  6. Select Connect with OAuth and log in to Salesforce.
  7. Review the permissions Salesforce lists for the integration. Transcend requests the api and refresh_token scopes. Accept them to finish authenticating the integration connection.

After authenticating the integration, DSR and Data Discovery functionality can be enabled in the data system. The following sections discuss use cases and setup for each.

Create your own Salesforce app

Salesforce no longer lets you create new connected apps by default. Create an External Client App instead. Existing connected apps keep working. Choose Your own Salesforce connected app in Transcend for either type.

Create an External Client App

  1. In Salesforce, open Setup, search for App Manager, and open it.
  2. Select New External Client App.
  3. Enter a name, an API name, and a contact email. Set Distribution State to Local.
  4. Under API (Enable OAuth Settings), select Enable OAuth.
  5. For Callback URL, enter both of these, one per line:
    • https://api.transcend.io/integration/salesforce/cb
    • https://api.us.transcend.io/integration/salesforce/cb
  6. Move api and refresh_token to Selected OAuth Scopes.
  7. Leave Require Secret for Web Server Flow and Require PKCE extension for Supported Authorization Flows on.
  8. Select Create.
  9. Open the app, select the Settings tab, and expand OAuth Settings. Select Consumer Key and Secret. Salesforce may email you a verification code.
  10. Copy the Consumer Key and Consumer Secret into the connection form in Transcend.

Use an existing connected app

Your org can keep using connected apps that it already has. Salesforce Support can also re-enable creating new ones.

  1. In Salesforce, open Setup and go to App Manager.
  2. Select New Connected App, then Enable OAuth Settings.
  3. Enter the same Callback URL values and the same api and refresh_token scopes as above.
  4. Leave Require Proof Key for Code Exchange (PKCE) and Require Secret for Web Server Flow on.
  5. Select Save, then Continue. A new app can take up to 10 minutes to work.
  6. Select Manage Consumer Details and copy the Consumer Key and Consumer Secret.

Allow Transcend's IP address

If a Salesforce login fails because of the IP address, open the app's OAuth policies in Salesforce. Under IP Relaxation, choose Relax IP restrictions. Salesforce applies IP rules only when the user's profile has IP ranges.

An External Client App also expires a refresh token after 30 days without use. Reconnect Salesforce if the integration loses access.

Limiting Permissions with Salesforce Permission Sets

There are multiple ways that the Salesforce integration can be used within Transcend. For the most expansive usage of the plugin, admin permissions are needed. However, it is possible to create a permission set within Salesforce to scope down the integration's access to only the specific objects that you plan to operate on.

Full Access: Structured Discovery & DSR Automation

In order to support both Structured Discovery and DSR Automation, the integration will need the ability to both read and write all objects in Salesforce. This allows the integration to discover all custom fields using the Structured Discovery plugins. Then, you can configure DSR Automation to delete or modify any of the objects that are identified as having personal data. The permission set required to do this is close to that of a full admin.

System Discovery

If the user is not using an admin profile, the profile settings of the user will need to have the Customize Application permission enabled. You can find this permission by navigating to the user, and then selecting System Permissions. Within System Permissions, you should be able to find the Customize Application permission.

Structured Discovery Only

In order to perform Structured Discovery in Salesforce, but not DSR Automation, it is possible to scope the integration down to simply have read access to the Salesforce objects and fields. With read access, you can index all the fields, pull sample data for each object, and even perform an Access request. Without write access, you will not be able to process data deletion or opt out requests into Salesforce.

Creating the Permission Sets

In order to create the permission set, you can do the following:

  • As an admin of the Salesforce account, navigate to Setup > Users > Permission Sets in order to create new Permissions

Navigate to Setup as an Admin

Navigate to Users then Permission Sets

  • Create a permission set, or update an existing permission set to have the relevant read/write access to the objects that you wish to process by selecting Object Settings in the permission set view.
    • For each object, select an Object permission:
    • Read access is required to perform Structured Discovery and process Data Access Requests for a particular object.
    • Delete access is required if you want to hard delete an object as a part of a Data Erasure request.
    • Edit access is required to redact an object as a part of a Data Erasure request, or if you want to persist opt out settings into Salesforce.

Select specific permissions for an Object

  • If field level access is needed, you can customize which Field Permissions you would like Transcend to have access to. In the case of an Erasure or Opt Out request, you will select fields that you decide to modify. Transcend can modify the fields that you specify, except fields that Salesforce does not let you update. These include formula fields, auto-number fields, and compound fields such as addresses.
  • In the Find Settings search bar, search for API Enabled and enable this for the permission set. The integration calls the Salesforce REST API, so every permission set needs this setting. There are prerequisites to this on the Salesforce side, such as which edition you have that supports this. You can read more in the Salesforce permission sets overview.

Select the API Enabled setting for the relevant Permission Sets

  • Assign the permission set to the user within Salesforce that will be used to connect the Salesforce instance to Transcend. This could be a service account or a real user.

Assign a user or service account to the permission set

  • Log in to the user or service account with the desired permission set and then connect Salesforce to Transcend. In the Admin Dashboard, go to Integrations, select Salesforce, and select Connect with OAuth.

Additional Guides

On this page