Set Up Agentforce Session Tracing
Turn on Agentforce Session Tracing to collect and store, in Data 360, detailed data about agent sessions. By default, Agentforce Session Tracing is turned off.
Required Editions
| Available in: Enterprise, Performance, and Unlimited Editions with an Einstein for Sales, Einstein for Platform, Einstein for Service, Einstein 1 Service, or Einstein GPT Service add-on. To purchase add-ons, contact your Salesforce account executive. |
| User Permissions Needed | |
|---|---|
| To turn on data collection: | View Setup |
| AND | |
| Customize Application | |
Note Salesforce Standard Data Model version 1.130 or higher is required.
- Verify that you have the latest version of the Salesforce Standard Data Model (version 1.128 or higher) in your org (sandbox or production). From Setup, go to Apps -> Packaging -> Installed Packages -> Salesforce Standard Data Model. To get the required version, click here and follow the instructions.
- Ensure that Einstein Generative AI is turned on in your org. To learn more, see Set Up Einstein Generative AI.
- From Setup, in the Quick Find box, enter Einstein Generative AI, and then select Einstein Audit, Analytics, and Monitoring Setup.
- Scroll down to Agentforce Session Tracing.
-
Toggle the switch.
Agentforce Session Tracing opt-in toggle
- Turn on Agentforce Session Tracing to start collecting data in Data 360. Your data model is provisioned in just a few minutes. Data collection then starts immediately and recurs at five-minute intervals. Note that turning data collection increases your org’s credit consumption rate.
- Turn off data collection to stop collecting data and automatically turn off any dependent features.
-
If prompted (for example, if you’re turning data collection on and your org has multiple
data spaces), select a target data space to store the session trace data.
- If you’ve previously collected session tracing data and you want to continue adding to that data, be sure to select the previously selected data space.
- If you’re using Data Cloud One companion connection to connect your orgs to Data 360, you’ll only see the data spaces that are shared with your companion org.
- If you’re using a data space that is shared with your companion org, make sure the initialization status for the shared data space is set to Active. See Monitor Data Cloud Companion Connections and Data Cloud One Companion Connection Statuses.
- If you change the data space, then the data model is provisioned in the new data space. Any data collection stops in the previous data space and begins in the new one. Data collected in the previous data space remains until it’s manually deleted. That data will not be migrated to the new data space.
- Be sure to communicate any data space selection change internally and with your Salesforce Admin team.
- If you want to protect access to collected data that is sensitive, see Implement Data Governance Permissions for Agentforce Session Tracing Objects.
Suspending data collection keeps your data so that you can resume later. Any reports show a gap between the time you turn it off and turn it back on.
Did this article solve your issue?
Let us know so we can improve!

