Sub topic 1
What Agentforce Is and How Its Pieces Fit Together
Prerequisites
Assume that you know basic Salesforce concepts such as objects, records, and Setup. You should also be comfortable using Lightning Experience and reading simple Apex examples.
Agentforce’s Building Blocks
Agentforce is Salesforce’s platform for creating and running AI agents. An agent interprets a user’s request, follows configured instructions, and uses actions to complete work or retrieve information.
The main pieces are:
- Agent: The complete AI assistant, including its behavior, available topics, and actions.
- Topic: A defined area of work, such as case status questions. A topic limits when the agent should use its instructions.
- Instructions: Rules that tell the agent how to respond and which steps to follow.
- Action: A callable operation. Standard actions use Salesforce features, while custom actions can call Apex or other services.
- Einstein Trust Layer: Security and governance controls that protect business data as prompts and responses move through generative AI services.
Getting a Developer Edition Org with Agentforce
Create or select a Salesforce Developer Edition org whose sign-up offer includes Agentforce. The available features depend on the current Developer Edition promotion, so verify the offer before building the tutorial project.
After signing up, open the verification email, set a password, and sign in to the org. Record the org’s login URL and choose a clear alias if you use Salesforce CLI:
sf org login web --alias agentforce-devThe alias lets later CLI commands identify this org without copying its full username.
Turning on Agentforce in Setup
In Setup, search for Agentforce or Einstein. Enable the Agentforce and generative AI features exposed by your org. Salesforce may display additional prerequisites, such as Data Cloud provisioning or a required permission set.
Complete those prerequisites before opening Agentforce Builder. If a setting is missing, check the org edition and assigned permissions first. Setup labels can differ between Salesforce releases.
The Einstein Trust Layer
The Trust Layer processes an agent’s prompt and response within Salesforce’s security controls. Depending on the feature and configuration, it can ground a request with Salesforce data, mask sensitive information before a model call, detect unsafe content, and record activity for auditing.
Grounding means adding trusted business context to a prompt instead of asking the model to rely only on general training. The model still can produce an incorrect answer, so instructions, permissions, and testing remain necessary.
Exercise
What is the difference between a topic and an action?
Show answer
A topic defines the area and rules for handling a request; an action performs a specific operation or retrieves data.