Configure Salesforce as a Source

In this Article:

Overview 

Integrating Salesforce with DvSum allows users to analyze CRM data, generate reports, and ensure data governance. This guide outlines the steps to configure Salesforce as a source in DvSum.

Step-by-Step Configuration

1. Configure a Connected App in Salesforce

Open the browser, navigate to salesforce.com, and log in.

 

1.jpg

 

Navigate to Setup → Apps → AppManager to create an app.
Tip: Use the Quick Find box. 


1.2.jpg

 

In the Connected Apps section, click "New Connected App".
1.3.jpg

 

Enter a name to be displayed to users when they log in to grant permissions to your app, along with a contact email address.


1.4.jpg

Enable OAuth Settings, and enter the relevant value in the Callback URL box:

For Data Intelligence:
https://apis.dvsum.ai/data-sources/sources/salesforce/saveVerifierCode

1.5.jpg
 

Select the scope of permissions that your app should request from the user. Save the changes and Continue to the next screen.
1.6.jpg

Click your app name to open a page with information about your app. Note the OAuth client credentials. These properties are needed to add Salesforce as a source in DvSum DQ:

  • Consumer Key
  • Consumer Secret

1.7.jpg

2. Configure Permission Sets in Salesforce

To connect to Salesforce, the user must have the necessary permissions to call Salesforce APIs. This is achieved by configuring the appropriate properties within the relevant Permission Set.

The Permission Set can be accessed through one of the following paths (the interface layout may vary depending on whether Lightning Experience or Classic view is used, but the navigation remains the same):

  • ADMINISTRATION → Users → Permission Sets → <permission_set>
  • ADMINISTRATION → Users → Users → <user> → Permission Set Assignments → <permission_set>

Once there, enable System Permissions → API Enabled to grant access to any Salesforce.com API.

API Enabled.png

Once the Connected App and Permission Set are configured, you can proceed with setting up DvSum.

Adding Salesforce as a Data Source in DvSum

Step 1: Add a New Source

  1. Navigate to the Data Sources tab.
  2. Click Add Source.
  3. Select Salesforce as the source type.
  4. Provide a Source Name and click Save.

Step 2: Environment Assignment

If Environments are enabled in the application, users can assign the Data Source to an Environment (for example, Development, UAT, or Production) and associate it with a Logical Source.

Environment assignment helps organize Data Sources across different deployment stages, while Logical Sources represent the same business dataset across multiple environments. Together, they support environment-aware asset promotion and management.

To assign an Environment and Logical Source:

  1. Open the Data Source details page --> Settings --> General.
  2. Select the appropriate Environment.
  3. Select or create a Logical Source, if applicable.
  4. Save the changes.

For detailed information about configuring and managing Environments and Logical Sources, refer to the Environment Management article.

Step 3: Configure Connection Settings

  1. Open the newly created source.
  2. Enable On-Premise Web Service.
  3. Select the appropriate SAWS (if applicable).
  4. (Optional) Enable Sandbox Mode and enter the sandbox URL.
  5. Enter the Client ID and Client Secret from the Salesforce Connected App.
  6. Click Authenticate.
  7. Log in to Salesforce when prompted.
     

Note: By Default the SAWS type will be cloud. For more information regarding Cloud SAWS, click here

Step 4: Save the Configuration

  1. Once authenticated, return to the source settings page.
  2. Click Done (top-right corner).
  3. Click Save.

Note: By Default the SAWS type will be cloud. For more information regarding Cloud SAWS, click here

Step 3: Once the Authenticate button is clicked, it will redirect to a new tab and open the Salesforce login page. Login to the salesforce account. Once the login step is complete, it will redirect back to the source detail page and there user will see that the source is authenticated successfully. 

Step 4: After the credentials are authenticated, we need to save the source. For that, scroll up to the top. From the top right corner click on the “Done” button.

mceclip7.png

 

After that click the “Save” button. The source will get saved successfully.

mceclip8.png
Note: When adding or editing a Data Source, if incorrect details or invalid credentials are entered, it will still allows to save the Data Source. However, authentication will fail, and the Data Source will be marked as unusable with a red icon. The Data Source will not be usable until the correct credentials are provided.

The connection is saved, but it cannot be used until valid authentication details are updated.

Running a Data Scan

Step 1: Start a Scan

  1. Navigate to Scan History.
  2. Click Scan Now.
  3. A job will be created to fetch data from Salesforce.

mceclip10.png

 

After the scan completion, click on Scan Name and it will open the Scan Summary page of this scan.

mceclip11.png

 

Step 2: Review Scan Results

  1. Once the scan completes, click on the Scan Name.
  2. The Scan Summary page will display:
    • New tables and columns were fetched.
    • Data insights.
  • After the scan completion, click on Scan Name and it will open the Scan Summary page of this scan.

 

mceclip12.png

To explore table details, go to the Dictionaries dropdown and select the Data Dictionary → Recently Refreshed.

Click on any table name to view details.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk