Mixedbread
Connectors

Salesforce Connector

The Salesforce connector imports records from selected object types into a Store. It uses Salesforce's Client Credentials Flow and accesses data as a configured Run As user.

Before you beginLink to section

You need:

  • access to Salesforce Setup and External Client App Manager;
  • permission to create and configure an External Client App;
  • a Salesforce user whose record access matches the data you want to import; and
  • a Mixedbread organization with access to Data sources.

Create the Salesforce External Client AppLink to section

In Salesforce, open Setup. From Quick Settings, select Open Advanced Setup, then open External Client App Manager.

Salesforce Quick Settings menu showing Open Advanced SetupSalesforce Setup sidebar showing External Client App Manager

Create an app, provide its name and contact email, and continue to the API settings.

Under API, enable OAuth Settings and enter this callback URL:

https://api.mixedbread.com/v1/integrations/salesforce/oauth/callback

Add the Manage user data via APIs (api) scope.

Salesforce External Client App OAuth settings with callback URL and API scope selected

Under Flow Enablement, turn on Client Credentials Flow, then create the app.

Salesforce OAuth Flow Enablement setting for Client Credentials Flow

In External Client App Manager, open the app's Policies tab and edit its policies. Enable Client Credentials Flow, then choose the Run As username.

Salesforce External Client App policies showing Client Credentials Flow and Run As user

Open the app's Settings tab. Under OAuth Settings, select Consumer Key and Secret, then copy the Consumer Key and Consumer Secret.

Salesforce External Client App Settings tab showing the Consumer Key and Secret button

Connect SalesforceLink to section

In the Mixedbread Platform, open Data sources, select Create, and choose Salesforce.

Paste the Consumer Key and Consumer Secret from the External Client App.

Enter your organization's My Domain login URL, for example https://yourcompany.my.salesforce.com.

Select Manual, Every 10 minutes, Hourly, Daily, or Weekly.

Enter an optional Store name. Leave it blank to use salesforce-{your - org} .

Select Connect Salesforce.

Choose the Salesforce object types whose records should be imported.

Manage synchronizationLink to section

Open the Salesforce data source to:

  • search and filter available object types;
  • synchronize or exclude object types;
  • change the synchronization schedule;
  • use Sync now to check selected object types for new, changed, and deleted records; or
  • disconnect the Salesforce organization.

Turning off periodic synchronization leaves manual synchronization available. Excluding an object type or disconnecting Salesforce does not delete records already imported into the Store.

TroubleshootingLink to section

Authentication failsLink to section

Check the Consumer Key, Consumer Secret, and My Domain URL. Confirm that Client Credentials Flow is enabled both in the app settings and its policies.

No object types or records appearLink to section

Verify the Run As user and its object- and record-level permissions. Mixedbread cannot import data that user cannot access.

Changes are not appearingLink to section

Confirm that a periodic schedule is enabled or run Sync now. The manual sync checks selected object types for created, updated, and deleted records.