Loading
システム管理者に対するフィッシング耐性MFA・全従業員ユーザーMFAの適用のお知らせ 続きを読む

GovCloud Plus First Service Agent (Legacy Builder)

公開日: Jul 23, 2026
説明

This is a step-by-step guide for building your first Agentforce Service Agent in the Legacy Agentforce Builder in a Salesforce Government Cloud Plus environment. PDF of Instructions.

Prerequisites

  • Edition: Enterprise Edition or higher — verify in Setup > Company Information > Edition, or confirm with the customer's order form.

  • Agentforce license: An Agentforce add-on license must be active on the org. Verify in Setup > Company  Information.

  • Admin permissions:

User Permissions

  • Customize Application

  • Manage AI Agents

  • Manage Flow

Permission Set Licenses

  • Data Cloud 

  • Agentforce for Public Sector (or equivalent)

  • Einstein Prompt Templates

  • Agentforce Service Agent Builder

Permission Sets

  • Data Cloud Architect

  • Prompt Template Manager

  • Agentforce for Public Sector (or equivalent)

  • Agentforce Service Agent Configuration

 

解決策

Step 1: Provision Data Cloud (required for data libraries and agent analytics)

Agentforce is integrated with Data Cloud and generative AI features so you can build observable and trusted agentic experiences. We’ll verify and set up these features to prepare your org for your first agent.

If you’re preparing a free Agentforce Developer org, Data Cloud is provisioned and enabled for you. We recommend verifying your Data Cloud installation by viewing home org details in Data Cloud Setup.

  1. Make sure proper permission sets and permission set licenses are assigned to your user (see Admin Permission table above)

  2. In Setup, search Data Cloud  

  3. Click Data Cloud Setup Home (note you can also reach Data Cloud home from the setup gear)

  4. Click Get Started to begin provisioning

  5. Follow the guided prompts

  6. Allow 30+ minutes for provisioning to finalize before moving to the other steps

 

Step 2: Enable Einstein Generative AI

Turn on Einstein to use generative AI features, including Agentforce, across Salesforce.

  1. In Setup, search Einstein Setup

  2. Click Einstein Setup

  3. Turn on Einstein

  4. Accept terms, if prompted

  5. Refresh your browser

 

Step 3: Enable Agentforce

Turn on Agentforce to start building, customizing, testing, and launching AI agents.

 

  1. In Setup, type Agentforce Agents

  2. Click Agentforce Agents

  3. Turn Agentforce On

 

Step 4: Enable Einstein Trust Layer

Build trust in your agents and other generative AI features. Use the Einstein Trust Layer to personalize data privacy controls that are integrated into the end-user experience.

 

Note: Pattern-based and field-based data masking for large language models (LLMs) is disabled for Agentforce. Einstein Trust Layer includes several policies and features to help protect sensitive data from misuse or leaks beyond data masking. 

 

To learn more about the Einstein Trust Layer visit the following sources:

Einstein Trust Layer Developer Guide

Einstein Trust Layer Trailhead

 

Steps to enable Einstein Trust Layer:

  1. Ensure Data Cloud provisioning is complete

  2. In Setup, type Einstein Trust Layer in the Quick Find box

  3. Toggle on Large Language Model Data Masking

  4. Review the Data Masking and Safety & Security options and configure per your organization's data governance requirements

 

 

Step 5 — Assign Permission Sets (Service Agent)

  1. In Setup Quick Find, type Users

  2. Click on EinsteinServiceAgent User (the dedicated agent user)

  3. Scroll to Permission Set Assignments and click Edit Assignments

  4. Add the following permission sets:

    • Agentforce Service Agent User

    • Agentforce Service Agent Object Access

    • Agentforce Service Agent Configuration

    • Data Cloud Architect

    • Data Cloud User

    • Prompt Template Manager

    • Prompt Template User

  5. Click Save

  6. If using Knowledge articles:

    • Back in Setup, Type Permission Set in the Quick Find box

    • Select New 

    • Create a new permission set called Agentforce Knowledge Access

    • On the newly created Permission Set Detail Page, scroll down and click Data Cloud Data Space Management

    • Click Edit

    • Check the default data space

    • Click Save

Step 6: Create Your First Agentforce Service Agent

Use the default Agentforce Service Agent template to get a head start on creating an agent. Subagents and Actions will help the Service Agent reason and execute tasks. 

 

Subagent represents a specific job the agent is designed to perform, such as checking case status or scheduling an appointment. Subagents were formerly called Topics; you may see both terms in the Builder UI and documentation.

An Action is a predefined task the agent executes to complete a job, such as querying records, running a Flow or Apex, or calling a prompt template. Actions are assigned to subagents and define the inputs, outputs, and permissions for each operation. They are how the agent moves beyond conversation to retrieve data and perform real work in Salesforce and connected systems.

 

Steps to Build a Service Agent:

  1. Navigate to Agentforce Setup (Setup > Agentforce Agents)

  2. Click New Agent

  3. Ensure Create From Template is highlighted

  4. Select the Agentforce Service Agent template (this is not the same as the Agentforce Service Assistant)

  5. Click Next 

  6. On the next screen, review the Out of the Box Subagents and determine which, if any you want to utilize and deselect the rest

  7. Leave the General FAQ Subagent selected to utilize the Out of the Box Answer Questions with Knowledge feature

  8. Leave Escalation selected to escalate issues

  9. Click Next

  10. Provide Agent Details

    • Agent Name: Keep this unique and specific to the Service Agent you are creating

    • Description: Explains the goals of your agent but will not be used by the agent to understand its role

    • Role: The job description of your agent

    • Company: Where you will put your agents or company

    • It is recommended to check the Keep a record of conversations with enhanced event logs to review agent behavior box to help test and troubleshoot your agent

    • Agent User: Select the default Einstein Service Agent user that you added permissions to in prior steps by clicking the X  next to New Agent User and finding the Einstein User in the Dropdown 

 

  1. Click Next

  2. On the Select Data Sources Screen, click Select a library 

  3. Select Default Data Library

  4. Optionally, you can skip adding a Data Library until completing Step 7

Step 7: Configure a Data Library 

Agentforce Data Libraries aim to simplify the configuration of semantic search through chunking and indexing providing Salesforce Agents or Prompt Templates with content based on Salesforce Knowledge articles or files (text, HTML, or PDF). You can find more information about building Agentforce Data Libraries on the Salesforce Help Site.

 

  1. In the Agent Builder, find the Data Library section in the Explorer panel

 

 

  1. Select New Library

    • Data Space will default to default

    • Library Name should describe the library content

    • Upload your data source: Text (4MB limit), HTML (4MB limit), or PDF (100MB limit)

    • Wait for indexing to complete

  2. Click Save

 

Note: All Agentforce Libraries can be found in Setup by typing Agentforce Data Libraries in the Quick Find box.

Step 8: Test Your Agent in Builder

  1. In the Agent Builder, interact with the agent

  2. Ask questions the agent should answer from the Data Library

  3. If the agent cannot answer:

    • Rebuild the Data360 Search Index

    • Verify the Data Library shows as Active (Setup > Agentforce Data Library > View Status of your library and ensure it says Active

    • Confirm the agent user has proper permissions to the underlying objects and data spaces

 

Next step beyond this guide: Connecting your Agentforce Service Agent to channels. Channels are the platforms, apps, and interfaces that you can deploy an agent to, such as the Agentforce panel in Lightning Experience, enhanced messaging channels, websites, and email. For more information and steps to connect your ASA to channels, see the following resources:

 

その他のリソース

Common Pitfalls

Issue

Resolution

"Prompt not found" error when creating agent

Verify all required add-on licenses are provisioned (AgentforceBuilderAddon, etc.) and Einstein is fully enabled

Agent user can't be assigned

Check the user license limit; try a different existing Einstein user or create a new one

Agent not pulling data from Data Library

Rebuild Search Index, refresh Data Stream, verify Data Cloud is fully provisioned, ensure ASA permission set has access to default data space, Ensure ASA permission set is assigned to Einstein user

Non-admin can't create agents

Assign Manage AI Agents + Customize Application permissions

PII / Data Masking token limit errors

Legacy builder handles larger payloads; if hitting the 65K token limit, disable PII detection or reduce prompt size

 

References

 

ナレッジ記事番号

005389019

 
読み込み中
Salesforce Help | Article