Agentforce permissions and governance: agent users, topics and actions

Agentforce limits agent access through agent users, permission sets, field-level security, topic restrictions and human approval, but the customer configures each of these. This page sets out what is built in, what needs configuring and where the gaps sit.

On this page

Can Agentforce agent access be limited to least privilege?

Yes, but only if your admin team configures it. Agentforce provides the controls needed for least privilege: a dedicated agent user, permission sets, field-level and object security on grounding data, restricted topics, approved actions and human-in-the-loop approval for custom actions. Salesforce's shared responsibility guidance places the configuration of these controls on the customer, so an agent is as narrow or as broad as the admins make it. The controls described here are the ones Salesforce names in its Agentforce Security and the Shared Responsibility Model article, and they should be confirmed against your licensed edition with Salesforce before you rely on them in an approval decision.

Before approval, the admin team should be able to show a reviewer five things. First, the agent user for each agent, created as a separate identity with only the permissions that agent needs, which Salesforce recommends generating through Agent Creator for customer-facing agents. Second, a permission set and field-level security map showing exactly which objects and fields feed grounding data. Third, a topic list with restrictions, a set of approved actions, and rejection responses for out-of-scope requests. Fourth, a list of custom actions that require human approval before they run. Fifth, Enhanced Event Logs enabled so agent and user activity can be reviewed after the fact. The agent user is the permission boundary, so review its profile and permission sets as you would a service account.

Confirm three things with Salesforce before you treat this as settled. Ask which Agentforce editions and add-ons include each control, since entitlements can differ by license. Ask how Enhanced Event Logs are licensed and retained for your org. Ask how the Einstein Trust Layer's secure data retrieval applies to the objects you plan to ground on, because Salesforce states that it maintains existing permissions and data access controls. Also ask your Salesforce admins to test each agent with a user who holds the lowest access you intend to allow, and record the results. Those tests give your security reviewer evidence that limits hold in practice, not only in configuration.

Agentforce permission controls by capability

This table lists each permission control Salesforce describes for Agentforce agents and shows whether the platform provides it, whether the customer must configure it, or whether the edition in scope still needs confirmation. Read the middle column first to see who owns the setting, then check the last column before assuming a control is available in your contract.

ControlWho is responsibleWhat to confirm before rollout
Agent user and permission setsCustomer configures. Salesforce's shared responsibility guidance says customers should create a dedicated agent user with only the permissions it needs.Confirm with Salesforce that Agent Creator is available for your edition and that the agent user license and permission set model matches your org design.
Profiles and minimal access for all usersCustomer configures. Guidance says to grant minimal access to all users and to set profiles, permission sets and field-level security.Review existing profiles that agents may inherit, since an agent user with broad rights exposes everything those rights cover.
Field-level and object security on grounding dataCustomer configures. Guidance says to use field-level and object security to control what grounding data agents can see.Test grounding retrieval with the agent user, because the Einstein Trust Layer's secure data retrieval maintains the permissions and access controls already in place.
Topic restrictionsCustomer configures. Guidance says customers should restrict agent topics to the scope they intend.Confirm with Salesforce how topic scope is enforced for your agent type and what happens to out-of-scope requests.
Approved action listsCustomer configures. Guidance says agents should be limited to approved actions.Inventory every action an agent can call, including those inherited from flows, Apex or external services, and remove unused ones.
Rejection responsesCustomer configures. Guidance says customers should set rejection responses for requests the agent must refuse.Review wording with compliance owners so refusals do not reveal internal logic or data.
Human-in-the-loop for custom actionsCustomer configures. Guidance says customers should enable human approval for custom actions.Confirm which action types support approval steps in your edition and who is authorized to approve.
Enhanced Event Logs for agent and user activityCustomer configures. Guidance says customers should enable Enhanced Event Logs to audit agent and user activity.Confirm with Salesforce which event log types are included in your edition, retention periods and how to export them to your SIEM.
Secure data retrieval and access controlsBuilt in. Salesforce states that the Einstein Trust Layer's secure data retrieval maintains permissions and data access controls.Verify in a test org that retrieval respects sharing rules for each agent user, since the platform enforces this only as configured.

How agent users, topics and actions decide what an agent can touch

An Agentforce agent's reach is set by several layers you configure, and none of them is a single switch. The first layer is the agent user, the identity the agent runs as. Its permission sets bound what the agent can read and write across objects and fields. Salesforce's shared responsibility guidance tells customers to give agents only the permissions they need, and for customer-facing agents to generate a new agent user with Agent Creator rather than reuse an existing employee account. The second layer is topics, which define the subjects an agent will engage with. The third is actions, the callable operations such as record updates or flows. Each action is only as narrow as the agent user behind it allows, so a broad action on a broadly permissioned user is a broad exposure.

Grounding data follows the same logic. The Einstein Trust Layer's secure data retrieval is designed to maintain existing permissions and data access controls, so the agent should only retrieve what the agent user can already see. That protection depends on the configuration beneath it. Confirm field-level and object security for every object the agent grounds on, because a field the agent user can read is a field the agent can surface in a response. Salesforce's Agentforce Privacy FAQ also notes that some agent types act on behalf of a user or customer, based on the use cases and guardrails an admin specifies. For those agents, the admin, not Salesforce, decides where the boundaries sit, and the review should confirm who approved each guardrail and when it was last tested.

Before go-live, run a written boundary review for each agent: list the agent user's permission sets, the topics in scope, every action with its write behavior, and which actions require human approval. Confirm the rejection responses the agent returns when a request falls outside its topics. Then decide the monitoring you need, since Salesforce's guidance points customers to Enhanced Event Logs to audit agent and user activity. Confirm with your Salesforce admin or partner which of these settings your edition and org support, because the available controls depend on your licenses and configuration.

Request flow from user prompt to permitted action

The flow starts when a user or channel sends a prompt to the agent. The agent selects a topic, then acts only through actions on its approved list, and the agent user's permission sets and field-level security decide which grounding data it can read. Custom actions can pause for human-in-the-loop approval before they run. Enhanced Event Logs record agent and user activity along the way, so reviewers should confirm each checkpoint is configured in their own org.

Checkpoints an admin configures between a prompt and an agent action.

Design decisions an Agentforce admin team must make

Each card below is a decision the admin team owns, because Salesforce's shared responsibility model leaves permissions, topics, actions and log review with the customer. The choices interact: a broad agent user undoes careful topic restrictions, and unreviewed logs make approval gates impossible to verify.

Agent user scope

The agent user is the identity the agent uses to read and change records, so its permissions set the ceiling for everything the agent can do. Salesforce's guidance is to grant minimal access to all users and to configure profiles, permission sets and field-level security deliberately. Check the agent user's object and field access against the agent's stated purpose, and confirm that no permission was added because a test failed. Review the scope again whenever a new topic or action is added.

Shared responsibility article

Dedicated agent user with Agent Creator

For customer-facing agents, Salesforce advises using Agent Creator to generate a new agent user and adding only the permissions that agent needs. A dedicated identity keeps agent activity separate from staff accounts, so audit records show what the agent did rather than what a person did. The decision affects who owns the identity, how its access is reviewed, and whether an existing user is reused for convenience. Ask the vendor to confirm how the generated agent user's license and permission set are assigned.

Objects and fields exposed as grounding data

Grounding data is the record content the agent retrieves to answer questions, so every field you expose becomes readable by the agent and potentially quoted in its responses. Salesforce recommends using field-level and object security to control this data. Decide which objects and fields the agent may see, and exclude sensitive fields such as personal identifiers, health details or financial data unless a documented use case requires them. Confirm that the Einstein Trust Layer's secure data retrieval respects these settings in your org.

Trusted AI page

Allowed topics and actions

Topics define what subjects an agent handles, and actions define what it can do, such as updating a case or sending a message. Salesforce recommends restricting agent topics and limiting agents to approved actions. Map each agent to a short list of topics and actions, and record the business owner who approved each one. Anything outside that list should be declined by the agent, not left to the model's judgment. Test out-of-scope requests before go-live.

Rejection response wording

When an agent declines a request, the rejection response is what the user sees, and it also shapes how users try to get around the limit. Salesforce recommends configuring rejection responses rather than relying on default behavior. Decide who writes the wording, have legal or compliance review it, and keep it neutral: it should state that the agent cannot help with the request and point to an approved channel. Avoid wording that reveals internal rules, system details or the names of restricted data fields.

Custom actions requiring human approval

Human-in-the-loop approval adds a person to the decision before a custom action runs. Salesforce recommends enabling it for custom actions, so the admin team must decide which actions change money, customer records, access rights or external systems and therefore need a named approver. Document the approver role, the time allowed to respond, and what happens if no one responds. Actions that only read information usually need less friction, and that split should be a written decision.

Log retention and review ownership

Salesforce recommends enabling Enhanced Event Logs to audit agent and user activity, but enabling logs does not mean anyone reviews them. Decide how long logs are kept, who reads them, how often, and who is accountable when activity looks wrong. Confirm with Salesforce which retention period applies to each log type in your edition, and whether exports go to a system your security team already monitors. Without a named owner, the approval gates and topic limits cannot be verified after go-live.

Shared responsibility article

How permission design changes by agent type and data sensitivity

Customer-facing agents talk to people outside your organization, so the main risk is an external user steering the agent toward data or actions it should never expose. Salesforce's shared responsibility guidance says that for customer-facing agents, the customer should use Agent Creator to generate a new agent user and add only the permissions that agent needs. The agent user should not inherit the access of a broad internal profile.

  • Dedicated agent user: Create a separate agent user for each agent so its access can be reviewed and removed without affecting staff accounts.
  • Narrow topics and actions: Restrict the agent to approved topics and actions, and configure rejection responses for requests outside that scope.
  • Grounding limits: Use field-level and object security to control which records the agent can retrieve when answering customers.
  • Logging depth: Enable Enhanced Event Logs so agent and user activity can be audited, since external conversations are the most likely source of misuse.

Before approval, confirm which fields the agent user can read, which actions it can trigger without a person, and how a customer's identity is verified before any account data is returned.

Rollout order for a governed Agentforce permission model

This sequence moves an Agentforce agent from broad access to a narrow, tested permission model, so each control is in place and checked before the agent reaches customers. Each step produces a record that a security or compliance reviewer can inspect.

  1. Inventory objects and fields each agent needs

    The Salesforce admin and the business owner list the objects, fields, topics and actions each agent must use to answer its intended requests. Salesforce's shared responsibility guidance tells customers to grant minimal access to all users, so start from an empty list and add only what a stated use case requires. Done means a signed-off inventory that names every object, field and action, with the business reason for each. Anything not on the list is out of scope for the rollout.

  2. Create a dedicated agent user with minimal permissions

    The Salesforce admin uses Agent Creator to generate a new agent user for each customer-facing agent, rather than reusing an existing employee or integration account. The admin assigns only the permission sets the inventory requires. Done means the agent user exists as its own identity, and a review of its assigned permissions matches the inventory line by line. Reviewers should confirm that no broad administrative permissions are attached.

  3. Set field-level and object security on grounding data

    The admin applies object and field-level security to every field the agent can retrieve as grounding data, so the agent sees only what the inventory approved. Salesforce states that the Einstein Trust Layer's secure data retrieval keeps existing permissions and data access controls in force, which means the agent cannot read past the agent user's own access. Done means a test record with a restricted field returns no value to the agent user when the agent is asked about it.

  4. Restrict topics and approved actions

    The admin limits the agent to the topics the use case needs and attaches only approved actions to each topic. Salesforce's guidance is to restrict agent topics and limit agents to approved actions, so any unlisted topic or action should be unavailable. Done means a topic and action map exists, and each action traces back to a line in the inventory. Reviewers should confirm that no topic exposes an action outside the approved map.

  5. Configure rejection responses for out-of-scope requests

    The admin writes the response the agent gives when a request falls outside its topics or permissions, so the agent declines clearly rather than improvising. The text should not reveal internal field names, object structure or system details. Done means each agent has a documented rejection response, approved by the business owner and the security reviewer, and the response appears when an out-of-scope test prompt is entered.

  6. Enable human-in-the-loop for custom actions

    For every custom action that changes data or triggers an external system, the admin turns on human approval so a person confirms the step before it runs. Salesforce's guidance calls for human-in-the-loop on custom actions, and the reviewer should decide which actions count as sensitive. Done means each sensitive action in the map shows an approval step in a test run, and a test user without approval rights cannot complete it.

  7. Enable Enhanced Event Logs for agent and user activity

    The Salesforce admin enables Enhanced Event Logs so agent and user activity can be audited after the fact. Salesforce's shared responsibility guidance lists this as a customer task, so it does not happen by default in the security sense that matters to reviewers. Confirm with your Salesforce account team which log types are included in your edition and how long they are retained. Done means a test interaction appears in the logs and the security team can query it.

  8. Test out-of-scope requests before go-live

    The security and business owners run a scripted set of out-of-scope and adversarial requests against the agent, including attempts to reach restricted fields, unapproved actions and topics outside the approved map. Every failed control or unexpected answer is logged, fixed and retested. Done means the test record shows each out-of-scope request was declined, each sensitive action required approval, and each finding has a closed ticket. Repeat this test after any change to topics, actions or permissions.

Evidence a security reviewer asks to see

This table lists the evidence an assessor should request for an Agentforce agent, with the Salesforce location where each item lives in the org. Use it as a checklist: if a row cannot be produced from the org configuration and logs, the control is not yet verifiable. Salesforce's shared responsibility guidance places all of these settings with the customer, so the evidence is produced by the admin team rather than the platform.

Evidence itemWhat the reviewer checksWhere to find it in Salesforce
Agent user definitionDedicated agent user created for the agent, not reused from a human or admin accountSetup, Agentforce agent settings, and the user record it references
Permission set assignmentsOnly the permissions the agent needs, granted through permission sets rather than broad profilesSetup, Users, and Permission Sets assigned to the agent user
Field-level security on grounding objectsFields used for grounding are visible to the agent user only where requiredSetup, Object Manager, field-level security for each grounding object
Topic inventoryEach topic the agent may handle is listed, with scope and any restrictionsAgent Builder, topics list for the agent
Action inventoryEach action is approved, with its target object or flow and whether it writes dataAgent Builder, actions list, and the underlying Flow or Apex definition
Rejection response configurationDefined responses for requests outside scope or blocked by policyAgent Builder, topic and agent-level response settings
Human approval settingsCustom actions that change records require a human approver before they runAgent Builder, action configuration, human-in-the-loop option
Enhanced Event Logs configurationEnhanced Event Logs enabled and retained for agent and user activitySetup, Event Monitoring or Enhanced Event Logs settings, confirm with your Salesforce admin
Sample log outputRecent entries showing agent and user actions, with timestamps and the acting identityEvent log file export or query output from the Enhanced Event Logs store

Questions buyers ask before approving Agentforce permissions

Is the Agentforce permission model built in or does it need configuration?

The permission model is largely a configuration task that the customer owns. Salesforce's shared responsibility guidance says Salesforce secures the platform and provides the Einstein Trust Layer, while customers configure permissions, agent users, topics and actions. Secure data retrieval in the Einstein Trust Layer maintains the permissions and data access controls already defined in your org, so an agent can only ground on data its effective access allows. The practical driver is how cleanly your existing profiles, permission sets and sharing rules are designed today. Review them before enabling any agent, because the agent inherits whatever gaps they contain.

Who owns the Agentforce agent user and its permissions?

Your Salesforce administrators and security team own the agent user, and the decision should be documented as a control. Salesforce's guidance says that for customer-facing agents, customers should use Agent Creator to generate a new agent user and add only the permissions it needs. In practice, the security owner approves the permission set, the platform owner maintains it, and the business owner confirms the agent's purpose. Ask who signs off on changes, how changes are reviewed, and how the agent user is reviewed when its topics or actions change. Some agent types act on behalf of a user or customer based on the use cases and guardrails an admin specifies, so the admin's configuration choices matter directly.

Do we need an outside consultant to set up Agentforce permissions?

You do not need an outside party to configure the permission model, but you may want one for independent review or for scope you cannot staff internally. DeployOpen plans, implements, hardens and documents open-source platforms inside client infrastructure, runs security testing including AI and agent security, and prepares evidence for compliance assessments. It does not configure Salesforce permissions as a product, and it does not issue audit reports or certifications. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. If you consider outside help, ask whether the work covers Salesforce configuration, an independent test of agent behavior, or evidence preparation, and make sure each is written into the scope.

What does the effort for Agentforce permissions depend on?

Effort depends on how many agents you plan, how many objects and fields they ground on, how many actions they can call, and how mature your current Salesforce security model is. Each additional topic and action requires its own review of data access, rejection responses and whether human approval applies. Salesforce's guidance asks customers to restrict agent topics, limit agents to approved actions, configure rejection responses and enable human-in-the-loop for custom actions, so each of these adds configuration and testing work. Pricing is a separate question: the Agentforce pricing page lists Flex Credits at $500 per 100,000 credits, conversations at $2 each and Agentforce add-ons from $150 per user per month, as of November 2026. Confirm current figures on that page, since costs for usage and licenses are set by those models rather than by the permission work itself.

Can our Salesforce admins configure agent permissions without outside help?

Yes, if your admins have the Salesforce skills and the time to design, test and document the controls. Salesforce's shared responsibility guidance places these tasks on the customer, so internal admins are the expected owners. Plan for the work to be repeatable: a written permission baseline, a change process for new topics and actions, a test plan that checks what the agent can read and change, and a regular review of Enhanced Event Logs for agent and user activity. Ask yourself whether your team can run that cycle for every agent, not just the first one. If not, the gap is capacity or skill, and that is the case for external support.

How does prompt injection fit into Agentforce permissions?

Permissions limit the damage a manipulated agent can do, but they do not stop an attacker from trying to override instructions. Salesforce describes the Einstein Trust Layer as providing protections, while leaving several defenses to the customer, including restricting topics, limiting actions and enabling human approval for custom actions. Treat each action an agent can take as a potential route for injected instructions, and make sure the agent user holds only the access that action needs. Test this directly with adversarial prompts against your own topics and actions. Confirm with Salesforce which prompt injection controls are native to your edition and which you must build or configure yourself.

What should we confirm about Agentforce edition entitlements before approval?

Confirm in writing which edition, license and add-on your org holds before you design the controls, because agent features, event logs and some governance options can depend on them. The Agentforce pricing page is the starting point for list pricing and the Agentforce add-ons, and you should read it as of the date you decide. Ask Salesforce or your account team which features, including Enhanced Event Logs and the agent user licenses, are included in your contract. Keep the answers with your approval record so the controls you approved match what you are entitled to run.

How DeployOpen works on this

DeployOpen is a Chainscore Labs company that plans, implements, hardens and documents self-hosted open-source platforms, and runs security testing that includes AI systems and agents. For Agentforce permissions and governance, we work from a written scope to test the agent users, permission sets, field-level security, topics and actions your admins configure, and we hand over the evidence your reviewers need.

How we scope

  • Agree in writing which agents, agent users, topics and actions fall inside the engagement.
  • Map the Salesforce objects and fields each agent can reach as grounding data.
  • Confirm which approval, rejection and event logging settings the review will check.

How we build

  • Set up test agent users with the minimum permission sets described in the agreed scope.
  • Configure restricted topics, approved action lists and human-in-the-loop steps for test runs.
  • Build test cases that try actions and data access outside the agent's intended role.

How we hand over

  • Deliver test results with each permission gap, the evidence behind it and a suggested fix.
  • Document the configured agent user, topic and action settings so admins can reproduce them.
  • Walk through the written findings with the admin, security and compliance owners.

How we support

  • Engagements are fixed-scope, so changes to permissions or topics are agreed in writing first.
  • Ongoing support, re-testing after configuration changes and upgrades are available as a retainer.
  • Confirm with your Salesforce admin which Enhanced Event Logs and audit settings your environment supports.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.