Skip to main content
Deal Brain connects to Salesforce as a Connected App. A Salesforce Admin must approve the integration before users can authenticate.

Common errors

If you see any of the following errors when attempting to log in, access has not yet been granted by your Salesforce Admin:
  • OAuth App Blocked
  • OAuth Error
  • OAUTH_APPROVAL_ERROR_GENERIC
To resolve this, work with your Salesforce Administrator or Operations team to complete the steps below.

Admin approval flow

1

Confirm Deal Brain is installed as a Connected App

In Salesforce, go to Setup → Apps → Connected Apps → Connected Apps OAuth Usage, find Deal Brain, and click Install.Connected Apps OAuth Usage in Salesforce showing Deal Brain installed
2

Configure user access

Once installed, click Manage App Policies and ensure Permitted Users is set to All users may self-authorize (default).OAuth Policies showing Permitted Users set to All users may self-authorize
3

Re-authenticate in Deal Brain

After policies are updated, users can log back into Deal Brain and re-authenticate with Salesforce successfully.

Permissions

Deal Brain requests the following OAuth scopes:
ScopePurpose
emailIdentify the authenticated user
openidIdentify the authenticated user
profileIdentify the authenticated user
apiRead and write Salesforce data
offline_accessMaintain access without requiring re-authentication

What we do with these permissions

  • Query and sync field definitions for Accounts, Contacts, and Opportunities
  • Sync a subset of Opportunities and field values (selected by the user during onboarding)
  • For that subset of Opportunities, sync related Account and Contact objects
  • Write Opportunity field values back to Salesforce when a user edits them