Study guide
4.1 Data Kits & Package Automation for Cross-Org Deployment
Salesforce Certified Data 360 Consultant formerly Data Cloud Consultant
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Solution Overview & Enterprise Value
1.1 Enterprise Customer 360 & Data Cloud Business Value 1.2 Architectural Foundation: Zero-Copy, Hyperforce, Lakehouse & Data Pipeline 1.3 Platform Terminology, Core Entities & Data Lifecycle Stages 1.4 Data 360's Foundational Role in Predictive & Generative AI
2 Chapter 2: Ethics, Privacy & Governance Fundamentals
2.1 Regulatory Compliance, Data Privacy & Ethics in Customer Data 2.2 Consent Management & Preference Enforcement in Data Cloud 2.3 Data Retention, Deletion, and Privacy Right-to-be-Forgotten (RTBF)
3 Chapter 3: Security, Permissions & Tenant Architecture
3.1 Standard Permission Sets, User Roles & Functional Access 3.2 Data Spaces Architecture, Resource Allocation & Tenant Isolation
4 Chapter 4: Administration, Monitoring & Lifecycle Management
4.1 Data Kits & Package Automation for Cross-Org Deployment 4.2 Auditing, Status Monitoring, Error Logs & Data Explorer 4.3 Sandboxes, Change Management & Metadata Deployment
5 Chapter 5: Ingestion Connectors & Source Integration
5.1 Standard Bundles & Salesforce CRM Connectors (Sales/Service/Marketing) 5.2 Cloud Storage (S3, GCS, Azure Blob) & Streaming Ingestion (Web/Mobile SDK, Ingestion API) 5.3 Zero-Copy Data Federation & Snowflake/BigQuery/Databricks Sharing
6 Chapter 6: Data Lake Objects (DLO) & Data Transformations
6.1 DLO Configuration, Primary Keys, Event Time & Data Stream Categories (Profile, Engagement, Other) 6.2 Streaming & Batch Data Transforms: Formula Fields, SQL Transforms & Data Prep Recipes
7 Chapter 7: Data Model Objects (DMO) & Canonical Harmonization
7.1 Customer 360 Canonical Data Model & Subject Areas 7.2 DLO-to-DMO Mapping Patterns, Cardinality & Custom DMO Design 7.3 Data Validation, Schema Maintenance & Field Mapping Best Practices
8 Chapter 8: Identity Resolution Architecture & Match Rules
8.1 Identity Resolution Concepts, Consolidation Rate & Graph Modeling 8.2 Match Rules & Match Criteria: Exact Match vs. Fuzzy Matching (Deterministic & Probabilistic) 8.3 Multi-Party Identification, Anonymous-to-Known Transitions & Contact Point Matching
9 Chapter 9: Reconciliation Rules & Unified Profile Governance
9.1 Reconciliation Rules: Most Frequent, Source Priority & Last Updated 9.2 Unified Profile Schema (Individual & Contact Points) & Resolution Troubleshooting
10 Chapter 10: Segment Architecture & Audience Design
10.1 Segmentation Canvas, Segment Types (Standard UI & Flow) & Query Processing 10.2 Direct vs. Related Attributes, Cardinality & 1:N Filtering Traps 10.3 Segment Schedule, Refresh Frequencies & Exclusion Logic 10.4 Segment Membership Analysis, Population Drift & Sizing Validation
11 Chapter 11: Calculated & Streaming Insights
11.1 Calculated Insights (CI) Architecture, SQL/Builder Syntax & Dimensions vs. Metrics 11.2 Streaming Insights (SI) Architecture, Windowing (Tumbling/Sliding) & Real-Time Signals 11.3 CI vs. SI Architectural Decision Matrix & Performance Optimization
12 Chapter 12: Data Enhancements, Sharing & Analysis
12.1 Referencing Data 360 Data from Other Systems: Enrichments, Related Lists, Data Graphs & APIs 12.2 Reports, Dashboards & Tableau Analysis on Data 360 Data 12.3 Applying Predictive & Generative AI Tooling to Customer Scenarios
13 Chapter 13: Activation Targets & Outbound Activation
13.1 Activation Targets: Marketing Cloud, External Platforms, Cloud Storage & Data Spaces 13.2 Activation Configuration: Audience Mapping, Related Attributes & Payload Optimization 13.3 Activation Schedules, Publishing Cadence & Incremental vs. Full Refresh 13.4 Activation Troubleshooting: Error Logs, Rejection Reasons & Delivery Failures
14 Chapter 14: Real-Time Data Actions & Flow Automation
14.1 Data Action Targets & Webhook/Platform Event Architecture 14.2 Data Cloud-Triggered Flows & Real-Time Business Orchestration 14.3 End-to-End Enterprise Scenario Walkthrough: Ingestion to Closed-Loop Action
4.1 Data Kits & Package Automation for Cross-Org Deployment
Key Takeaways Explain This Topic AI
Data Kits are declarative metadata containers in Data Cloud that bundle Data Model Objects (DMOs), custom schema extensions, data stream templates, canonical mapping definitions, and Calculated Insights for portable distribution.
Data Kits package structural metadata templates only; physical data rows, external connection credentials (such as AWS S3 secret keys or Salesforce CRM auth tokens), and tenant-specific activation targets cannot be packaged.
Data Kits must be embedded inside a Salesforce Second-Generation Package (2GP)—either an Unlocked Package for internal enterprise CI/CD or a Managed Package for AppExchange ISVs—before they can be deployed across orgs.
Deploying a Data Kit in a subscriber org creates data stream templates in an inactive state; administrators must explicitly bind each stream template to an active source connector before data ingestion begins.
In modern DevOps pipelines, the Salesforce CLI ( sf project deploy start ) and Metadata API automate Data Cloud deployments, but target org prerequisites (such as source connectors and custom CRM fields) must be provisioned prior to deployment.
Last updated: September 2026
Data Kits & Package Automation for Cross-Org Deployment
In modern enterprise IT environments, customer data architectures rarely exist in isolation. Organizations frequently maintain multi-tier deployment pipelines spanning developer sandboxes, quality assurance (QA) environments, user acceptance testing (UAT) sandboxes, staging environments, and production orgs. Furthermore, Independent Software Vendors (ISVs) and Salesforce System Integrators (SIs) routinely build standardized, industry-specific data models and analytical pipelines designed for repeated deployment across hundreds of client instances.
Historically, replicating data models, custom objects, field mappings, and analytical formulas across multiple customer data platform instances required manual configuration or custom integration scripts—an error-prone approach that introduced configuration drift and operational instability. In Salesforce Data Cloud, Data Kits solve this architectural challenge by providing a standardized, declarative framework for bundling, packaging, versioning, and deploying Data Cloud metadata assets across Salesforce organizations.
What is a Data Kit?
A Data Kit is a specialized metadata container within Data Cloud designed to package and distribute design-time assets. It decouples the abstract definition of a data pipeline from its physical run-time infrastructure, enabling developers and architects to author a data solution once and deploy it consistently into any subscriber org.
When bundled into a Data Kit, Data Cloud components are converted into portable metadata definitions. When installed into a subscriber org, these definitions serve as blueprints that instantiate native Data Cloud objects and configurations without requiring manual schema creation or manual field-by-field mapping.
Core Metadata Components Supported in Data Kits
A Data Kit can bundle a wide array of Data Cloud metadata entities:
Custom Data Model Objects (Custom DMOs) : Custom entities created in the Customer 360 canonical data model to represent domain-specific concepts (e.g., Vehicle_Telemetry__c , Policy_Coverage__c , Hotel_Reservation__c ).
Custom Fields on Standard DMOs : Custom attributes added to standard canonical DMOs (e.g., adding Loyalty_Tier__c or Preferred_Language__c to the standard Individual__dlm DMO).
Data Stream Templates : Blueprints of data streams that define source object schemas, target field data types, primary keys, event timestamps, and data categories (Profile, Engagement, or Other).
DLO-to-DMO Mapping Definitions : Pre-configured mapping configurations that define how fields from incoming Data Lake Objects (DLOs) map into canonical Data Model Objects (DMOs), including data type conversions and relationship mappings.
Calculated Insights (CIs) : Declarative and SQL-based multidimensional analytical models that compute complex customer metrics (e.g., Customer_Lifetime_Value__c , Recency_Frequency_Monetary_Score__c , Churn_Risk_Index__c ).
Custom Relationships : Foreign key associations and cardinality rules (1:1, 1:N, N:1) established between custom and standard DMOs.
What CAN and CANNOT Be Packaged in a Data Kit
A primary focus of the Salesforce Certified Data Cloud Consultant examination is recognizing the rigid boundaries between packageable metadata templates and unpackageable runtime assets. A consultant must never assume that an entire operational Data Cloud instance can be cloned via a Data Kit.
The following comparison table details the exact capabilities and limitations of Data Kits:
Component / Asset Category Packageable in Data Kit? Architectural Rationale & Technical Boundary
Custom DMO Schemas & Fields ✅ Yes Fully supported declarative metadata defining canonical object structures.
Standard DMO Custom Fields ✅ Yes Supported as custom field extensions appended to standard Customer 360 models.
DLO-to-DMO Mapping Templates ✅ Yes Packaged as reusable transformation logic between source templates and target DMOs.
Calculated Insights (SQL / Builder) ✅ Yes Metric and dimension definitions are fully portable declarative metadata.
Data Stream Templates ✅ Yes Bundled as schema blueprints specifying field names, data types, and primary keys.
Physical Data Rows / Lakehouse Tables ❌ NO Critical Exam Rule : Data Kits never package data rows. Only schema templates are transferred.
External Connector Credentials / Secrets ❌ NO Security boundary: S3 access keys, GCP service accounts, and OAuth tokens are never packaged.
Active Data Stream Runtime State ❌ NO Stream templates deploy in an inactive state; source connections must be bound locally.
Identity Resolution Rulesets ❌ NO Match rules and reconciliation rules must be configured in the target org or deployed via separate metadata.
Segment Definitions & Filters ❌ NO Audiences depend on tenant-specific population distributions and are not packaged in Data Kits.
Activation Targets & Activations ❌ NO Destination endpoints (Marketing Cloud BUs, S3 buckets, Ad accounts) are tenant-specific.
Data Space Allocations ❌ NO Data Spaces represent tenant-level boundary partitioning and cannot be hardcoded in packages.
Consultant Exam Warning : Exam scenarios frequently describe a scenario where an administrator expects customer records or active S3 ingestion schedules to appear automatically after installing a package containing a Data Kit. Always remember: Data Kits transfer metadata blueprints, never physical data or external authentication credentials .
The Data Kit Lifecycle: Authoring, 2GP Packaging & Subscriber Deployment
Moving Data Cloud assets from a development environment to a production or subscriber organization follows a strict five-stage lifecycle:
Stage 1: Data Kit Authoring in Data Cloud Setup
Within the source org (typically a Developer org or Developer Sandbox):
Navigate to Data Cloud Setup > Data Kits .
Click New to create a Data Kit record, defining its name, API name, and description.
Add components to the kit: select custom DMOs, standard DMO custom fields, data stream definitions, and Calculated Insights.
Ensure all dependent mappings and relationships are fully included. Data Cloud automatically analyzes dependencies and prompts the author to include referenced entities.
Stage 2: Second-Generation Packaging (2GP)
A Data Kit cannot be distributed across orgs by itself; it must be encapsulated inside a Salesforce Second-Generation Package (2GP) :
Unlocked Packages (Enterprise DevOps) :
Used for internal application development and enterprise multi-org pipelines (Dev -> Staging -> Prod).
Highly flexible: supports version upgrades, metadata overwrites, and dependency management.
Non-namespaced or namespaced based on enterprise architecture standards.
Managed Packages (ISV Distribution) :
Used by AppExchange partners to distribute commercial data solutions to external customers.
Enforces intellectual property (IP) protection (protecting proprietary Calculated Insight SQL logic).
Requires a registered namespace, preventing naming collisions with subscriber custom fields.
Using the Salesforce CLI ( sf ), developers link the Data Kit metadata to the package directory and generate an immutable package version: sf package version create \
- -package "Enterprise-Customer360-DataKit" \
- -installation-key-bypass \
- -wait 30 \
- -code-coverage
- Stage 3: Package Installation in Subscriber Org
The subscriber org administrator installs the generated package version via the Salesforce CLI or standard web browser installation URL: sf package install \
- -package "04t..." \
- -target-org production-org \
- -wait 20
Upon package installation, the Data Kit metadata becomes available in the subscriber org, but it does not immediately deploy or alter the active Data Cloud environment .
Stage 4: Deploying Components from the Data Kit
After package installation, an administrator in the target org must deploy the assets from the Data Kit into active Data Cloud runtime:
Navigate to the Data Kits tab in Data Cloud.
Select the installed Data Kit.
Review the available components (DMOs, Stream Templates, Calculated Insights).
Select the target Data Space where the components should reside (e.g., Default Data Space or a custom Data Space like EMEA).
Click Deploy . Data Cloud instantiates the custom DMOs, mapping templates, and insight definitions.
Stage 5: Connector Binding and Stream Activation
Because external credentials and physical connections cannot be packaged, data streams instantiated from Data Kit templates are created in an Inactive / Unbound state.
The administrator navigates to Data Streams .
Opens the newly created stream template.
Selects an active, authenticated connector in the subscriber org (e.g., selecting an active Amazon S3 connection, Salesforce CRM org connection, or Ingestion API endpoint).
Selects the source file/object name and verifies the schedule.
Clicks Save and Deploy to activate the stream and begin physical data ingestion.
2GP Packaging Comparison: Unlocked vs. Managed Packages
Understanding when to use Unlocked Packages versus Managed Packages for Data Kits is a frequent decision point on the consultant exam:
Evaluation Dimension Second-Generation Unlocked Packages (2GP) Second-Generation Managed Packages (2GP)
Primary Target Audience Internal IT teams, enterprise multi-org architectures Independent Software Vendors (ISVs), AppExchange apps
Namespace Requirement Optional (recommended non-namespaced for internal orgs) Mandatory registered namespace (e.g., c360_isv__ )
IP Protection None; subscriber admins can view and edit underlying logic Protected; proprietary formulas and logic can be hidden
Schema Upgrades Flexible; can add/deprecate fields via CI/CD pipelines Strict backward compatibility rules enforced by Salesforce
Subscriber Customization Admins can directly modify deployed mappings and DMOs Subscribers can extend schemas but cannot alter core package DMOs
CI/CD Compatibility Fully integrated with automated testing and scratch orgs Integrated with ISV LMA (License Management App)
Package Automation & CI/CD Pipelines for Data Cloud Metadata
In mature enterprise DevOps environments, manual point-and-click deployment through the Data Cloud UI is replaced by automated Continuous Integration and Continuous Delivery (CI/CD) pipelines. Data Cloud metadata types are fully integrated into the Salesforce Metadata API and Salesforce CLI.
Key Metadata Types for Data Cloud
When authoring deployment manifests ( package.xml ) or utilizing source tracking, developers interact with specific metadata types:
DataKitDefinition : Represents the Data Kit container and its bundled asset relationships.
DataModelObject : Represents custom DMO definitions and canonical field extensions.
CalculatedInsight : Represents declarative and SQL-based insight definitions.
DataStreamDefinition : Defines stream schemas and transformation mappings.
Automated Deployment Flow
A modern CI/CD pipeline (e.g., utilizing GitHub Actions, GitLab CI, Azure DevOps, or Copado) executes the following sequence:
Linting and Validation : Validate Data Cloud metadata files and SQL syntax against canonical schema standards.
Target Org Prerequisite Verification : A pre-deployment validation script checks that target org dependencies exist:
Verifies that the connected Salesforce CRM connector is authorized.
Checks that required source custom fields exist in the connected CRM org.
Confirms that target Data Spaces are provisioned.
- Automated Metadata Deployment : sf project deploy start \
- -manifest manifest/package.xml \
- -target-org uat-environment \
- -wait 30
Post-Deployment Automated Configuration : Utilizing Salesforce CLI plugins or REST APIs, the pipeline binds deployed stream templates to pre-provisioned external credentials and activates batch ingestion schedules.
Dependencies, Prerequisites & Version Management
Deploying Data Kits into downstream environments introduces complex dependency trees that must be resolved in a specific order to prevent deployment failures:
1. Upstream Connector Prerequisites
If a Data Kit includes a Data Stream template configured for a Salesforce CRM source, the target org must already possess an active connection to that Salesforce CRM instance. If the connection does not exist, the Data Kit deployment will fail when attempting to validate the stream blueprint.
2. Source CRM Field Dependencies
If a Data Stream template references specific fields on the CRM Contact object (e.g., Loyalty_ID__c ), those exact fields must exist in the source CRM org, and the Salesforce CRM Connector Integration User must have Field-Level Security (FLS) Read access to them. Missing fields cause schema validation errors during stream binding.
3. Canonical Schema Dependencies & Deletion Protection
Once a custom DMO or custom field deployed from a Data Kit is mapped to an active Data Lake Object, referenced in an Identity Resolution ruleset, or used in a Calculated Insight, it cannot be deleted or modified destructively . Attempting to deploy a new Data Kit version that removes a referenced field will trigger a dependency validation error in the subscriber org.
4. Version Upgrades and Backward Compatibility
When updating an Unlocked Package containing a Data Kit:
Additive Changes (adding new custom fields to a DMO, adding a new Calculated Insight) deploy seamlessly without impacting running data pipelines.
Destructive Changes (renaming fields, changing data types from Number to Text) require deprecation planning: mappings must be removed and insights updated prior to deploying the updated package version.