Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce and Einstein Generative AI
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Up Agentforce Session Tracing

          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
          Note Agentforce Session Tracing requires Salesforce Standard Data Model version 1.130 or higher.
          1. Verify that you have the latest version of the Salesforce Standard Data Model (version 1.130 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.
          2. Make sure that Einstein Generative AI (see Set Up Einstein Generative AI) and Agentforce (see Enable Agentforce) are turned on in your org.
          3. From Setup, in the Quick Find box, enter Einstein Generative AI, and then select Einstein Audit, Analytics, and Monitoring Setup.
          4. Scroll down to Agentforce Session Tracing.
          5. Turn Agentforce Session Tracing on or off.
            Toggle for Agentforce Session Tracing in Setup
            1. Turn on Agentforce Session Tracing to start collecting data in Data 360. The system provisions your data model, which can take a few minutes, and then starts collecting data. Data collection recurs at five-minute intervals.
            2. Turn off Agentforce Session Tracing to stop collecting data and automatically turn off any dependent features.
              Suspending data collection keeps your existing data so that you can resume later. Dashboards, queries, and reports show a gap during which data collection is turned off.
          6. If prompted (for example, your org has multiple data spaces), select a target data space to store the session trace data.
            • To add data to previously collected session tracing data, select the previously selected data space.
            • If you use a Data Cloud One companion connection to connect your orgs to Data 360, you see only the data spaces that are shared with your companion org.
            • To use a data space that is shared with your companion org, verify that the initialization status for the shared data space is active. See Monitor Data Cloud Companion Connections and Data Cloud One Companion Connection Statuses.
            • If you change the data space, then the system provisions the data model in the new data space. Any data collection stops in the previous data space, and that data remains until it’s manually deleted. Data isn't migrated to the new data space.
            • Be sure to communicate any changes to your data space selection internally and with your Salesforce Admin team.
          7. To protect access to collected data that is sensitive, apply permissions at the dataspace level. That way, only authorized users can view or query this data. See Implement Data Governance Permissions for Agentforce Session Tracing Objects.
           
          Loading
          Salesforce Help | Article