How to Set Up Agentforce
Agentforce allows aprity to integrate with Salesforce's AI agent framework. The aprity managed package ships two Apex invocable actions (aprity - Answer Documentation Question and aprity - Record Help Feedback); you attach them to your own Agentforce agent by following a 5-step guide. This page summarizes the flow -- the full walkthrough is in Agentforce Setup.
Prerequisites
- Intelligence or Trial plan with the Agentforce feature enabled.
- At least one completed aprity scan.
- The aprity managed package installed.
- Agentforce enabled in your Salesforce org.
Steps
- Open the aprity app in Salesforce.
- Navigate to the Agentforce tab.
- aprity runs automatic readiness checks (feature enabled on your plan, at least one completed scan).
- Follow the 5-step guide shown in the tab:
Step 1: Create the Agent
In Agentforce Studio (Build > Agents), create a new agent from the Agentforce Employee Agent template (New Agent > Details > Select Template > name it aprity > Let's Go).
Step 2: Add the Documentation Subagent
In Agentforce Builder, add a Documentation aprity subagent with the classification description, scope, and instructions provided in the guide.
Step 3: Add the Actions
Attach the two aprity Apex invocable actions to the subagent (Reference Action Type: Apex, Category: Invocable Method).
Step 4: Activate and Test
Activate the agent in Agentforce Builder and test it in the Conversation Preview panel or the Testing Center.
Step 5: Deploy to Users
Assign the aprity Agent User permission set, grant agent access via Apps > Agent Access in a permission set, and point users to the Agentforce icon in Lightning Experience.
The Agentforce setup is a one-time process. Once the agent is active, its answers automatically follow your latest completed scan -- no reconfiguration needed after each scan.
Troubleshooting
| Issue | Solution |
|---|---|
| Readiness checks fail | Enable the Agentforce feature on your plan (contact your aprity administrator) or run a scan. |
| aprity actions not listed | Ensure the aprity managed package is installed in the org. |
| Users cannot see or use the agent | Assign the aprity Agent User permission set and grant agent access (Apps > Agent Access). |
Agentforce is available on the Intelligence and Trial plans. If the Agentforce tab is not visible, verify your plan includes this feature (see Plan Comparison).