Cert++
Close

Agentforce agent access

Key Takeaway

An Employee agent runs as the logged-in user, and you choose who can use it by enabling it for permission sets or profiles. A Service agent usually can't rely on the end user's user record, so it runs as a dedicated agent user that starts with minimal access, which you expand using the principle of least privilege.

Agentforce agent access answers two questions: who is allowed to use an agent, and what data the agent can see and change while it works. The answer depends on the agent type. Some agents run as the person using them. Others run as a dedicated user record that the admin must configure and lock down.

Execution context by agent type

Each agent type serves different people and runs in a different execution context, which means it runs as a different user:

ServesRuns as
Agentforce Employee agentInternal employeesThe logged-in end user
Agentforce Service agentExternal customers and partnersA dedicated agent user (EinsteinServiceAgent User)
Agentforce Lead Nurturing agentLeads and prospects, through automated outreach by outbound emailA dedicated EinsteinSDRAgent User

An Employee agent runs as the logged-in end user. That user's profile, permission sets, field-level security, and sharing rules decide what the agent can do, so you don't need to scope its queries to user-specific data.

A Service agent works over enhanced Messaging channels, such as Enhanced Chat. These channels allow unauthenticated users, so the agent usually can't rely on the end user's user record. Instead, it runs as the agent user. The agent user's profile, permissions, field-level security, and sharing rules govern data access.

For a Lead Nurturing agent, agent setup creates the EinsteinSDRAgent User and gives it system-level permissions. Assignment rules, automated actions, or individual sales users assign prospects to the agent.

Platform Administrator Study Guide

Checklist progress

0/324Learned

Explain the various organization Security Controls (for example: Identity verification, Setup Audit Trail, Login Hours, Session Settings, agent access)

0/12

My Domain org login URL

Learn this concept

Profile login hours

Learn this concept

Network Access trusted IP ranges

Learn this concept

Profile login IP ranges

Learn this concept

Security tokens for API logins

Learn this concept

Organization session settings

Learn this concept

Setup Audit Trail

Learn this concept

Login History

Learn this concept

Agentforce agent access

Learn this concept

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Platform Administrator studiers. 757 members and growing.