Is your Salesforce org ready for Agentforce? What to set up and test before you turn it on
Your Salesforce org is ready for Agentforce when Data 360 is provisioned, Einstein generative AI is on, the Einstein Trust Layer is set up, each agent's users hold only the permissions they need, and every agent has passed tests in a sandbox. Salesforce says testing agents can modify CRM data, so it tells you to use Testing Center only in a sandbox. Turn on agents that answer questions first, then agents that draft for a person, then agents that act. Lab0, an official Salesforce partner, runs the readiness scan and the baseline tests, and a consultant signs off each change.
Set up the org in Salesforce's order
Salesforce's setup guide for Einstein generative AI gives the order. Agents come last, after the platform under them is in place.
| Step | What it needs | What Salesforce says |
|---|---|---|
| Data 360 | Provisioned and enabled in the org | Salesforce says it is required for essential Einstein generative AI functionality, such as the Trust Layer. Parts of Salesforce's setup article still call it Data Cloud. |
| Einstein generative AI | Turned on in Einstein Setup | On automatically in new orgs. Needs Enterprise, Performance or Unlimited Edition with an Einstein add-on. |
| Einstein Trust Layer | Set up | The data privacy controls for generative AI in your org. |
| Data collection | Agentforce Session Tracing and generative AI audit and feedback turned on | Stores run-time data in Data 360 for monitoring, compliance and analysis. |
| Agents | Built, committed and activated in Agentforce Studio | Only a committed version can be activated or tested in Testing Center. |
Do the same steps in the sandbox you test in. An agent tested in a sandbox without the Trust Layer or Data 360 tells you little about production.
What Salesforce gives you to build, test and run agents
The status column says how Salesforce's own documentation presents each tool on 3 December 2026.
| Tool | What it does | Status |
|---|---|---|
| Agentforce Studio and Agentforce Builder | Build agents, commit versions, and activate or deactivate them | Used in Salesforce Help's main steps. A legacy builder remains in Setup. |
| Testing Center in Agentforce Studio | Tests agents or prompt templates at scale, turn by turn or as whole conversations, with scorers | Labelled beta in Salesforce Help. The legacy Testing Center in Setup remains. |
| Testing API | Batch tests agents programmatically through a REST API and gives access to Testing Center | Documented in Salesforce's Agentforce Developer Guide. |
| Agentforce DX | Runs agent tests from a command line or a VS Code extension | Documented in the same guide. |
| Agentforce Session Tracing | Keeps run-time data in Data 360 for monitoring and analysis | Turned on during Einstein generative AI setup. |
Each of Salesforce's three releases a year can change Agentforce, so retest your agents in a preview sandbox before each one. See how to regression test Salesforce releases.
Roll out Agentforce agents by risk
Rank each agent by what it can do without a person. Agents that only answer questions go first. Agents that draft for an employee to finish come next. Agents that reply to customers or change records come last, after the first two tiers run cleanly.
| Risk tier | What the agent does | Examples | Before you switch it on |
|---|---|---|---|
| Answers questions | Answers from your Knowledge articles and records. Changes nothing. | An agent grounded in Knowledge through a data library | Check which objects, fields and articles it can read. Generate test cases from the knowledge source and grade the answers. Turn these on first. |
| Drafts for a person | Prepares content or a record change that an employee reviews. | An agent for employees in the Agentforce panel that drafts content or a record update for the employee to finish | Test that each draft stops for the employee, and check who can complete it. Turn these on next. |
| Acts | Replies to customers, updates records or hands conversations to people. | Service agents on Enhanced Chat, Messaging, Service Email or Voice | Limit the actions and the records it can change, test the channel end to end in a sandbox, and have a consultant sign off. Turn these on last. |
What blocks an Agentforce agent
Most agents stall on one of six things. Check each in the sandbox before you plan a go-live date.
| Blocker | What Salesforce requires | What to check |
|---|---|---|
| Edition and licences | Einstein generative AI needs Enterprise, Performance or Unlimited Edition with an Einstein add-on. Salesforce says the add-on licences an agent needs vary by agent type. | Which add-ons cover each agent you plan. |
| Platform setup | Data 360, then Einstein generative AI, then the Einstein Trust Layer. | That each step is done in the sandbox you test in and in production. |
| Permissions | Manage AI Agents, plus the permissions for the agent type, to activate or deactivate an agent. Manage Agentforce Grids and Manage Agentforce Testing to create tests in the new Testing Center. | Who can switch agents on, and who can test them. |
| Knowledge and data | To generate tests from your knowledge base, the agent must be linked to a data library that holds it. | The objects, fields and articles each agent can reach, and nothing more. |
| Versions | Only a committed agent version can be activated or appear in Testing Center. One version of an agent is active at a time, and an org can have up to 100 active agents. | How you version, test and promote each agent. |
| Channels | An agent reaches users only through the channels it's deployed to, such as the Agentforce panel, Enhanced Chat, Messaging, Service Email or Voice. | Which channels each agent goes live on, and in what order. |
The permissions and version rules come from Salesforce's pages on creating a test suite and activating or deactivating an agent.
Test in a sandbox with Salesforce's own tools
- Use a sandbox. Salesforce's Testing Center guide says testing agents can modify CRM data, so use Testing Center only in your sandbox environment.
- Generate or upload test cases. Generate them from the agent's subagents and actions or from knowledge sources, or upload your own scenarios. Salesforce's evaluations cover response accuracy, subagent and action validation, completeness, coherence, conciseness, latency and instruction adherence.
- Test single turns and whole conversations. In the new Testing Center in Agentforce Studio, turn-level tests evaluate one response and conversation-level tests a full conversation. In the beta, conversation-level testing runs up to 3 test suites at a time and 20 turns per conversation, takes up to 20 generated or 1,000 uploaded test cases, and doesn't support escalation, custom scorers, mocked data or Agentforce Employee Agents. See the considerations for Testing Center.
- Automate with the Testing API. Salesforce's Testing API is a REST API for batch tests that also gives access to Testing Center. Agentforce DX runs tests from a command line or VS Code.
- Test the version you will activate. Commit it, test it, and compare the results with how your team handled the same cases.
How to turn an agent off or limit it
- Deactivate it. Deactivating an agent prevents new sessions on all its connections. Ongoing conversations continue until the user ends them or they time out, and users aren't notified. If the agent uses the Agentforce panel, the panel stays open until the user closes it and can't be reopened until the agent is active again.
- Switch versions. Only one version of an agent is active at a time. Activating another committed version deactivates the current one automatically.
- Limit who can switch agents on. Activating and deactivating need the Manage AI Agents permission.
- Watch what agents do. Agentforce Session Tracing and generative AI audit and feedback keep run-time data in Data 360.
A Lab0 AI activation engagement on Salesforce
Lab0 is an official Salesforce partner. It builds AI agents for enterprise platform implementation and runs Agentforce readiness as an AI activation engagement led by its consultants. For each agent on your shortlist, you receive:
- A readiness scan: the agent's status, its blocker and its baseline test, covering editions and add-ons, Data 360, Einstein generative AI, the Trust Layer, permissions, data libraries and channels.
- Opt-in decisions for the business owner, ranked by risk.
- Data access per agent: the permission sets, objects, fields and articles it needs, and nothing more.
- Approval gates for agents that email customers or change records.
- Baseline tests: test cases written by Lab0's consultants from your approved requirements and past cases, run in Testing Center in a sandbox and compared before go-live.
Agentforce is Salesforce's product. Your Salesforce administrator activates each agent, Lab0 prepares what that decision needs, and a consultant signs off each change. When the readiness scan finds org changes, such as a custom field, a permission set or a flow, Lab0's agent prepares them as metadata in a sandbox, once a person grants write access for the chat, and checks each one by reading it back where the platform allows. A consultant approves each change before it reaches production. Lab0's agent also drafts Apex tests, which a person approves before they are deployed and run.
Enterprises can have Lab0 run this work as their AI implementation partner. System integrators deliver the same work to their own clients as “[SI] powered by Lab0”, and keep the client and the decisions. See Lab0 for Salesforce.
The same decisions on other platforms: which Oracle Fusion AI agents to turn on, which SAP Joule agents to turn on, by S/4HANA release, Copilot features and agents in Dynamics 365 Finance and Supply Chain and ServiceNow Otto (formerly Now Assist) and AI agents. For the method across all five, see how to roll out vendor AI agents safely.
Sources, checked 3 December 2026
- Salesforce Help: Set Up Einstein Generative AI
- Salesforce Help: Agentforce Testing Center
- Salesforce Help: Create a Test Suite (Testing Center in Agentforce Studio, beta)
- Salesforce Help: Considerations for Testing Center
- Salesforce Help: Activate or Deactivate Your Agent
- Salesforce Developers: Test Agents Using Testing API (Agentforce Developer Guide)