Salesforce
Salesforce CRM is a cloud platform for sales, service, and marketing. The underlying metadata (objects, fields, folders, reports, dashboards, and flows) is what teams build analytics and integrations on—so observing that structure helps you understand impact, ownership, and relationships across the org.
Euno integrates with Salesforce by inventorying metadata and lineage, not by running data-quality monitors against table rows (such as freshness or volume anomaly detection on queried data). This page describes what Euno captures and how to connect using OAuth 2.0 client credentials via Salesforce’s External Client App model (consumer key, consumer secret, and My Domain).
Euno's Salesforce integration supports auto-discovery of:
Salesforce Organization (
salesforce_org)userresources (when Observe users & groups is enabled)user_groupresources (when Observe users & groups is enabled)Salesforce Folders (reports and dashboards)
Salesforce Objects (standard and custom, subject to your patterns)
Salesforce Fields (standard, custom, formula, relationships)
Salesforce Reports
Salesforce Dashboards
Salesforce Flows (when Include flows is enabled)
Capability overview
Euno’s Salesforce source emphasizes discovery and graph relationships, not running monitors against live Salesforce records:
Metadata
Discovers organizations, folders, objects, fields, reports, dashboards, and flows
Lineage-style relationships
Links dashboards → reports; reports and Flows → objects/fields; folders → contents; objects → fields; optional users/groups → ownership
Data monitors
Not applicable—Euno does not run freshness/volume/count monitors on Salesforce data by default
Prerequisites / Requirements
You need:
An External Client App in Salesforce with OAuth 2.0 client credentials flow enabled and an execution user (Salesforce acts on behalf of that user).
Consumer key, consumer secret, and My Domain hostname (see setup below).
For the execution user profile/permission sets: rights sufficient to describe metadata and read report/dashboard structure over the REST and Analytics APIs, and (if you enable Flow discovery) to query Flow metadata over the Tooling API.
Recommended permissions on the execution user
Grant the Salesforce user designated as execution user (or equivalent profile) at least:
API Enabled — required for REST access
View Setup and Configuration — metadata for objects/setup
Run Reports — report metadata/analytics endpoints as needed by your org
View All Data (recommended) — consistent visibility across objects in large orgs; tighten only if policy requires a scoped integration account
Tooling API — for Flow definition reads; omit if Include flows (Tooling API) is turned off in Euno.
Stage 1: Configure Salesforce for API access
For many Salesforce orgs, long-lived integrations should use machine-to-machine access instead of username, password, and security token against the legacy login APIs. Euno uses OAuth client credentials with an External Client App, as Salesforce documents for secured API access patterns.
Consult Salesforce Help for your edition’s latest steps (“External Client App,” “OAuth,” “client credentials,” “execution user”)—menu names vary by release.
Step 1: Create an External Client App
Adapt these steps to your Salesforce UI wording (menus change between releases):
In Salesforce Setup, open Apps → External Client Apps (or equivalent) → External Client App Manager.
New External Client App and fill basic information (name, API name, distribution state appropriate for internal use).
Step 2: Enable OAuth and select scopes
Under the app’s API / OAuth settings:
Enable OAuth.
Under Selected OAuth Scopes, add Manage user data via APIs (
api) (move it from Available to Selected—Available alone is not enough). Do not use Full access (full)—it is too broad for Euno. Scopes such aswebandrefresh_tokenare also not supported for client credentials (Winter ’26 and later). Euno does not send ascopeparameter or use refresh tokens—Salesforce uses whatever is in Selected OAuth Scopes. If only unsupported scopes are selected, Test & Save fails withinvalid_grant: no valid scopes defined.Under Flow enablement, turn on Client credentials flow.
Salesforce may still require registering a callback URL for the Connected / External Client App—even when you only use client credentials—use an HTTPS URL permitted by your org’s policy if prompted. Euno does not rely on an interactive browser redirect after client credentials are configured.
Step 3: Set the execution user (Run As)
The client credentials flow has no interactive login, but Salesforce still requires a Run As user whose permissions apply to every API call Euno makes.
In Setup → App Manager (or External Client App Manager), open your app and click Manage (not the main Edit screen).
Click Edit Policies.
Under Client Credentials Flow, use the Run As lookup (labeled Client Credentials Flow / Run As—not a separate “Run As” field elsewhere on the page, such as under a custom handler).
Select your integration user (see recommended permissions).
Ensure Enable Client Credentials Flow is allowed under the app’s OAuth policies, then Save.
If Run As is left blank, Test & Save in Euno fails with invalid_grant: no client credentials user enabled. Enabling client credentials under OAuth settings alone is not enough—you must assign Run As under Edit Policies.
Step 4: Consumer key and consumer secret
On the app, open Settings (or the credentials pane).
Consumer Key / Client ID and Consumer Secret — copy both into Euno (treat the secret like a password).
Step 5: My Domain (hostname)
Setup → Company Settings → My Domain (names vary).
Copy Current My Domain URL, e.g.
https://acme.my.salesforce.com.
In Euno you can paste either:
The full URL, or
The prefix used before
.salesforce.com(example:acme.my)
Euno strips https:// and .salesforce.com automatically so tokens are requested against the correct host.
Do not use the legacy login / test “environment” shorthand as the sole domain string for OAuth client credentials; use the My Domain host Salesforce gives you (sandbox orgs still have their own My Domain URL).
Checklist: verify Salesforce configuration
Before continuing to Euno, confirm the following on your External Client App:
Client credentials flow
Enabled
Selected OAuth Scopes
Manage user data via APIs (api) — not Full access (full)
Run As user
Set under Manage → Edit Policies → Client Credentials Flow
Consumer key / secret
Copied from this app
My Domain
Your org’s My Domain host (not login / test)
Stage 2: Configure the Salesforce source in Euno
Step 1: Access the Sources page
In Euno, open Sources, choose Add New Source, and select Salesforce.
Step 2: General configuration
Asterisk (*) means a mandatory field.
Name*
Friendly name for this source
Consumer key*
External Client App OAuth Consumer Key / Client ID
Consumer secret*
External Client App Consumer Secret
My Domain host*
From My Domain (full URL or your-org.my style prefix)
Step 3: Schedule
Enable Schedule and pick a cadence that fits how often your org’s metadata changes. Daily or every 12–24 hours is often enough for metadata; increase frequency if your org changes structure often.
Step 4: Resource cleanup
Choose a Resource cleanup policy the same way as for other Euno sources (for example immediate cleanup vs retaining stale resources). See Resource sponsorship and cleanup.
Step 5: Save Configuration
Click Test & Save to complete the setup. Euno will:
Exchange OAuth client credentials against your My Domain host.
Verify REST API access to your Salesforce organization.
Save the configuration if validation passes.
If the test fails, see Troubleshooting below.
Troubleshooting
When Test & Save fails, Euno surfaces the Salesforce OAuth error from the token endpoint. Common messages and fixes:
invalid_grant: no client credentials user enabled
No Run As user under Edit Policies → Client Credentials Flow
Open App Manager → Manage → Edit Policies, set Run As to your integration user, and save. See Step 3.
invalid_grant: no valid scopes defined
App has no supported OAuth scopes for client credentials (often Full access (full), web, or refresh_token selected instead of api)
In Selected OAuth Scopes, add Manage user data via APIs (api) and remove unsupported scopes such as full. See Step 2.
invalid_grant: authentication failure / invalid client credentials
Wrong consumer key or secret, or credentials from a different app or org
Copy Consumer Key and Consumer Secret from the same External Client App you configured. Sandbox and production each need their own app and credentials.
Authentication succeeds but crawl is incomplete
Integration user lacks object, report, or Tooling API access
Grant recommended permissions. Disable Include flows if Tooling access is not available.
Also verify:
My Domain host matches the org whose consumer key and secret you entered (not
loginortest). See Step 5.Sandbox and production are configured separately—credentials and app settings from one org do not work in the other.
What Euno discovers
The Salesforce source discovers:
Salesforce Organization (
salesforce_org)userresources (when Observe users & groups is enabled)user_groupresources (when Observe users & groups is enabled)Salesforce Folders (reports and dashboards)
Salesforce Objects (standard and custom, subject to your patterns)
Salesforce Fields (standard, custom, formula, relationships)
Salesforce Reports
Salesforce Dashboards
Salesforce Flows (when Include flows (Tooling API) is enabled)
Details of resource types, properties, and relationships: Salesforce integration discovered resources.
Advanced settings
Open the Advanced section on the source form to configure optional filters and scopes.
Object filter
Allow/deny regexes matched against Salesforce object API names (e.g. Account, Custom__c)
Report filter
Allow/deny regexes matched against the report’s display Name only (not Id or DeveloperName)
Dashboard filter
Allow/deny regexes matched against the dashboard’s Title only (not Id or DeveloperName)
Only crawl custom objects
Limits discovery to objects ending in __c
Include reports
Discover reports (default: on); combined with report filter patterns
Include dashboards
Discover dashboards (default: on); combined with dashboard filter patterns
Include flows (Tooling API)
Discover Flow definitions and version metadata for lineage (default: on); requires Tooling/API permissions—disable if your connected app cannot read Flow metadata
Observe users & groups
Emit users/groups for ownership linkage (default: on)
Ingest usage metrics
Ingest report runs, dashboard views, object API reads/writes, and distinct-user counts from Salesforce Event Monitoring log files (default: off). See Usage metrics for prerequisites.
Usage metrics (Event Monitoring)
When Ingest usage metrics is enabled, Euno downloads Salesforce Event Monitoring log files (the EventLogFile object: Report, Dashboard, API, RestApi, BulkApi, and BulkApi2 event types) each crawl and computes rolling usage windows:
Reports & dashboards — report runs and dashboard views populate
total_impressions_14d/30d/60danddistinct_impressions_users_14d/30d/60d, shown in the resource's Impressions usage panel.Objects — object API reads/writes populate
total_read_queries_14d/30d/60dandtotal_write_queries_14d/30d/60d, shown in the resource's Table activities usage panel.
Independently of Event Monitoring, reports also get last_accessed_at from the report's Salesforce last run timestamp.
Prerequisites and limitations
Event Monitoring availability depends on your Salesforce edition: it is a paid add-on (part of Salesforce Shield) on Enterprise, Unlimited, and Performance editions. Without it, usage ingestion is skipped and the run report notes why—the rest of the crawl is unaffected.
Retention-aware windows: Salesforce retains event log files for a limited period (typically 30 days with the add-on, up to 1 year with extended retention). Euno accumulates daily usage history across crawls in its own store, so windows longer than your Salesforce retention fill up over time as the integration keeps running. Schedule the integration at least daily so no log days are missed.
Usage is attributed only to reports, dashboards, and objects that are discovered by the crawl—assets excluded by filters do not accumulate usage.
The execution user needs View Event Log Files (or View All Data) and API Enabled permissions to query
EventLogFile.
Filtering objects, reports, and dashboards
You can narrow crawl scope using:
Object filter plus Only crawl custom objects — control which sObjects and their fields are observed.
Report filter — include or exclude reports by Name regex.
Dashboard filter — include or exclude dashboards by Title regex.
Align those patterns with your governance policy; exclusions are governed by your configuration. Reports or dashboards excluded by regex do not appear as resources—downstream lineage that would have depended only on those assets will be absent for them.
Lineage relationships
Among other edges, Euno captures:
Dashboard → Report references (when describe metadata exposes them, including at crawl time from dashboard describe
componentswhen available)Report → Object / Field dependencies derived from Analytics report describe columns (subject to discovered objects and fields; global processing enriches
table_dependencies/upstream_fieldswhere metadata allows)Flow → Object / Field lineage derived from Flow record create/update and related metadata (subject to Flow discovery being enabled and successful Tooling reads)
Object → Field containment
Folder → Report / Dashboard containment when applicable
Exact property names (table_dependencies, upstream_fields, salesforce_flow_lineage, etc.) are summarized in discovered resources.
Personal vs. shared folders
Last updated