.png)

Salesforce Data Cloud Integration Guide
Salesforce Data Cloud integrates enterprise data through Salesforce-authenticated REST APIs, ingestion and query APIs, batch jobs, and selected event-driven activation capabilities.
Salesforce Data Cloud integration options at a glance
Salesforce Data Cloud provides REST APIs for ingestion, querying, metadata, data graphs, calculated insights, and activation-related operations. Batch and asynchronous ingestion support larger data volumes through job submission and status monitoring. Selected Data Cloud capabilities can send outbound notifications through data actions, platform events, Salesforce flows, or webhook-style targets, although coverage depends on the configured feature and event. File-oriented ingestion is available for supported workflows, while query APIs provide SQL-oriented access without requiring direct database connectivity. Martini can authenticate through Salesforce Connected Apps and OAuth 2.0, orchestrate workflows, transform payloads, monitor jobs, and expose APIs for downstream applications.
Common Salesforce Data Cloud integration patterns
Common Salesforce Data Cloud data objects used in integrations
Authentication and security considerations
OAuth 2.0 and Connected Apps
Salesforce Data Cloud integrations generally use a Connected App and OAuth 2.0. Authorization-code, JWT bearer, client-credentials where enabled, and refresh-token flows may be appropriate depending on the scenario.
Permissions and data spaces
Access tokens do not automatically grant access to every Data Cloud resource. Configure least-privilege scopes, users, permission sets, profiles, Connected App policies, data-space access, and permissions for streams, DLOs, DMOs, Data Graphs, Calculated Insights, and Data Actions.
Credential protection
- Store client secrets, private keys, refresh tokens, and environment-specific values in protected Martini configuration.
- Use TLS and bearer-token protection.
- Mask tokens and sensitive customer attributes in logs.
- Separate sandbox and production credentials.
Operational considerations for Salesforce Data Cloud integrations
Limits and pagination
Salesforce applies API limits, concurrency constraints, and product-specific capacity controls. Use bounded concurrency, exponential backoff, explicit pagination, stable ordering where supported, and checkpoints for long-running queries and extracts.
Ingestion reliability
Use stable source identifiers, deterministic upsert keys, job correlation IDs, and reconciliation between submitted, accepted, and rejected rows. Distinguish job-level errors from row-level validation failures.
Schema and identity changes
Version mappings and test representative responses as Data Streams, DLOs, DMOs, Calculated Insights, and Data Graphs evolve. Do not assume a source identifier is the same as a unified Data Cloud identity.
Testing and monitoring
- Test API versions, hosts, data spaces, permissions, pagination, and asynchronous job behavior.
- Monitor rate limits, query volume, ingestion status, rejected rows, and downstream write outcomes.
- Apply data minimization and retention policies to intermediate workflow data.
Why use Martini instead of scripts or point-to-point integrations?
Orchestration beyond point-to-point calls
Martini coordinates Salesforce Data Cloud APIs, event endpoints, files, databases, and downstream applications in workflows that can be scheduled, API-led, or event-driven.
Reusable transformation and rules
Mappings, validation, identity rules, consent checks, enrichment, and routing can be maintained as reusable integration logic rather than duplicated across scripts.
Operational control
Martini provides a structured place for authentication configuration, pagination, checkpoints, retries, correlation IDs, rejected-row handling, and monitoring. This makes batch ingestion and event-driven activation easier to operate than isolated scripts.
Controlled API façade
Martini can expose a stable API for applications that need customer context while hiding Salesforce API versions, query details, and downstream orchestration behind a governed interface.