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

AI Agents for Medical Devices: The Cost, ROI & Procurement FAQ for Buyers

Once you’re past “should we use an AI agent?” the questions get sharper and more financial:...

AI Precipice: The Pulse Beneath

A Conversation About AI, Ethics, Leadership, and the Human Future The AI conversation is getting louder....

The Hidden Cost of Manual Partner Onboarding Manually — and What to Do About It

You sign your first channel partner. You’re excited. You send a welcome email, attach some documents,...

15 Questions You Must Ask Before Implementing a Partner Portal Application

Partner ecosystems are becoming central to enterprise growth. Whether you work with resellers, distributors, technology partners,...

Salesforce Data Cloud Implementation Partner for AI-Ready Customer Intelligence

Implementing Salesforce Data Cloud involves more than configuring a CRM platform. It requires strategic planning, enterprise...

How to Learn Salesforce Data Cloud (Data 360): The Practical Roadmap for Salesforce Professionals

If you’ve arrived here, you already understand why Salesforce Data Cloud — also known as Data...

Agentforce Summer Internship Program 2026

The demand for professionals who can translate AI capabilities into business outcomes continues to grow. Cloudely...

How to Set SaaS OKRs: 5 Powerful Steps You’ll Ever Need

As Mary Kay Ash puts it – “A good goal is like a strenuous exercise –...

From Disconnected Systems to a Unified Nonprofit Platform: A Salesforce Nonprofit Cloud Implementation Case Study

Nonprofit organizations rarely struggle due to a lack of tools. More often, the challenge lies in...