Skip to main content
New tool CRON Expression Builder — preview next run times before you schedule Apex. Open the builder →
A 3D interface console visualizing the Setup with Agentforce environment for Salesforce admins
Admin

Setup with Agentforce: A Technical Guide for Salesforce Admins

Streamline your administrative workflows by leveraging Setup with Agentforce to automate object creation, permission management, and system auditing. Learn how to configure this beta tool to reduce manual overhead in your org.

The short answer

Setup with Agentforce is an AI assistant embedded directly into Salesforce Setup that allows administrators to manage data modeling, permission auditing, and configuration tasks using natural language. This technical guide outlines the prerequisite org settings and permissions, core admin use cases, and best practices for validating agent-generated changes.

Key takeaways Assign the Customize Application, Data Cloud User, Use Setup with Agentforce, and Execute Prompt Template permissions to admins before activating the feature toggle. Validate agent-generated custom objects and complex relationships in a sandbox environment before deploying to production. Use the Use Formula Assistant tool to generate and debug logic while keeping formulas readable by preferring AND/OR logic over nested IF statements. Audit user system permissions and troubleshoot record access paths by querying the agent directly instead of manually inspecting profiles.

Overview of Setup with Agentforce

Setup with Agentforce transforms how administrators interact with the Salesforce Setup menu. By moving beyond traditional navigation, it allows for natural language interaction to handle configuration, permission auditing, and data modeling. Currently in beta, this feature acts as an AI-powered assistant embedded directly into the Setup home page.

Getting Started: Configuration and Prerequisites

Before you can begin using the agent, you must ensure your environment is correctly provisioned. Follow these steps to activate the feature:

  1. Enable Foundation Features: Ensure Data Cloud is enabled in your org, along with Einstein Generative AI and Agentforce.
  2. Assign Permissions: Users require the following permissions:
    • Customize Application
    • Data Cloud User
    • Use Setup with Agentforce
    • Execute Prompt Template
  3. Data Space Access: Verify that the user has access to the default Data Cloud data space.
  4. Activation: Navigate to the new Setup with Agentforce page within the Setup menu and enable the feature toggle.

Practical Use Cases for Admins

1. Data Modeling and Object Creation

You can use natural language to request new custom objects and fields. The agent attempts to follow architectural best practices.

Pro-tip: If the agent proposes a custom object that duplicates standard functionality (like an 'Account' or 'Contact'), it will often suggest using the standard object instead. Always verify field types—as of the current beta, certain complex types like the custom Address field are not supported and may default to Text Areas.

2. Formula Generation and Validation

The agent assists in writing complex formula fields and validation rules. If you are already in the formula editor, use the Use Formula Assistant button to generate or debug logic.

Technical Note: Always review generated logic for scalability. Prefer clear, readable AND/OR logic over deeply nested IF() statements to ensure long-term maintainability.

3. Permission and Access Auditing

Stop manually inspecting profiles and permission sets. You can now query the agent to determine:

  • Which users hold specific system permissions (e.g., Modify All Data).
  • How a user gains access to a specific object or field.
  • Creation/Modification of permission sets via natural language prompts.

4. Org Health Monitoring

The Setup home page now features proactive health tiles. You can use these to monitor:

  • Security health metrics.
  • Apex Class API versioning (enabling bulk analysis rather than manual page-by-page review).

Handling Unsupported Requests

If the agent lacks the capability to perform an action directly, it will pivot to providing context-aware guidance. It will retrieve relevant articles from help.salesforce.com and provide deep links directly to the specific Setup pages required to complete the task manually.

Key Takeaways

  • Iterate for Accuracy: AI-generated configurations should be treated as drafts. Refine prompts with specific field names, relationships, and naming conventions for better output.
  • Sandbox First: Test your configurations in a sandbox environment before deploying them to production, especially when dealing with complex object relationships.
  • Human-in-the-Loop: While the agent accelerates Setup navigation, the admin remains responsible for architectural decisions, such as data normalization and security models.
  • Documentation Integration: When the agent cannot perform an action, use its documentation links to expedite manual configuration.

Frequently asked questions

What permissions are required for Setup with Agentforce?

Users require the Customize Application, Data Cloud User, Use Setup with Agentforce, and Execute Prompt Template permissions. Additionally, the user must have access to the default Data Cloud data space.

Can Setup with Agentforce create custom objects and fields?

Yes, administrators can use natural language prompts to create custom objects and fields. However, unsupported complex types like custom Address fields may default to Text Areas and require manual verification.

What happens when Setup with Agentforce cannot complete a task?

If the agent lacks the capability to perform an action directly, it provides context-aware guidance by returning help.salesforce.com documentation and direct links to the relevant Setup pages.

Newsletter

One email every Tuesday

New guides, tool updates, and the release-note changes that break things.

No spam. Unsubscribe in one click.

Comments

Loading comments...

Leave a Comment