You are here:
Upload the Marketing Cloud Personalization Data Model to Data 360
After downloading the metadata zip file, you can use the Salesforce CLI to upload the file to Data 360.
Before uploading the Marketing Cloud Personalization metadata file, make sure to:
- Install the Salesforce CLI. See Install Salesforce CLI for details.
- Have a target org configured that contains Data 360, and that Data 360 is operational.
To upload the data model file:
-
Create a local Salesforce DX (SFDX) project. For example:
sf project generate --name <project_name>
- (Optional) If you plan to use a sandbox org to test Personalization configuration before deployment, edit the sfdx-project.json in the SFDX project, and set the sfdcLoginUrl value to the login URL of the target org. You can then change login.salesforce.com to test.salesforce.com.
-
While in the SFDX project, authenticate with the target org. For example:
sf org login web --alias <target-org>
-
Upload the unmanaged data package from the SFDX project to the target org. For
example:
sf project deploy start --<target-org> --metadata-dir <path_to_zip_file>

