Beyond the Record: Agents
Det här innehållet är inte tillgängligt på ditt språk än.
Chapter 20 of Securing Salesforce: Sharing and Visibility, Part 3: Beyond the Company and Beyond the Record. New to the course? Start with chapter 1.
Agents are the newest people in the building. They come in the way everyone else does: as a user, with a profile and permission sets, into the same file cabinets. Nothing about an agent replaces the sharing model this course has built. It just asks the model everything at once, in plain language, faster than any person would.
So this chapter asks the two questions every agent raises, the ones chapter 3 started: who does it run as, and who may use it? Then it follows the agent’s work into the places where sharing can quietly stop applying: its actions, the apps that reach in from outside, and the customer who shares one agent user with every other customer.
The ideas in this chapter
Section titled “The ideas in this chapter”- An agent is one more user. Every agent runs as someone: the person, its own agent user, or the site user. Never nobody.
- Whatever its user can read, it can say. The sharing model is the agent’s answer set. Page layouts don’t count; field-level security and sharing do.
- The agent user is an internal user. A service agent talks to the outside, but reads with the internal org-wide defaults. Give it a role of its own and only what its actions need. Never a System Administrator.
- Who may use it is a grant too. Agent Access by permission set; on a site, never the shared profile; for a service agent, the channel is the gate.
- Who may change every agent is a bigger grant. Treat Manage AI Agents like View All: few, named, reviewed.
- Actions run past sharing unless you say so. Flows, Apex and prompt templates each have a run context. Find the one that reads past its user.
- Outside agents come in as a person. MCP and Headless 360 give an outside app that person’s whole access, in bulk. Narrow who connects and what the tools reach.
- Knowing who it is isn’t a boundary. One agent user serves every customer, so every action scopes to the verified customer, and the tests prove it.
The picture
Section titled “The picture”Here’s where the chapter starts: the agents on the landscape these courses share, each where its people meet Salesforce.
And the surprise most teams meet first: the agent user reads with the inside defaults.
The path through this chapter
Section titled “The path through this chapter”Six modules, each standing on its own.
- An Agent Is One More User. Who each agent runs as, in Salesforce’s table; whatever its user can read, it can say; the agents on the landscape; what every chapter of this course already told you to check.
- The Agent User Is an Internal User, So Give It Only What Its Job Needs. What Salesforce creates; objects and fields from its actions; a role of its own; the internal defaults; never a System Administrator.
- Who May Use the Agent, and Who Manages Them All. Agent Access; sites on a permission set; the default agent; the channel as a service agent’s gate; Manage AI Agents.
- Actions Run Past Sharing Unless You Say So. Flows, where two contexts apply; Apex keywords and user mode; prompt templates grounding as the user; the gap to look for.
- MCP and Headless 360 Let Agents From Outside In, as a User. Every capability, for any authenticated caller; the person’s whole access; narrowing what it can reach; the API logs.
- Testing That an Agent Never Reveals Another Customer’s Data. Context variables aren’t a boundary; scope every action to the verified customer; the positive, the negative and the null; the Recipient’s tracking page.
Then check what stuck with the study guide.
What an architect decides here
Section titled “What an architect decides here”- Who each agent runs as, written down beside its name, and whether that user’s access is right for every question it might be asked.
- The agent user’s grants: the permission sets from its actions, a role of its own, and the internal defaults it now answers to.
- Who may use each agent, through which permission set, and where each service agent is placed.
- Who may change every agent, and when that short list is reviewed.
- Each action’s run context, with a written reason for every one that reads past its user.
- Which outside apps may connect, and the narrowest tool for each job.
- How each service agent narrows to one customer, and the tests that prove it, before go-live and after every action change.
Beyond the exam: what AI changes. This whole chapter is the AI change. The exam guide predates agents. But every mechanism here, the defaults, the hierarchy, sharing, permission sets, run context, is on the exam, for people. An agent is the same model, asked by a faster reader.
Explore
Section titled “Explore”Each module lists its own sources. Two to start with:
- Agent Execution Context and Data Access by Type (opens in a new tab), Salesforce Help (checked 2026-11-26)
- Configure Service Agent Access (opens in a new tab), Salesforce Help (checked 2026-11-26)
Next: Data 360 Access: Data Spaces and Policies (coming soon)
