Skip to main content

Create a Data Stream

Connect Your Data Sources

Before you can ingest data into Data Cloud, an admin needs to configure any data source that you’d like to connect. Data sources can be other Salesforce orgs, Marketing Cloud Engagement business units, external platforms, CSV files, and more! For this project, we’ve already connected a Service Cloud org to your Developer org. 

After logging into your Developer Org, navigate to Data Cloud from the App Launcher (grid icon) and type in Data Cloud.  

App launcher icon with Data Cloud in the Apps

Create a Data Stream from a Data Bundle

Since an admin has set up your data sources already, you can now add data streams to Data Cloud. 

  1. In Data Cloud, go to the Data Streams tab and click New.
  2. Click Salesforce CRM under Connected Sources, and click Next.
  3. Note the Salesforce Org is pre-selected. Choose the Sales data bundle and click Next.

New Data Stream screen with the Sales Data Bundle selected

  1. Notice that the default Data Space is pre-selected and all the fields included in the bundle are listed. Leave the selections as is, and click Next.
  2. Click Deploy.

Three new data streams are now created!

Note

These may take a few moments to process. If you run into any issues, wait a few minutes and then return to these steps. 

Create a Formula Field

The benefit of starter data bundles is that they are pre-mapped to the Customer 360 Data Model and can be customized to meet your business needs. When you create a Data Cloud data stream, you can choose to generate more fields, called formula fields. These optional fields are helpful when you want to configure data to standardize formatting; add keys to help join and map data; or add flags for data that meets criteria, like “Has Birthday before 1991.” 

Note

View the Supported Library Functions to see all the formula options available for Data Cloud formula fields.

For this project, you create a formula field to identify leads that are located in the United States, based on the data found in the Country field of the data lake object (DLO). 

  1. From the Data Stream tab, locate and click the Lead_Home data stream that you created.
  2. From the Lead_Home data stream record, click the New Formula Field button.
  3. For Field Label, name your field Is US Based.
  4. Confirm the Filed API Name is Is_US_Based.
  5. For Formula Return Type, select Text.
  6. Enter this formula in the Transformation Formula field: IF(sourceField['Country'] == "USA" || sourceField['Country'] == "United States", "TRUE" , "FALSE")

New formula field screen

  1. Validate the constructed formulas using the Tested Value panel:
    • Type Japan into the country field and then click Test.
    • Output should = FALSE.
    • Type USAand then click Test.
    • Output should = TRUE.
  1. Once you have successful validation, click Save.

Verify Your Data Stream and Formula Field

Now that you have completed these steps in your Developer Org, click Verify Step to check your work before moving to the next step in the project: adding fields to the DMO and mapping data to the Customer 360 Data Model.  

Resources

Salesforce 도움말에서 Trailhead 피드백을 공유하세요.

Trailhead에 관한 여러분의 의견에 귀 기울이겠습니다. 이제 Salesforce 도움말 사이트에서 언제든지 새로운 피드백 양식을 작성할 수 있습니다.

자세히 알아보기 의견 공유하기