Sub topic 3
Turning on Agentforce in Setup
This chapter assumes you already have a Developer Edition org that includes Agentforce (covered in the previous chapter). You should be comfortable with the Setup menu and the Quick Find box in Lightning Experience. You need the System Administrator profile, because the toggles below are not visible to other users.
The working model
Agentforce is switched on in layers. Each layer depends on the one before it, so the order matters.
- Data Cloud must be provisioned in the org. Agentforce uses it for grounding and for parts of the Einstein Trust Layer.
- Einstein generative AI must be turned on. This enables features that send prompts to a large language model.
- Agentforce itself must be turned on. This makes Agentforce Builder and the agent features available.
Permission sets and agent users come after these three steps. They are covered in the next chapter.
Step by step
Menu names change between Salesforce releases. If a label below differs slightly in your org, search Quick Find for a close match.
- Log in to your Developer Edition org as an administrator.
- Open Setup and type
Data Cloudin Quick Find. Open Data Cloud Setup Home. If the org has not been provisioned, start the provisioning and wait for it to finish. This can take several minutes, and the page shows its status. - In Quick Find, type
Einstein Setup. Open it and turn on the Turn on Einstein toggle. Reload the page when asked. - In Quick Find, type
Agentforce Agents. Open the page and turn on the Agentforce toggle. - Reload Setup and confirm that Agentforce Agents now shows an option to open Agentforce Builder.
Checking your work
After step 5, open Agentforce Agents from Setup. You should see a list of agents, which may be empty or contain a prebuilt example, and a button to create a new one. If you see only a message asking you to enable a feature, a layer above is still off.
If you use the Salesforce CLI, you can also confirm that you are logged in to the right org before changing anything:
sf org list --all
sf org display --target-org agentforce-devThe second command prints the username and instance URL. Check that they match the org you are configuring.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| The Agentforce toggle is missing or greyed out | Einstein generative AI is off, or Data Cloud is not provisioned | Complete steps 2 and 3, then reload |
| Data Cloud Setup Home shows a "provisioning" status for a long time | Provisioning is still running | Wait and refresh. Do not start it a second time |
| **Agentforce Agents** is not in Quick Find | The org is not an Agentforce-enabled Developer Edition, or you lack admin rights | Check which edition you signed up for, and log in as the admin |
| The toggle was on but Builder shows no agent options | The page was cached | Do a hard reload, or log out and back in |
What you have not done yet
Turning the features on does not give anyone access to them. Until you assign the right permission sets, even an administrator may not be able to create or test agents. That is the next step in the plan.
Exercise
You open Setup and the Agentforce toggle is greyed out. Which two prerequisites should you check first, and in what order?
Show answer
First check that Data Cloud is provisioned. Then check that Einstein generative AI is turned on in Einstein Setup. Agentforce depends on both, so complete them in that order and reload Setup.