How to Deploy Agentforce from Sandbox to Production in Salesforce

Table of Contents


Deploying new features from a sandbox to production is a crucial part of Salesforce development—and when it comes to Agentforce, getting it right is essential to maintain seamless operations and powerful customer interactions.

In this blog, we’ll walk you through how to deploy Agentforce from a Test Org (Sandbox) to a Production Org using a Change Set. Whether you’re a developer, admin, or someone exploring the Salesforce ecosystem, this guide will help ensure a successful migration of your Agentforce components.

The Challenge

Deploying Agentforce isn’t just about moving code—it’s about ensuring that all necessary components are accurately transferred, functionality is preserved, and everything works as expected in the live environment.

The Solution: Step-by-Step Deployment with Change Sets

Here’s how you can deploy Agentforce using Change Sets in Salesforce:

  1. Start in the Sandbox
  • Open the Agent Builder in your Test Org.
  • Identify the custom topic—such as Quote Management—that needs to be deployed.
  1. Navigate to Outbound Change Sets
  • Use the Quick Find box to search for Outbound Change Sets.
  • Select the option and click Continue.
  1. Connect Your Orgs
  • Ensure the Production Org is connected to your Sandbox. This step is crucial for transferring components.
  1. Create or Select a Change Set
  • If none exist, create a new one (e.g., Custom Agentforce Production Change Set).
  • Or select an existing one for reuse.
  1. Add Agentforce Components

Click the Add button and include the following:

  • Flow Action Definition – Defines flow-based actions.
  • Apex Class Definition – Contains the core logic for Agentforce.
  • Generative AI Function Definition – Defines AI-driven agent actions.
  • Generative AI Planner Definition – Adds default agent workflows.
  • Generative AI Plugin Definition – Adds agent topics for interaction.
  1. Upload the Change Set
  • Click Upload to transfer it to the Production Org.
  • Be patient—the process may take time depending on complexity.
  1. Validate in Production
  • Go to Inbound Change Sets in the Production Org.
  • Select your uploaded Change Set and click Validate.
  • If everything checks out, click Deploy.
  1. Verify the Deployment
  • Navigate to Agent Actions and refresh the page.
  • Open Agent Builder to confirm new actions and topics under Quote Management.
  • Test by adding a sample prompt. If the system responds accurately, your deployment is a success!

Conclusion

Deploying Agentforce from a sandbox to production using Change Sets ensures a structured, secure, and efficient rollout. By following the steps above, you can maintain system reliability while delivering impactful agent interactions in Salesforce.

Want to master Agentforce?

Enroll in our Agentforce Training Program and become an Agentforce expert!
Gain hands-on skills, learn best practices, and elevate your Salesforce capabilities with confidence.

Get started today and transform your Salesforce journey! Contact us at salesforce@cldystage.wpengine.com for more details.

Share Article

RELATED CONTENT

Revenue Cloud Management vs Traditional Billing Systems-A Buyer’s Comparison for Modern Enterprises

As enterprises shift toward subscription, usage-based, and hybrid revenue models, legacy billing architectures are increasingly becoming...

A Complete Introduction to Salesforce OmniStudio for New Implementers

Salesforce OmniStudio is a powerful low-code toolkit that helps you build guided user experiences, automate complex...

Konfeeg Day 2026 – Event Highlights & Activities

Konfeeg Day was a powerful convergence of technology leaders, industry experts, academia, customers, and partners—focused on...

Why Quantum Computing Is Rising Fast

Rapid market growth and soaring investments The quantum computing market is growing at breakneck pace. According...

How AI Agents Will Double the Workforce and Redefine Work Itself

The next great workforce expansion won’t come from human hiring. It will come from AI agents,...

Salesforce Revenue Cloud Advanced Interview Questions & Answers

Salesforce Revenue Cloud Advanced is more than a tool—it’s the architectural backbone of revenue transformation. When...

AI Strategy as the Ultimate Competitive Advantage

Artificial Intelligence is no longer a speculative bet; it’s the new operating system of modern enterprise....

The Shared Intelligence Economy: How AI Agents Are Redefining Monetization and Value

In the evolving landscape of artificial intelligence, a new paradigm is emerging — one where intelligence...

Salesforce Agentforce Interview Questions & Answers

Agentforce represents Salesforce’s pivot from AI-assisted tools to AI-driven operations. Success hinges not on technical novelty...