0

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@cloudely.com for more details.

At Cloudely Inc., we help enterprises design, implement, and scale modern digital solutions using a combination of no-code platforms, AI agents, and cloud-neutral architectures. Beyond technology implementation, we work as a strategic consulting and implementation partner, aligning solutions with real business needs and long-term operational outcomes. Need a partner to design and implement modern digital systems?
Schedule a consultation to explore the right approach for your organization. Email: hello@cloudely.com

Share Article

RELATED CONTENT

Cloudely Product Catalog Migration Accelerator: Transform Salesforce CPQ Product Catalogs into Revenue Cloud

Discover how Cloudely's Product Catalog Migration Accelerator helps enterprises transform Salesforce CPQ product catalogs into Revenue...

Salesforce Multilingual Voice Agents: Transforming Dealer and Distributor Operations with Conversational AI

Introduction: Breaking Language Barriers in Dealer and Distributor Operations India’s automotive and manufacturing ecosystems operate across...

Cloudely Sentinel: Enterprise Forensic Audit Vault & Data Protection – Protect, Recover and Govern Your Critical Salesforce Data

Protect your critical Salesforce data with Cloudely Sentinel, an enterprise forensic audit vault designed to preserve...

Salesforce Spiff: From Commission Complexity to Sales Performance

Your sales team is closing deals. But does everyone know what they are earning? Imagine a...

Your Customers Don’t Want Another IVR Menu. They Want Answers

How Salesforce Voice AI can transform customer conversations through natural interactions, connected customer information and intelligent...

Your Sales Team Closed the Deal. But Did You Maximize the Margin?

How Cloudely’s Margin Optimization Agent uses AI-driven recommendations to help sales teams identify better product alternatives...

Building, Collaborating & Creating New Opportunities

Building, Collaborating & Creating New Opportunities September has been a month of exciting progress, collaboration, and...

Racing Ahead: The Rules Behind

AI is racing ahead, but the rules, data foundations, and leadership needed to steward it are...

The Catalyst of Connected Innovation

The Catalyst of Connected Innovation September brings together the conversations shaping the future of digital transformation...