Sub topic 5
Why Data Cloud is part of the setup
This chapter assumes you have a Developer Edition org that includes Agentforce, as covered in the sign-up chapter. You should know where Setup and Quick Find are and what a permission set is. You don't need to know Data Cloud. By the end you should be able to explain what Data Cloud does for an agent, check that it is provisioned, and diagnose the most common failures.
The problem Data Cloud solves for Agentforce
An agent built on a large language model (LLM) needs three things that ordinary Salesforce objects don't supply well:
- A place to record what happened in each conversation, for audit and review.
- A way to find relevant content, such as help articles or PDFs, and pass it to the model as context. This is called grounding.
- A shared data layer that agent features can read from without each feature building its own storage.
Salesforce uses Data Cloud for these jobs. Data Cloud is Salesforce's platform for ingesting, unifying, and querying data at scale. Salesforce has also used the name Data 360 for it in newer documentation and menus. If your org's Setup menu says "Data 360" where this chapter says "Data Cloud", they refer to the same product. Menu labels change between releases, so use Quick Find rather than following a fixed click path.
Data Cloud is not a Salesforce object you query with the same assumptions as Account or Case. It has its own storage and its own provisioning step. That provisioning step is why it appears in your setup checklist.
What Data Cloud does in an Agentforce org
Three roles matter at the Developer Edition level.
Audit and feedback storage for the Trust Layer
The Einstein Trust Layer masks sensitive values in prompts and checks model responses. It can also keep an audit trail of prompts and responses. That trail is stored in Data Cloud. Without Data Cloud, there is nowhere for the trail to go, so Salesforce makes provisioning a prerequisite for turning Agentforce on.
Grounding with a data library
Agents can answer from your content, not only from what the model already knows. You upload files or point to a knowledge source, and Data Cloud indexes the content so the agent can retrieve matching passages at run time. This retrieval is what lets an agent answer "What is our return policy?" from your own document.
A foundation for richer data access
Production orgs often load external data into Data Cloud so agents can use it. You will not need that in a Developer Edition org. The data layer still has to exist for the features above to work.
The following table summarizes what depends on Data Cloud and what does not.
| Capability | Needs Data Cloud? | Notes |
|---|---|---|
| Creating an agent, topics, and instructions | Provisioning must be in place first | The builder assumes the data layer exists |
| Standard actions on CRM records | No extra data setup | They read ordinary Salesforce records |
| Apex invocable custom actions | No extra data setup | Your Apex runs on the core platform |
| Trust Layer audit trail | Yes | Stored in Data Cloud |
| Grounding on uploaded documents | Yes | Indexed and retrieved through Data Cloud |
An action that reads Case records does not read them through Data Cloud. The agent still needs the data layer to be provisioned, because the builder and the Trust Layer depend on it, but your actions don't query it.
How the pieces connect
The diagram shows where Data Cloud sits when a user sends a message to an agent.
Notice that the arrows between Data Cloud and the Trust Layer run in both directions. Retrieved content flows into the prompt, and the audit trail flows back out. The actions box sits outside Data Cloud.
Checking that Data Cloud is provisioned
With a fresh Agentforce Developer Edition org, Data Cloud is normally provisioned for you, but it can take time to finish after sign-up. Don't assume it is ready just because you can log in.
First, open the org from the CLI if you set up the alias earlier:
sf org open --target-org agentforce-devThen work in the browser:
- Open Setup and type
Data Cloudinto Quick Find. Also tryData 360. - Open the Data Cloud setup home page. A provisioned org shows a setup home with the feature enabled. An org still provisioning shows a status message instead.
- If the page offers a button to turn Data Cloud on, use it, then wait. Provisioning can take a while, from several minutes up to longer, and the page may need a refresh.
- Only after the status reads as ready, go on to enable Agentforce and generative AI.
The order matters. If you enable Agentforce first, some options in the builder may be missing or greyed out, and the cause is not obvious from the screen.
Permissions that touch Data Cloud
Data Cloud has its own permission sets. Being a System Administrator does not automatically grant every Data Cloud permission, so you may see the setup page but not the feature pages beneath it. The next chapter covers permission sets for the agent builder in detail. For now, remember the pattern: a feature visible in Setup but failing to open often points to a missing permission set, not a provisioning fault.
Common errors and how to read them
| Symptom | Likely cause | What to do |
|---|---|---|
| Agentforce toggle is missing or disabled | Data Cloud not provisioned yet | Check the Data Cloud setup home and wait for ready status |
| Data Cloud page opens with a "not enabled" or provisioning message | Provisioning is still running | Wait, refresh, and check again later |
| You see Data Cloud setup but not the data library screens | Missing permission set | Assign the relevant Data Cloud permission set to your user |
| The org is not an Agentforce Developer Edition | Data Cloud and Agentforce were never included | Sign up for a new Agentforce Developer Edition org |
| Grounding returns nothing | Content not yet indexed, or no data library attached | Confirm the indexing status and that the library is linked to the agent |
A frequent mistake is signing up for a regular Developer Edition org from an older bookmark. Those orgs generally do not include Agentforce or Data Cloud, and you can't add them from Setup. If the Setup menu has no Data Cloud entry at all, not even a disabled one, check which sign-up page you used before troubleshooting further.
Developer Edition constraints to keep in mind
A Developer Edition org is a learning environment. Its Data Cloud allowance is small compared with production. You can expect limits on how much data you can ingest and on how long content stays available. The exact numbers change between releases, so check current Salesforce documentation instead of relying on a figure from a tutorial. Also, Developer Edition orgs may be reclaimed after a long period of inactivity. Log in periodically and don't keep anything you can't recreate.
The final chapters return to these limits and to what differs in production.
Summary
- Agentforce depends on Data Cloud for the Trust Layer audit trail, for grounding on indexed content, and as a shared data layer.
- Standard actions and Apex custom actions read core Salesforce data and don't query Data Cloud.
- Provisioning must finish before you enable Agentforce, or builder options may be missing.
- Missing options usually mean one of three things: provisioning is not finished, a permission set is not assigned, or the org is not an Agentforce Developer Edition.
Exercise
You have just signed up for an Agentforce Developer Edition org. You enable Agentforce in Setup, but the agent builder options look incomplete. Name two things you would check about Data Cloud, in order, and say why order matters.
Show answer
First, check the Data Cloud setup home to confirm provisioning has finished and shows a ready status. Second, check that your user has the Data Cloud permission sets needed to see its feature pages. Order matters because the builder and Trust Layer depend on the data layer existing. Enabling Agentforce before provisioning completes can leave options missing, and assigning permissions cannot fix a feature that is not yet provisioned.
Exercise
Your Apex custom action returns open case counts from the Case object. Does it need Data Cloud to run? Does the agent that calls it need Data Cloud in the org?
Show answer
The Apex action itself does not query Data Cloud, because it reads core Salesforce data. The org still needs Data Cloud provisioned, because Agentforce setup and the Trust Layer audit trail depend on it.