Skip to content

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

Grant read-only Salesforce access:

Scope Purpose
agentforce.usage.read Read Agentforce action usage rows.
wallet.balance.read Read Flex Credit balance and consumption context.
api.read_only Use Salesforce APIs without write access.

Do not grant object mutation, workflow mutation, or administrative write scopes.

Setup

  1. Create a connected app or integration user for Venturi.
  2. Grant only the read-only scopes above.
  3. Store the credential reference in Venturi.
  4. Configure ARGMIN_AGENTFORCE_INSTANCE_URL; set ARGMIN_AGENTFORCE_LOOKBACK_DAYS and ARGMIN_AGENTFORCE_FLEX_CREDIT_USD when you need explicit window or credit-value overrides.
  5. In Venturi, open Administration -> Connectors -> 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.
  • 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.