Salesforce Agentforce
Salesforce's native AI agent platform. CRM-anchored, Atlas Reasoning Engine.
Salesforce's flagship AI agent platform built on the Atlas Reasoning Engine and the Einstein Trust Layer. Pre-built agents for service, sales, marketing, and commerce, running directly on Salesforce records without a sync layer. The largest enterprise agent platform by deal count.
Beta
Status
OAuth + audit-log polling
Pattern
Managed SaaS — nothing to install
Runtime
Not yet published
SDK version
Readiness
What “Beta” means for Salesforce Agentforce
The integration path is built and tested. Real customers can attach now, but expect minor breaking changes until the 1.0 contract freeze.
How it attaches
OAuth + audit-log polling.
Authorise Trustvice once via OAuth; Trustvice then polls Salesforce Agentforce's audit-log API on a recurring schedule. No code changes.
Authorise Trustvice via OAuth so Trustvice can pull the platform's audit log on a recurring schedule. No code changes required.
- 1
Initiate the OAuth flow
Click “Connect” next to Salesforce Agentforce in Settings → Integrations. Trustvice generates a state token and PKCE challenge, then redirects you to the provider's authorize URL.
- 2
Authorise on the provider
Sign in to Salesforce Agentforce with an account that has audit-log read permissions and approve the requested scopes.
- 3
Trustvice schedules the poller
The callback exchanges the code for access + refresh tokens, encrypts them at rest, and schedules the first poll cycle (default 60–120 seconds).
- 4
Verify
Within a couple of poll cycles, audit entries land in Witness. The Integrations page shows last-poll timestamp, records ingested, and any errors.
# Dashboard navigates here: GET /api/oauth/authorize/salesforce-agentforce?workspace=ws_abc123 # Trustvice 302s to the provider's authorize URL with PKCE, # the provider redirects back to: GET /api/oauth/callback/salesforce-agentforce # Trustvice exchanges code → tokens → schedules the audit-log poller
Coverage
3 event types captured.
agent.invocationEvery top-level agent run — the input, the resolved output, timing, and token usage.
tool.callEach tool / function the agent invokes, with arguments and the returned result.
channel.messageMessages sent and received over the agent's channels (Telegram, Slack, Discord, …).
The full pattern guide
OAuth + audit-log polling — end to end.
Every framework on this pattern shares the same platform-side spine, endpoints, and gotchas. The pattern guide covers them in full.
Read the OAuth + audit-log polling guideNeed help landing Salesforce Agentforce?
Talk to the integration team.
We help you land the integration end to end — including the parts that live in your environment.
Request integration helpDichiara le regole. Fai controllare ogni esecuzione.
Agenti, prove, governance, commercio e informativa sono in Trustvice 360. Registrati gratis e apri tutte le suite da un'unica dashboard.