Skip to content

Connect data / Integrations

Salesforce

Connect a Salesforce org to report on accounts, opportunities, cases, activities and custom objects. You create a Local External Client App in your own org, then sign in with it. Resplendent only reads, and the connected user’s profile and permission sets decide which objects and fields it can see.

You need:

  • A Salesforce administrator for the org you’re connecting.
  • My Domain set up in that org.
  • A Salesforce user who can read the objects and fields you want to sync.
  • Pop-ups allowed for Resplendent, for the sign-in window.

Every Salesforce org needs its own Local External Client App. Resplendent doesn’t use a shared Salesforce app.

Create the External Client App in Salesforce

Section titled “Create the External Client App in Salesforce”
  1. In Salesforce, open Setup and search Quick Find for External Client App Manager.

  2. Click Create New External Client App. Give it a name such as Resplendent Data and an admin contact email.

  3. Set Distribution State to Local.

  4. Under API (Enable OAuth Settings), turn on OAuth.

  5. Enter the callback URL. Copy it from the Callback URL row on Resplendent’s Salesforce connection form; for app.resplendentdata.com it’s:

    https://app.resplendentdata.com/integrations/oauth/salesforce-oauth-callback
  6. Add these OAuth scopes:

    • Manage user data via APIs (api)
    • Perform requests at any time (refresh_token, offline_access)
    • Access unique user identifiers (openid)
  7. Leave Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows on, and save.

  8. Back in External Client App Manager, open the app, go to the Policies tab, and set the refresh token policy to Expire refresh token if not used for specific time, with a limit of 30 days. Save.

  9. In the app’s OAuth settings, copy the Consumer Key and Consumer Secret.

Keep the Consumer Secret private. Resplendent stores it encrypted once you save the connection.

  1. Open Settings → Integrations.
  2. Find Salesforce and click Connect.
  3. Under Salesforce Org, choose Production or Developer for production and Developer Edition orgs, or Sandbox.
  4. Paste the Consumer Key and Consumer Secret.
  5. Click Sign In, log in to Salesforce in the new window, and approve access.
  6. When the form shows Salesforce is authorized., enter a Connection Title and click Save & Test.
  7. Click Sync Dataset and choose what to sync.

If Salesforce rejects the Consumer Key before its login page opens, click Advanced options and enter your org’s My Domain login address as the Custom Login URL, such as https://your-domain.my.salesforce.com.

Dataset names are Salesforce API names. Standard objects appear when they’re queryable in your org. Custom objects appear when their API name ends in __c and they’re queryable, not hidden and not deprecated.

Area Datasets
CRM core Account, Contact, Lead, Opportunity
CRM history and stages AccountHistory, ContactHistory, LeadHistory, LeadStatus, OpportunityFieldHistory, OpportunityHistory, OpportunityStage
CRM relationships AccountContactRelation, AccountTeamMember, OpportunityContactRole, OpportunitySplit, OpportunityTeamMember
Marketing Campaign, CampaignMember, CampaignMemberStatus
Support cases Case, CaseContactRole, CaseHistory, CaseMilestone, CaseStatus, CaseTeamMember, CaseTeamRole
Activities and messages Task, TaskRelation, Event, EventRelation, EmailMessage, EmailMessageRelation, Note
Products and pricing Product2, Pricebook2, PricebookEntry
Orders, quotes and contracts Order, OrderHistory, OrderItem, Quote, QuoteLineItem, Contract, ContractHistory, ContractLineItem, ServiceContract
Service work Asset, Entitlement, EntitlementContact, ServiceAppointment, WorkOrder, WorkOrderLineItem, WorkType
Users and permissions User, UserRole, Profile, PermissionSet, PermissionSetAssignment
Groups, queues and setup BusinessProcess, Group, GroupMember, QueueSobject, RecordType
Territories Territory2, Territory2Model, Territory2Type, ObjectTerritory2Association, UserTerritory2Association
Custom objects Queryable __c objects
Files Files

Files has one row per Salesforce Files link: the parent record, the file, its latest published version, file name, size and whether it can be downloaded. Use it to catch new attachments or new versions even when the parent record didn’t change, such as a quote PDF that a workflow should pass on. To fetch the file itself, use a Download File step in a workflow.

The connected user needs Query All Files, View All Data and View All Records. Without them, the Files sync reports what’s missing. File contents, legacy Attachment records, enhanced notes and embedded rich-text images aren’t synced, and ContentDocument and ContentVersion aren’t separate Datasets.

Column names are Salesforce field API names, and labels come from Salesforce. Every supported field the user can see appears in the column picker, including custom __c fields, even if the preview didn’t fetch a value for it. Boolean, integer, currency, double, percent, date and date-time fields keep their Salesforce types; other supported fields are text. Hidden and deprecated fields, and base64, address and location fields, are skipped.

Most Datasets sync incrementally, keyed on Id. Resplendent tracks changes with the first of SystemModstamp, LastModifiedDate or CreatedDate that the object has, and rereads a two-minute overlap each time. Objects without any of these sync in full instead. Incremental syncing can’t be turned off for objects that support it, but you can pause scheduled syncs.

Dataset type Default interval Fastest
Incremental objects 10 minutes 1 minute
Files 1 minute 1 minute
Full-sync objects Daily Daily

Your plan’s refresh limits also apply. Older Datasets keep the schedule they were created with until you edit their sync frequency.

Large objects take several syncs to finish their first load. A nightly resync replaces each Dataset and reloads it, which removes records deleted in Salesforce. It’s on by default for new Datasets; turn it on for older ones if you need deletions to disappear. Regular syncs don’t check for deletions.

Most joins use Salesforce IDs:

From To
Account.Id Contact.AccountId, Opportunity.AccountId
Opportunity.Id OpportunityLineItem.OpportunityId
Case.Id EmailMessage.ParentId
User.Id OwnerId, CreatedById, LastModifiedById
RecordType.Id RecordTypeId on business objects

Some fields can point at several object types. For example, Note.ParentId can be an Account, Contact, Opportunity, Case, Lead or another object, so join it to the one you’re analyzing. For many-to-many relationships, use helper Datasets such as AccountContactRelation, OpportunityContactRole, TaskRelation, EventRelation, CampaignMember, GroupMember and the territory assignments.

Problem What to do
The sign-in window doesn’t open Allow pop-ups for Resplendent, then click Sign In again.
invalid_client_id or client identifier invalid Check that the Consumer Key is from the Local External Client App in this org, that Salesforce Org is right, and give Salesforce a few minutes to publish a new app. If it still fails, set a Custom Login URL.
“Cross-org OAuth flows are not supported” The Consumer Key belongs to an app in another org. Create a Local External Client App in the org you’re connecting, and use its key and secret.
“External client app is not installed in this org” You logged in to a different org from the app’s. Check Salesforce Org and use an app created in the target org.
Redirect URI mismatch Copy the callback URL from Resplendent’s form into the app again. It must match exactly.
Missing or wrong scopes Make sure the app has api, refresh_token/offline_access and openid, then sign in again.
Authorization fails after login Choose Sandbox for sandbox logins.
Syncs fail after working before The user may have revoked access, the refresh token policy may expire tokens, or the app’s credentials may have changed. Update the Consumer Secret if needed and sign in again.
A Dataset is missing The object may not be queryable in your org, may be hidden or deprecated, or isn’t in the standard list. Queryable __c objects appear automatically.
A field is missing Check the user’s object and field permissions. Hidden, deprecated, base64, address and location fields aren’t synced.
Data is incomplete after the first sync Large objects are still loading. Let the first load finish.
Deleted records still appear Turn on nightly resync for the Dataset, or resync it.
The Files sync reports missing permissions Give the connected user Query All Files, View All Data and View All Records, then retry.