Resources /
Blog

Salesforce Data Cloud DevOps: How to Deploy Data 360 Changes

Submit your details to get a book

8
Min Read
Resources /
Blog

Salesforce Data Cloud DevOps: How to Deploy Data 360 Changes

Download

Submit your details to get a book

8
Min Read
Salesforce Data Cloud DevOps: a data mapping panel on a round platform, linked to transfer, database, branch and code tiles
Salesforce Data Cloud DevOps: a data mapping panel on a round platform, linked to transfer, database, branch and code tiles

Salesforce Data Cloud DevOps runs on one object, the DevOps data kit. You bundle Data 360 (formerly Data Cloud) configuration into a kit in a sandbox, ship it with a change set or the CLI, then finish in production.

That last stage is where most first deployments stall. If you're still setting up the sandbox side, read our guide to the Data 360 sandbox first, and our Salesforce Data Cloud overview covers the platform itself.

What is a DevOps data kit?

A data kit is "a portable container of packageable Data 360 metadata," per Salesforce's component cheat sheet. Salesforce offers two kinds, and only one is built for moving changes between your own orgs.

Help's Data Kits page says a DevOps data kit migrates Data 360 metadata "from a sandbox org to a production org, but not to package Data 360 metadata." A standard data kit does the packaging, for partners shipping solutions to customers, and Help says to build those "from Developer Edition orgs only."

The DevOps kit carries one rule worth learning early. You can build it in any data space, but Help says "you deploy it to the same data space in the target org."

What can a DevOps data kit deploy?

Most Data 360 configuration fits in a DevOps data kit, though not all of it. The summary below draws on Salesforce's Extensibility Readiness Matrix and Help's data kit considerations.

ComponentIn a DevOps data kitWatch for
Data streams and data lake objectsYesUnstructured data streams aren't supported
Data model objects and mappingsYesSelect Include Mappings when you add them
Calculated insightsYesAdd the insight's dependencies by hand
Identity resolution rulesetsYesProfiles are rebuilt in the target org
SegmentsYesSome segment types must be rebuilt by hand
Data graphs and data transformsYesMay need a manual status update after deploy
Data governance tagsYes, DevOps kits onlyTags on derived or curated DMOs are left out
Activation templates and Private ConnectNoRecreate them in the target org

Records never travel in a kit. Help's Data 360 sandbox page says a sandbox "contains only metadata," so a kit moves setup and production keeps its own data.

How do you build a DevOps data kit?

Start in the sandbox where the change was made. Trailhead's data kit unit walks through it: open Data Cloud Setup, go to Data Kits under Developer Tools, choose New, pick DevOps Data Kit and select the data space.

Then add components and watch the dependencies. Trailhead says Data 360 "automatically includes dependencies (like data mappings)" when you add a data stream, and to "always select the Include Mappings checkbox" for data model objects.

Calculated insights work differently, since you add their inputs yourself and Help warns that without them "the deployment of the insight can fail." Help also wants output data lake objects added by name, or their mappings don't come across.

Help's deployment guide says the system publishes components "based on their creation dates," so a calculated insight built after its segment needs moving up the publishing sequence. Keep each kit small as well, since Help notes that "Data kits with a large number of components are more likely to fail during deployment."

How do you deploy a data kit with a change set?

Change sets are the route Help documents first. The deployment guide tells you to "Use a DevOps data kit and a change set to deploy the changes to a production org."

In the outbound change set, select Data Package Kit Definition as the component type and add your kit. Relationships between data model objects go in as Field Source Target Relationship components, but Help says to leave out derived objects such as unified individuals.

Change sets carry their usual limits here. Trailhead's deployment unit notes they only work "between connected orgs" and offer no version control, which matches the wider change set limitations teams hit elsewhere.

How do you deploy a data kit with the Salesforce CLI?

The CLI route suits teams that keep releases in source control. Salesforce's developer guide to deploying a data kit with the CLI starts by downloading the kit's manifest from the Data Kits page.

From there the guide runs three steps:

Terminal: retrieve, then deploy
sf project retrieve start --manifest manifest/package.xml
# delete the key qualifier files the retrieve creates
sf project deploy start --manifest package.xml

The guide is firm about the middle step: "Don't skip this step." Deploying a kit needs the Data Cloud Architect permission set, and you'll need a deployment connection between the two orgs.

Trailhead warns that with Data 360 you may not get "the complete benefits of source control integration," since retrieves can produce new XML files that make diffs harder to read. Our post on the Salesforce CLI covers the wider workflow.

Can you use packages or Lifecycle Center instead?

Packages work with limits. Salesforce's packaging guide says "You can't add Data 360 metadata in an unlocked package," and since Winter '25 Data 360 metadata can't share a package with other metadata.

In-house teams use data kits with unmanaged packages to move metadata from a test org to production, per the same guide. Managed package kits lock their components, so edits in the target are "overwritten when the data kit is redeployed."

Salesforce's January 2025 sandbox GA post also listed DevOps Center (now Lifecycle Center) as a way to promote a DevOps data kit. We couldn't find a Salesforce step-by-step for it, and our post on Lifecycle Center limitations covers where the tool falls short.

What do you do after the data kit deploys?

The deployment isn't finished when the change set lands. Create any missing data space in production beforehand, because Help says "The data space isn't created when you deploy the data kit."

Then work through the target org:

  1. Check the Deployment History tab, since "If a component in the deployment fails, the components after it in the sequence aren't deployed."
  2. If you redeployed the kit with a second change set, open it and click Deploy Data Kit, because Help says the kit then installs without deploying its components.
  3. Configure credentials and activate connectors, which Help's sandbox considerations says arrive inactive on the first deploy.
  4. Activate data streams, which Trailhead says arrive in a "draft" state.
  5. Set a publish schedule for new segments, since Help says it defaults to Don't Publish.
  6. Run identity resolution, because Trailhead treats unified profiles as operational data that "must be built from scratch in the new environment."

Before you deploy an activation target, Help says to enable its connection in production first. Data transforms and data graphs that don't run on their own need their status updated from the list view.

What can't you deploy with a data kit?

A few changes still need hands in production. Help's sandbox considerations lists the main gaps:

  • Deletes don't follow: when you delete an object type in the source org, "the deployed data kit retains the corresponding object in the target org."
  • Segments for Provisional Audience Limiting or Static Attribute must be re-created by hand in production.
  • Einstein Studio models deploy, but "the metrics aren't visible" afterward.
  • Lightning pages with Data 360 related lists that use relationship lookups fail validation, since those API names differ between orgs.

Production-to-production moves go through sandboxes, per the deployment guide. Data Cloud One won't help here either: Help says "You can't use Data Cloud One to connect a sandbox org to a production org."

What happens when a data kit deployment fails?

You start again from where it broke. Help's data kit considerations says not to "retry the same data kit as is," and to "create a new data kit starting from the point of failure."

Undoing a deploy is harder. Help documents an undeploy step for managed package data kits only, so for DevOps kits your fallback is the last good configuration, kept in source control.

Trailhead's deployment unit is direct about it: "Deploying a DevOps data kit at scale requires enterprise-grade governance." Plan for approvals before a kit reaches production, a record of what each kit contained, and an audit trail that links each release to its change.

If your agents ground on Data 360, our guide to deploying Agentforce agents covers the agent side, and our release management best practices apply to Data 360 releases as well.

Where does Flosum fit in Data 360 releases?

Flosum DevOps supports retrieving and deploying Data 360 metadata between orgs. Our DevOps product page covers how Flosum handles Salesforce releases.

Flosum runs in Flosum's cloud or your own cloud. For the data side, see our guide to backing up Data 360.

FAQs

What is the difference between a standard and a DevOps data kit?

A DevOps data kit moves Data 360 metadata from a sandbox to production inside your own company, while a standard data kit packages solutions for other customers. Help says to build standard kits in Developer Edition orgs only, as its Data Kits page explains.

Can you deploy a data kit with a change set?

Yes. Add the kit to an outbound change set as a Data Package Kit Definition component, plus any Field Source Target Relationship components for relationships between data model objects.

Does a data kit move Data 360 data?

No, a data kit carries configuration only. Production keeps its own records, and you rebuild unified profiles there by running identity resolution after the deployment.

Why did my data streams deploy as drafts?

Trailhead says deployed data streams arrive in a draft state, and Help says connectors arrive inactive on the first deployment. Add credentials, activate the connection, then activate each stream to start ingestion.

Can you roll back a Data 360 deployment?

Help documents an undeploy step for managed package data kits only. For DevOps kits, keep the last good configuration in source control and deploy a new kit from it.

Book a demo and we'll show you how Flosum DevOps retrieves and deploys Data 360 metadata between your orgs.

Table Of Contents
Author
Stay Up-to-Date
Get flosum.com news in your inbox.

Thank you for subscribing

Ship Salesforce changes faster
Teams on Flosum report 40% higher development velocity and 75%
fewer merge conflicts.
Free to start  |  No credit card required