When presenting Data Cloud Data Model Objects (DMOs) inside Salesforce Lightning Web Components, three distinct architectural patterns are available:
Scenario A: Home Org Native Query
When the LWC runs in the Salesforce org that is directly connected as the home Data Cloud instance, queries execute natively via the Connect API or GraphQL wire adapters:
Scenario B: Different Org Integration
When the LWC resides in an external Salesforce CRM org or custom portal, an Apex callout routes queries through MuleSoft or direct REST endpoints into Data Cloud:
Scenario C: Companion Org Native Query
When multi-org sharing is enabled across Salesforce enterprise tenants, companion orgs can query shared DMO spaces natively through Data Cloud data federation: