Getting Started

  • What is Trailhead
  • myTrailhead
  • Trailblazer Community
  • Career Growth

Learn

  • Trails
  • Trailmixes
  • Modules
  • Projects

Credentials

  • Superbadges
  • Certifications
  • Maintain Certifications

Salesforce

  • Salesforce.com
  • AppExchange
  • Developers
  • Help Portal
© 2026 Salesforce, Inc. All rights reserved. Privacy Terms of Use Trust Accessibility Cookie Preferences
SalesforceTrailhead
  • Today
Trail

Build an AI Agent with Agentforce

Set up and test a conversational AI agent in Salesforce.

PMA

9.9K+ Trailblazers completed this

+2,200 Points
Intermediate
Administrator, Developer
17%
+2,200 Points
Intermediate
Administrator, Developer
17%

Build Your First Agent

Stand up an agent in a Developer Edition org, then extend it with Apex actions.

+2,200 Points
30%
Project
Quick Start: Build Your First Agent with Agentforce

Create, configure, and test a service agent in a Developer Edition org.

+1,200 Points
50%
Badge
Agent Customization with Apex

Create custom AI agents using agent actions and Apex.

+1,000 Points
10%

Test Before You Launch

Prove your agent responds the way you designed before anyone else talks to it.

+1,200 Points
~1 hr 8 mins • 2 steps
Badge
Agentforce Testing Center

Build trust in your Agentforce agents with the Agentforce Testing Center.

+1,200 Points
~1 hr
Video

Build Your First Agent with Agentforce

Learn the fundamentals of building autonomous agents that work for your business.

Salesforce
8 mins•Mark as Complete

About this Trail

Building an agent is part configuration and part engineering. In this trail you create an agent in a Developer Edition org, extend it with Apex actions and deterministic agent script steps, and then prove it works with the Agentforce Testing Center before anyone else talks to it.

What You'll Learn

Emphasis shows primary focus areas. Learn More

Skills

Agent Script and deterministic logicAI Development•Agent ActionsAgentic Reasoning & Atlas Engine•Agent groundingApex Programming

Products

Agentforce•Salesforce Platform

Industries

Cross-Industry

Related Videos

Quick videos that show agents being built, planned, and wired to Flow.

Build Your First Agent with Agentforce

Learn the fundamentals of building autonomous agents that work for your business.

Invoke Flow From Prompt Builder & Prompt Builder From Flow

Learn how to integrate Prompt Builder with Salesforce Flows for automation.

Discover More

Continue your agent learning journey with these related badges and resources.

Agentforce Grid

Evaluate prompts and agents at scale in a spreadsheet-style workbook.

Superbadge: Apex for Agentforce

Prove you can build custom Apex agent actions.

Dive into Agentforce

Learn how Agentforce helps businesses of every size put AI agents to work.