Loading
About Salesforce Data 360
Create a Data 360 Scratch Org

Create a Data 360 Scratch Org

Create a scratch org to use Data 360 configurations in your development workflow. A scratch org is a temporary, source-driven Salesforce environment tailored for developing and testing specific features. This step enables Data 360 and related features in your scratch org. Use it to build and validate your configurations without affecting your production org or sandboxes.

Required Editions

Available in: All Editions supported by Data 360. See Data 360 edition availability.
User Permission Set Needed
To create a scratch org with Data 360:

Permission set:

  • Data Cloud Architect

Before you begin, confirm that Dev Hub is enabled in your production org. See Enable Dev Hub Features in Your Org.

  1. Create a scratch org definition file, such as config/project-scratch-def.json.
  2. Add the Data 360 feature that corresponds to your Dev Hub's Data 360 license.
    
    {
         "orgName": "Data 360 Scratch Org",
         "edition": "Developer",
         "features": ["CustomerDataPlatform"],
         "settings": {
         "customerDataPlatformSettings": {                                       
         "enableCustomerDataPlatform": true
         }
       }
    }

    Use CustomerDataPlatformLite instead of CustomerDataPlatform if your Dev Hub has a Data 360 Lite license.

  3. Create the scratch org.
    sf org create scratch --target-dev-hub MyHub --definition-file config/project-scratch-def.json --alias data-360-scratch
  4. Open the scratch org, go to Setup, and search for Data Cloud Setup to confirm that Salesforce completed provisioning.
    sf org open --target-org data-360-scratch

    If Data Cloud Setup doesn't appear, wait a few minutes and refresh the page. Salesforce can continue provisioning Data 360 after it creates the scratch org.

 
Загрузка
Salesforce Help | Article