Hands-On Salesforce Data Cloud

Book description

Learn how to implement and manage a modern customer data platform (CDP) through the Salesforce Data Cloud platform. This practical book provides a comprehensive overview that shows architects, administrators, developers, data engineers, and marketers how to ingest, store, and manage real-time customer data.

Author Joyce Kay Avila demonstrates how to use Salesforce's native connectors, canonical data model, and Einstein's built-in trust layer to accelerate your time to value. You'll learn how to leverage Salesforce's low-code/no-code functionality to expertly build a Data Cloud foundation that unlocks the power of structured and unstructured data. Use Data Cloud tools to build your own predictive models or leverage third-party machine learning platforms like Amazon SageMaker, Google Vertex AI, and Databricks.

This book will help you:

  • Develop a plan to execute a CDP project effectively and efficiently
  • Connect Data Cloud to external data sources and build out a Customer 360 Data Model
  • Leverage data sharing capabilities with Snowflake, BigQuery, Databricks, and Azure
  • Use Salesforce Data Cloud capabilities for identity resolution and segmentation
  • Create calculated, streaming, visualization, and predictive insights
  • Use Data Graphs to power Salesforce Einstein capabilities
  • Learn Data Cloud best practices for all phases of the development lifecycle

Publisher resources

View/Submit Errata

Table of contents

  1. Foreword
  2. Preface
    1. The Year of Data Cloud
    2. Who Is This Book For?
    3. Goals of the Book
    4. Navigating the Book
    5. Code Examples
    6. Conventions Used in This Book
    7. O’Reilly Online Learning
    8. How to Contact Us
    9. Acknowledgments
  3. 1. Salesforce Data Cloud Origins
    1. Evolution of the Salesforce Data Cloud Platform
    2. Where Salesforce Data Cloud Fits in the Salesforce Tech Stack
    3. Where the Customer Data Platform Fits in the Martech Stack
      1. Today’s Modern Martech Stack
      2. The Future of the Martech Stack
    4. The Customer Data Problem
      1. Known Customer Data
      2. Unknown Audience Data
      3. Putting the Pieces Together
    5. Digital Marketing Cookies
      1. First-, Second-, and Third-Party Cookies
      2. The Future of Cookies
    6. Building a First-Party Data Strategy
      1. Extending the First-Party Data Strategy
      2. Data Clean Rooms and Customer Data Platforms Working Together
    7. Customer Data Platform Acquisition Approaches
      1. Build, Buy, or Compose?
      2. Narrowing the Focus
      3. Composable Customer Data Platforms versus a Customer Data Platform Suite
      4. Other Cost and Performance Considerations
    8. Summary
  4. 2. Foundations of Salesforce Data Cloud
    1. Special Considerations for Architects
      1. Data-Driven Pattern Use Cases
      2. Considerations for Building a Data-Driven Platform
      3. Salesforce Well-Architected Resources
      4. Data Cloud Technical Capability Map
    2. Data Cloud Key Functional Aspects
      1. General Key Data Concepts
      2. How Data Cloud Works Its Magic
      3. Connecting Multiclouds
      4. Data Spaces
      5. Application Lifecycle Management with Sandboxes
      6. Salesforce AppExchange and Data Kits
    3. Under the Hood: Data Cloud Technical Details
      1. How Data Cloud Is Architected on Amazon Web Services
      2. Storage Layering
      3. Near Real-Time Ingestion and Data Processing
    4. Unique Datastore Features
      1. Data Cloud Data Entities
      2. Starter Data Bundles
    5. Summary
  5. 3. Business Value Activities
    1. Achieving Goals with Data and AI Democratization
    2. Building Your Data Cloud Vocabulary
    3. Value Creation Process
    4. Data Cloud Key Value Activities
      1. Data Cloud Enrichments
      2. Large Language Model Grounding Resource for Structured Data
      3. Augmenting Large Language Model Search with Data Graphs and Vector Databases
      4. Data Actions and Data Cloud–Triggered Flows
      5. Activation of Segments
      6. Predictive AI Machine Learning Insights
      7. Analytics and Intelligent Data Visualization
      8. Unified Consent Repository
      9. Programmatic Extraction of Data
      10. Bidirectional Data Sharing with External Data Platforms
      11. Linking Custom Large Language Models
      12. Other Key Value Activities
      13. What Data Cloud Is Not
    5. Value by Functional Roles
      1. Value at the Highest Granular Level
      2. Value at the Aggregate Level
      3. Other Critical Functional Roles
      4. Change Management Process: A Necessary Ingredient
      5. Value of a Salesforce Implementation Partner
      6. User Stories and Project Management
      7. Who Decides?
    6. Value in Action: Industry Focus
      1. Travel, Transportation, and Hospitality Industry
      2. Other Industries
    7. Summary
  6. 4. Admin Basics and First-Time Provisioning
    1. Getting Started
      1. Prework
      2. What You Should Know
    2. Data Cloud User Personas
      1. Data Cloud Admin and Data Cloud User
      2. Data Cloud Marketing Admins
      3. Data Cloud Marketing Managers
      4. Data Cloud Marketing Specialists
      5. Data Cloud Marketing Data Aware Specialists
    3. First-Time Data Cloud Platform Setup
      1. Configuring the Admin User
      2. Provisioning the Data Cloud Platform
      3. Creating Profiles and Configuring Additional Users
      4. Connecting to Relevant Salesforce Clouds
    4. Beyond the Basics: Managing Feature Access
      1. Creating Data Cloud Custom Permission Sets
      2. Leveraging Data Cloud Sharing Rules
    5. Summary
  7. 5. Data Cloud Menu Options
    1. Core Capabilities
      1. Activation Targets
      2. Activations
      3. Calculated Insights
      4. Consumption Cards
      5. Dashboards
      6. Data Action Targets
      7. Data Actions
      8. Data Explorer
      9. Data Graphs
      10. Data Lake Objects
      11. Data Model
      12. Data Share Targets
      13. Data Shares
      14. Data Spaces
      15. Data Streams
      16. Data Transforms
      17. Einstein Studio (aka Model Builder)
      18. Identity Resolutions
      19. Profile Explorer
      20. Query Editor
      21. Reports
      22. Search Index
      23. Segments
    2. Summary
  8. 6. Data Ingestion and Storage
    1. Getting Started
      1. Prework
      2. What You Should Know
    2. Viewing Data Cloud Objects via Data Explorer
    3. Ingesting Data Sources via Data Streams
      1. Near Real-Time Ingest Connectors
      2. Batch Data Source Ingest Connectors: Salesforce Clouds
      3. Batch Data Sources Ingest Connectors: Cloud Storage
      4. External Platform Connectors
      5. Other Connectors for Batch Ingestion
      6. Deleting Ingested Records from Data Cloud
    4. Viewing Data Lake Objects
    5. Accessing Data Sources via Data Federation
    6. Summary
  9. 7. Data Modeling
    1. Getting Started
      1. Prework
      2. What You Should Know
    2. Data Profiling
    3. Source Data Classification
      1. Data Descriptors
      2. Data Categories
      3. Immutable Date and Datetime Fields
      4. Data Categorization
    4. Salesforce Data Cloud Standard Model
      1. Primary Subject Areas
      2. Extending the Data Cloud Standard Data Model
    5. Salesforce Consent Data Model
      1. Global Consent
      2. Engagement Channel Consent
      3. Contact Point Consent
      4. Data Use Purpose Consent
      5. Consent Management by Brand
      6. Consent API
    6. Summary
  10. 8. Data Transformations
    1. Getting Started
      1. Prework
      2. What You Should Know
    2. Streaming Data Transforms
      1. Streaming Data Transform Use Cases
      2. Setting Up and Managing Streaming Data Transforms
      3. Streaming Data Transform Functions and Operators
      4. Streaming Transforms versus Batch Transforms
    3. Batch Data Transforms
      1. Batch Data Transform Use Cases
      2. Setting Up and Managing Batch Data Transforms
      3. Batch Data Transform Node Types
      4. Batch Data Transform Limitations and Best Practices
      5. Data Transform Jobs
    4. Summary
  11. 9. Data Mapping
    1. Getting Started
      1. Prework
      2. What You Should Know
    2. Data Mapping
      1. Required Mappings
      2. The Field Mapping Canvas
      3. Relationships Among Data Model Objects
    3. Using Data Explorer to Validate Results
    4. Summary
  12. 10. Identity Resolution
    1. Getting Started
      1. Prework
      2. What You Should Know
    2. Identity Resolution Rulesets
      1. Creating Identity Rulesets
      2. Deleting Identity Rulesets
      3. Ruleset Statuses for the Current Job
      4. Ruleset Statuses for the Last Job
    3. Ruleset Configurations Using Matching Rules
      1. Types of Matching Rules
      2. Configuring Identity Resolution Matching Rules
      3. Default Matching Rules
      4. Using Party Identifiers in Matching Rules
    4. Ruleset Configurations Using Reconciliation Rules
      1. Default Reconciliation Rules
      2. Setting a Default Reconciliation Rule
      3. Applying a Different Reconciliation Rule to a Specific Field
      4. Reconciliation Rule Warnings
    5. Anonymous and Known Profiles in Identity Resolution
    6. Identity Resolution Summary
    7. Validating and Optimizing Identity Resolution
    8. Summary
  13. 11. Consuming and Taking Action with Data Cloud Data
    1. Getting Started
      1. Prework
      2. What You Should Know
    2. Data Cloud Insights
      1. Creating Insights
      2. Using Insights
    3. Data Cloud Enrichments
      1. Related List Enrichments
      2. Copy Field Enrichments
    4. Data Actions and Data Cloud–Triggered Flow
      1. Defining a Data Action Target
      2. Selecting the Data Action Primary Object
      3. Specifying the Data Action Event Rules
      4. Defining the Action Rules for the Data Action
      5. Enriching Data Actions with Data Graphs
    5. Extracting Data Programmatically
    6. Summary
  14. 12. Segmentation and Activation
    1. Getting Started
      1. Prework
      2. What You Should Know
    2. Segmentation and Activation Explained
    3. Defining Activation Targets
    4. Creating a Segment
      1. Segment Builder User Interface
      2. Einstein Segment Creation
      3. Segments Built Through APIs
      4. Advanced Segmentation
    5. Publishing a Segment
    6. Activating a Segment
      1. Contact Points
      2. Activating Direct and Related Attributes
      3. Activation Filters
      4. Calculated Insights in Activation
      5. Activation Refresh Types
      6. Troubleshooting Activation Errors
    7. Segment-Specific Data Model Objects
      1. Segment Membership Data Model Objects from Published Segments
      2. Activation Audience Data Model Objects from Activated Segments
    8. Querying and Reporting for Segments
    9. Best Practices for Segmentation and Activation
    10. Summary
  15. 13. The Einstein 1 Platform and the Zero Copy Partner Network
    1. Getting Started
      1. Prework
      2. What You Should Know
    2. Salesforce Einstein
    3. Einstein 1 Platform
      1. Einstein Model Builder
      2. Einstein Prompt Builder
      3. Einstein Copilot Builder
    4. Augmenting Large Language Model Search
      1. Using Data Graphs for Near Real-Time Searches
      2. Using Vector Databases for Unstructured Data
    5. Zero Copy Partner Network
      1. Traditional Methods of Sharing Data
      2. Zero Copy Technology Partners
      3. Bring Your Own Lake
      4. Bring Your Own Model
    6. Summary
    7. The Road Ahead
      1. Continuing the Learning Journey
      2. Keep Blazing the Trail
  16. A. Guidance for Data Cloud Implementation
    1. General Guidelines
    2. Evaluation Phase
    3. Discovery and Design Phases
    4. Implementation and Testing
  17. B. Sharing Data Cloud Data Externally with Other Tools and Platforms
  18. Glossary
  19. Index
  20. About the Author

Product information

  • Title: Hands-On Salesforce Data Cloud
  • Author(s): Joyce Kay Avila
  • Release date: August 2024
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781098147860