Show Menu
TOPICS×

Add data to Real-time Customer Profile

This tutorial outlines the steps necessary to add data to Real-time Customer Profile.

Enable a schema for Real-time Customer Profile

Data being ingested into Experience Platform for use by Real-time Customer Profile must conform to an Experience Data Model (XDM) schema that is enabled for Profile. In order for a schema to be enabled for Profile, it must implement either the XDM Individual Profile or XDM ExperienceEvent class.
You can enable a schema for use in Real-time Customer Profile using the Schema Registry API or the Schema Editor user interface. To get started, follow the tutorials for creating a schema using APIs or creating a schema using the Schema Editor UI .

Add data using batch ingestion

All data uploaded to Platform using batch ingestion is uploaded to individual datasets. Before this data can be used by Real-time Customer Profile, the dataset in question has to be specifically configured. For complete instructions, see the tutorial on configuring a dataset for Profile and Identity Service .
Once the dataset has been configured, you can start ingesting data into it. See the batch ingestion developer guide for detailed steps on how to upload files in different formats.

Add data using streaming ingestion

Any stream-ingested data that is compliant with a Profile-enabled XDM schema will automatically add or overwrite the appropriate record in Real-time Customer Profile. If more than one identity is supplied in the record, or time series data is consumed, those identities will be mapped in the identity graph without additional configuration. See the streaming ingestion developer guide to learn more.

Confirm that the upload is successful

When uploading data to a new dataset for the first time, or as part of a process involving a new ETL or data source, it is recommended to carefully check the data to ensure it has been uploaded correctly.
Using the Real-time Customer Profile Access API, you can retrieve batch data as it gets loaded into a dataset. If you are unable to retrieve any of the entities you expect, your dataset may not be enabled for Profile. After confirming that your dataset has been enabled, ensure that your source data format and identifiers support your expectations.
For detailed instructions on how to access entities using the Real-time Customer Profile API, please refer to the entities endpoint guide , also known as the "Profile Access API".