AIforce and Headless Toolkit34% of the exam
Building, testing and delivering HXL widgets across clients
How one HXL widget reaches Agentforce, Claude, ChatGPT and Slackbot through a custom Salesforce MCP server while Salesforce permissions still apply, how teams design widgets in HXL Playground or generate them with Agentforce Vibes, and how to test the result in Agentforce and on each client.
Identify how the Headless Experience Layer (HXL) enables Salesforce experiences across supported external AI interfaces.
~7 min read · 11 practice questions
What the exam expects
- Explain how one HXL widget renders natively on Agentforce and on supported external AI clients, and what stays the same everywhere (permissions, sharing, business rules).
- Identify the delivery path to Claude, ChatGPT and Slackbot, including the client-specific connection and the Block Kit exception.
- Choose between HXL Playground and Agentforce Vibes for designing or generating a widget, and know what each does not do.
- Describe how to test a widget in Agentforce and on an external client, and what to expect after updating a widget.
- Key terms: surface (the application and UI area where an agent operates, also called a channel); MCP client (the external agent, such as Claude, that connects to the org); custom Salesforce MCP server (an admin-built server whose tools can carry a widget); HXL Playground (a browser-based tool for building and previewing widgets); Agentforce Vibes (Salesforce's AI coding assistant, which can generate widget files).
Key facts
Write once
- Detail
- One widget deploys to Agentforce, ChatGPT, Claude and Slackbot
Security
- Detail
- Every surface inherits Salesforce permissions and sharing
MCP delivery
- Detail
- Needs a custom MCP server with the widget's tool and resource
Client connection
- Detail
- Steps differ by client; Slackbot adds the server in Slack
Block Kit for Slackbot
- Detail
- HXL widgets don't currently render on that path
HXL Playground
- Detail
- Browser tool for composing and previewing with mock data
Developer preview components
- Detail
- Early access; APIs can change; use a sandbox org
Vibes scope
- Detail
- Generates and refines bundles; doesn't build the MCP server
After an update
- Detail
- A client that already rendered the widget can lag
Sources for this section (5)
- Get Started with HXLdeveloper.salesforce.com (opens in a new tab)
- Use HXL Widgets with MCP Agentsdeveloper.salesforce.com (opens in a new tab)
- Connect Your MCP Clientdeveloper.salesforce.com (opens in a new tab)
- HXL Componentsdeveloper.salesforce.com (opens in a new tab)
- Agentforce Vibes for HXLdeveloper.salesforce.com (opens in a new tab)
- Why can an HXL widget work in an agent beyond the clients Salesforce names?
- Why does Salesforce document the manual MCP steps even though Agentforce Vibes can do many of them?
- When a Playground component is badged Coming soon, where can a team use it?
The questions are free to read. Answers with their sources and self-grading are included with the pack.
Keep reading with the AIforce Foundations pack
- Core concepts
- Exam traps
- Worked scenario
The pack includes:
- All 24 lessons of the AIforce Foundations guide, with reading progress
- Interactive decision walks and step-by-step sequence steppers
- Practice exams purchase adds inline bank questions and topic practice (11 questions for this lesson)
- An official source cited for every claim
- An AI tutor that answers from the guide
- Choose guide-only, practice-only, or save $4 with both