Integrate your Mobile Applications
The Salesforce CDP Module for the Engagement Mobile SDK makes it possible for you to
integrate your mobile applications with Salesforce CDP. This integration allows you to capture
rich behavioral and demographic data from customers, and app lifecycle and screen navigation
events. Events collected by Salesforce CDP create a unified profile of a customer to enable
hyper-personalized engagement across multiple clouds, including Marketing, Commerce, and
Service.
Prerequisites
In order to use the Salesforce CDP Module, create a Salesforce data source connector and copy your tenant-specific endpoint. Log into Salesforce CDP and navigate to Websites and Mobile Apps. Set up your data sources by creating an app connector.
The appSourceId and tenant-specific endpoint from your web data connector is required for the initialization of the Salesforce CDP Module.
Install the SDK
iOS
Use Swift Package Manager to install and
manage the Salesforce CDP Module for the Engagement Mobile SDK.
Android- In Xcode, with your app project open, navigate to File > Add Packages.
- Enter the package URL for the Engagement Mobile SDK
repository.
- Select the SDK version that you want to use. The latest version is recommended.
- Enter the package URL for the Salesforce CDP Module for the Engagement Mobile SDK
repository:
- Select the SDK version that you want to use. The latest version is recommended.
- Update the module-level build.gradle file.
- Add the SDK dependency.
Additional Resources
- If you implemented the older Mobile SDK version, see Salesforce CDP Mobile SDK.