Create and Publish a Data Kit
Learning Objectives
After completing this unit, you’ll be able to:
- Create a data kit.
- Publish a data kit in Package Manager.
Create a Data Kit
Now that you’re familiar with the org setup of creating a data kit in Data Cloud, let’s watch a video on how to create and upload a data kit.
We assume you are a Salesforce admin with the proper permissions to create and install packages in Data Cloud. If you’re not an admin, that’s OK. Read along to learn how your administrator would take the steps in a production org. Don’t try to follow these steps in your Trailhead Playground. Data Cloud isn’t available in a typical Trailhead Playground.
- Go to Data Cloud Setup in your development org.
- Under Tools, click Data Kits.
- Click New.
- Name your Data Kit and add an optional description.
- Click Add from the Data Streams section.
- Next select the connector type based on the supported data source: B2C Commerce, Salesforce CRM, or Amazon S3.
- Add a name (with no spaces) and an optional description.
- Select the data streams you want to package and then click Next.
- Edit or add a Data Model if desired, and then click Save.
- Add additional components or click Publish.
Publish a Data Kit with Package Manager
When you have included the Data Cloud components you want, it’s time to create a new or update an existing package.
- Go to Package Manager and click New.
- To create a managed package, click Edit in Namespace Settings and register your namespace.
- To create an unmanaged package, click New under Packages.
- Add a Package Name and then click Save.
- After the package is created, under Components (1) click Add.
- Search for the Component Type called Data Package Kit Definition. Locate your created data kit and click Add to Package.
- Click Upload.
- Add in a Version Name and Version Number (1).
- You can also fill out optional fields, like password protection (2).
- When done, click Upload (3).
Once uploaded, you can use the Installation URL to install the package in another org.
You also get an email once your package is uploaded successfully! Typically installation is done by a different Data Cloud user than the data kit creation. In the next unit, we'll cover the steps to install data kits.
Resources
-
Salesforce Help: Packaging and Data Kits in Data Cloud
-
Salesforce Developer: Create a First-Generation Managed Package Using a UI
-
Salesforce Developer: Register a Namespace for a First-Generation Managed Package
-
Salesforce Developer: Data Cloud Extensibility Readiness Matrix