Salesforce Agentforce usage¶
Salesforce Agentforce contributes Flex Credit and action-level usage rows for AI activity inside Salesforce.
Release state
This guide documents the read-only salesforce_agentforce connector
implemented in the platform connector surface.
Required access¶
Configure Salesforce authorization and Venturi manifest capabilities separately:
| Authorization or capability | Purpose |
|---|---|
Connected-app OAuth scope api |
Authenticate to Salesforce APIs. This scope is not read-only by itself. |
| Optional refresh-token scope | Maintain unattended access when permitted by connected-app policy. |
Venturi capability agentforce_usage |
Enable Agentforce usage collection. This is not a Salesforce OAuth scope. |
Venturi capability flex_credit_usage |
Enable Flex Credit collection. This is not a Salesforce OAuth scope. |
Enforce read-only behavior with a dedicated integration user and a permission set
limited to the required objects, fields, reports, and API reads. Do not grant
Create, Edit, Delete, Modify All Data, or Customize Application. OAuth scope
api permits API authentication; the user’s permission set supplies the
least-privilege boundary.
See Salesforce’s Models API authorization guidance
for the connected-app flow.
Setup¶
- Create a connected app or integration user for Venturi.
- Apply the dedicated read-only permission set and connected-app policy above.
- Store the credential reference in Venturi.
- Configure
VENTURI_AGENTFORCE_INSTANCE_URL; setVENTURI_AGENTFORCE_LOOKBACK_DAYSwhen you need a window other than the 30-day default. SetVENTURI_AGENTFORCE_FLEX_CREDIT_USDonly when the customer’s Salesforce commercial schedule defines a stable per-credit value; otherwise the connector preserves credit quantity and leaves USD value null. - In Venturi, open Integrations and select Salesforce Agentforce and run Test connection.
Verification¶
- Agentforce action rows appear in the latest sync.
- Flex Credit balance or consumption context appears where Salesforce exposes it.
- Salesforce billing or contract records remain authoritative for Flex Credit value; Venturi does not invent a USD conversion.
- The connector inventory marks Salesforce Agentforce as read-only.
Rotation and offboarding¶
Rotate the connected-app credential through Salesforce administration. Removing the connector stops new Agentforce usage syncs.