Sub topic 3
Turning on Agentforce in Setup
This chapter assumes you already have a Developer Edition org with Agentforce, as set up in the previous chapter, and can log in as the System Administrator. You should also be comfortable with Setup and its Quick Find box. Menu labels in Salesforce change between releases, so this chapter explains what each switch does as well as where it usually sits. If a label differs in your org, search Quick Find for the key words.
What "turning on" means
A new Developer Edition org that includes Agentforce has the licenses and the Data Cloud foundation in place. Nothing is active yet. Agentforce depends on two separate switches, and you turn them on in order:
- Einstein generative AI. This is the platform layer that sends prompts to a large language model (LLM) through the Einstein Trust Layer. Everything else builds on it.
- Agentforce. This exposes agent creation, the builder, and agent actions.
Prompt Builder, which you use for prompt templates later in the tutorial, becomes available once generative AI is on. Because Agentforce needs generative AI, the order matters.
Step 1: Confirm the prerequisites in the org
Before you flip anything, check three things. Each one is a common cause of a missing or greyed-out toggle later.
- You are the right user. Log in as the administrator who signed up for the org. Another user needs the System Administrator profile or equivalent permissions to see these pages.
- Lightning Experience is on. Agentforce Builder runs only in Lightning Experience.
- The licenses exist. Setup does not show feature licenses in one obvious place. A quick way to check is to query permission set licenses with the Salesforce CLI. If you have not yet authorized the org, run the login command from the previous chapter first.
sf data query --target-org agentforce-dev --query "SELECT MasterLabel, Status, TotalLicenses, UsedLicenses FROM PermissionSetLicense WHERE MasterLabel LIKE '%Agentforce%' OR MasterLabel LIKE '%Einstein%'"Rows with a Status of Active and a nonzero TotalLicenses show that the org has the entitlements. If the query returns no rows, you probably signed up for a standard Developer Edition and not the Agentforce one. Sign up again with the correct link. Switching on settings cannot add licenses.
Step 2: Check Data Cloud
Agentforce relies on Data Cloud for grounding and for parts of the Trust Layer. In an Agentforce Developer Edition org, Data Cloud is provisioned for you. The next chapter section covers why in detail. For now you only need to confirm that it is ready.
- In Setup, type
Data Cloudinto Quick Find. - Open Data Cloud Setup Home.
- Look for a status showing that Data Cloud is provisioned or ready.
Provisioning can take several minutes after sign-up, and sometimes longer. If the page says provisioning is in progress, wait. Turning on generative AI before Data Cloud is ready is the most frequent reason for an error on the next step.
Step 3: Turn on Einstein generative AI
- In Setup, type
Einstein Setupinto Quick Find and open it. - Find the toggle labeled Turn on Einstein (it may also read Einstein Generative AI).
- Switch it on and accept any terms shown.
- Wait for the page to confirm that the setting is on. Reload the page if the toggle looks stuck.
This switch enables the generative AI features across the org. It does not create an agent or change any user's experience. It also does not send any of your data anywhere by itself. Data reaches the model only when a prompt runs, and the Trust Layer processes each prompt first.
After this step, the Setup menu usually gains additional entries such as Prompt Builder and Einstein Generative AI. If you do not see them, refresh the browser tab and search Quick Find again. Setup menus are cached, so a stale tab often hides new items.
Step 4: Turn on Agentforce
- In Setup, type
Agentforce Agentsinto Quick Find and open it. - Switch the Agentforce toggle on.
- Wait for the confirmation. This can take a minute or two.
When the toggle is on, the page lists agents and offers a button to create a new one. In some releases, the Agentforce toggle is part of the same Einstein Setup page, so if you cannot find the separate page, look there.
Agentforce also needs the Einstein generative AI switch to stay on. If you later turn generative AI off, agents stop working, and the Agentforce page may show an error or a disabled builder.
What changes, and what does not
The table below summarizes the effect of each switch, so you can tell what to check when something breaks.
| Switch | Where | Enables | Does not do |
|---|---|---|---|
| Data Cloud provisioning | Data Cloud Setup Home | Data foundation the Trust Layer and grounding use | Create any data streams |
| Einstein generative AI | Einstein Setup | LLM access through the Trust Layer, Prompt Builder | Create agents, grant user access |
| Agentforce | Agentforce Agents | Agent creation and the builder | Assign permissions to users |
Notice the right-hand column. None of the three switches gives you or anyone else the right to use the features. Permission sets handle that, and they are the subject of a later chapter. A common mistake is to turn everything on, open the builder, and see nothing. The cause is almost always a missing permission set, not a failed switch.
Verifying that everything is on
Do a quick check before moving on:
- Einstein Setup shows the generative AI toggle on.
- Agentforce Agents shows the Agentforce toggle on.
- Prompt Builder appears in Quick Find.
- The App Launcher (the grid icon) lets you search for
Agentforceand find an entry for the builder or agent studio. If it is missing, you may not yet have the required permission sets.
If the first three pass but the App Launcher check fails, continue to the permissions chapter. Do not repeat the toggles.
Common problems
The toggle is greyed out or missing. Check that the org is an Agentforce Developer Edition org, that you are logged in as an administrator, and that Data Cloud has finished provisioning. Greyed-out toggles usually mean a missing license or an unfinished prerequisite.
The toggle turns on, then reverts. Reload the page and check again. If it remains off, the backend setup for the org may not have finished. Wait 10 to 15 minutes and try again.
An error mentions Data Cloud. Return to Data Cloud Setup Home and confirm that provisioning is complete. Then turn on generative AI again.
Menu items do not appear. Hard-refresh the browser tab, log out and back in, and search Quick Find with a short term, such as Prompt. Setup menus can lag behind actual state.
It worked yesterday and not today. Developer Edition orgs expire after inactivity, and trial-style Agentforce orgs can have time limits. Check the org's status when you log in, and be prepared to create a fresh org if yours has expired.
Summary of the working model
Think of the setup as three layers. Data Cloud is the foundation, Einstein generative AI is the platform layer, and Agentforce is the feature layer. Each depends on the one below it. Access control is separate from all three and comes next. When something fails, test from the bottom up: Data Cloud ready, generative AI on, Agentforce on, then permissions.
Exercise
You turned on Agentforce and generative AI, but the builder does not show up for a second admin user you created. The toggles on the Agentforce Agents page still show as on. What is the most likely cause, and which layer does it belong to?
Show answer
The second user most likely lacks the permission sets that grant access to Agentforce features. Permission sets are an access control layer that is separate from the three feature switches (Data Cloud provisioning, Einstein generative AI, Agentforce). Turning those switches on enables the features for the org, but it does not give any individual user the right to use them. Assign the required permission sets to that user, as covered in the permissions chapter.
Exercise
You open Einstein Setup and the generative AI toggle fails with an error that mentions Data Cloud. What should you check first, and why does the order of the setup steps matter?
Show answer
Check Data Cloud Setup Home to confirm that Data Cloud has finished provisioning. Agentforce depends on generative AI, and generative AI depends on Data Cloud for parts of the Trust Layer and grounding. If the lower layer is not ready, the higher switch fails. Once provisioning completes, turn on generative AI again, then turn on Agentforce.