Salesforce Credentials
DataBlend Offers Two Ways to Connect:
Connect Using Credentials (Standard/SOAP)

If you do not know your Salesforce Security Token, log into Salesforce and click your name at the top of the screen to select Settings. On the left side of the page, navigate to Reset My Security Token and click the Reset Security Token button. A security token will be sent to your email in a few minutes. You will need this token to make API calls to Salesforce from your Mule applications. Save your security token in a secure place or repeat the steps for a different one.
|
Field Name |
Required/ Optional |
Description |
|---|---|---|
|
Name |
Required |
Provide a unique name for this credential. |
|
Environment |
Required |
Select Sandbox or Production. |
|
Use REST API |
Optional |
Toggle off to log in with username and password. |
|
Security Token |
Required |
Enter security token for the specific Salesforce user. |
|
Username |
Required |
Enter the Salesforce username. |
|
Password |
Required |
Enter the User password. |
Troubleshooting SOAP API connection:
This will likely be a necessary first step for anyone new to Salesforce. In Summer of '27, Salesforce will likely to remove this option.
- Switch to the Classic UI in Salesforce (top right corner under your user area).
- After your display reloads, click Setup in the top right corner to get to the admin area
- In the Quick Find box in the top left, type "User Interface"
- 2/3 down that list of options is the "Enable SOAP API login()" option.
- Check the radio button
- Scroll to the bottom and click Save.
At this point, you can switch back to the Lightning UI and the security token login should work.
Connect using REST API (for Report)
The REST API can be used to access objects that may not appear in the standard connection. DataBlend can establish a connection with any Salesforce Edition that supports API access:
- Enterprise Edition
- Unlimited Edition
- Developer Edition
- Performance Edition
- Professional Edition, however, the optional Web Services API add-on must be purchased and can be processed through an Account Executive
To establish a connection with Salesforce in DataBlend with REST API, first create DataBlend as a Connected App in Salesforce:
- Log into Salesforce and click on the gear icon to navigate to Setup.
- On the left Quick Find box, search for "App Manager" or under the PLATFORM TOOLS section, expand "Apps".
- On the upper-right, click on the "New External Client App" button and refer to Configure Basic Connected App Settings while completing the Basic Information section.
- See Enable OAuth Settings for API Integration for how to set up DataBlend as an app:
- Under the API (Enable OAuth Settings) section, be sure to checkmark "Enable Auth".
- The Callback URL is https://ml.datablend.com/api/plugins/salesforce/oauth.
- Verify appropriate scopes are enabled in Salesforce by referring to OAuth Tokens and Scopes.
- Under Flow Engagement, checkmark “Enable Client Credentials Flow”.

- When you understand the security risks, accept the warning
- Save your changes.
- Select an execution user for the flow.
Although there’s no user interaction in the client credentials flow, Salesforce still requires you to specify an execution user. By selecting an execution user, you allow Salesforce to return access tokens on behalf of this user.
Note Permitted Users policies, such as All users may self-authorize and Admin approved users are pre-authorized, don’t apply to the execution user- From the connected app detail page, click Manage.
- Click Edit Policies.
- Under Client Credentials Flow, for Run As, click , and find the user that you want to assign the client credentials flow. For Enterprise Edition orgs, we recommend that you select an execution user who has the API Only User permission.
- Save your changes.
- Navigate to “Settings” to toggle on “Connected Apps” and confirm that DataBlend is an app in the App Manager.

After Connection is established, toggle ON "Use REST API" in DataBlend Credentials.

To find the Client ID and Client Secret, log into Salesforce and navigate to the External Client App Manager, then select the DataBlend app. In the Settings tab, expand the OAuth Settings section, click on the Consumer Key and Secret button and enter the Verification Code to access the Consumer Key and Consumer Secret.
| DataBlend | Salesforce |
| Client ID | Consumer Key |
| Client Secret | Consumer Secret |
|
Field Name |
Required/ Optional |
Description |
|---|---|---|
|
Name |
Required |
Provide a unique name for this credential. |
|
Environment |
Required |
Select Sandbox or Production. |
|
Use REST API |
Optional |
Ensure that the Use REST API toggle is enabled for connecting using REST. |
|
Client ID |
Required |
Enter the Client ID. This is found within the Salesforce user account as Consumer Key. |
|
Client Secret |
Required |
Enter the Client Secret. This is found within the Salesforce user account as Consumer Secret. |
|
Access Token |
Optional |
Do not fill. This field will auto-fill upon valid connection. |
|
Refresh Token |
Optional |
Do not fill. This field will auto-fill upon valid connection. |