Ingest data into Adobe Experience Platform
Adobe Experience Platform allows you to easily import data into Platform as batch files. Examples of data to be ingested may include profile data from a flat file in a CRM system (such as a Parquet file) or data that conforms to a known Experience Data Model (XDM) schema in the Schema Registry.
Getting started
In order to complete this tutorial, you must have access to Experience Platform. If you do not have access to an organization in Experience Platform, please speak to your system administrator before proceeding.
If you would prefer to ingest data using Data Ingestion APIs please begin by reading the Batch Ingestion developer guide.
Datasets workspace
The Datasets workspace within Experience Platform allows you to view and manage all of the datasets that your organization has made, as well as create new ones.
View the Datasets workspace by clicking Datasets in the left-hand navigation. The Datasets workspace contains a list of datasets, including columns showing name, created (date and time), source, schema, and last batch status, as well as the date and time the dataset was last updated.
Create a dataset
To create a dataset, click Create Dataset in the top right corner of the Datasets workspace.
On the Create Dataset screen, select whether you would like to “Create Dataset from Schema” or “Create Dataset from CSV File”.
For this tutorial, a schema will be used to create the dataset. Click Create Dataset from Schema to continue.
Select dataset schema
On the Select Schema screen, choose a schema by clicking the radio button beside the schema you wish to use. For this tutorial, the dataset will be made using the Loyalty Members schema. Using the search bar to filter schemas is a helpful way to find the exact schema you are looking for.
Once you have selected the radio button next to the schema you wish to use, click Next.
Configure dataset
On the Configure Dataset screen, you will be required to give your dataset a name and may also provide a description of the dataset as well.
Notes on Dataset Names:
- Dataset names should be short and descriptive so that the dataset can be easily found in the library later.
- Dataset names must be unique, meaning it should also be specific enough that it will not be reused in the future.
- It is best practice to provide additional information about the dataset using the description field, as it may help other users differentiate between datasets in the future.
Once the dataset has a name and description, click Finish.
Dataset activity
An empty dataset has now been created and you have been returned to the Dataset Activity tab in the Datasets workspace. You should see the name of the dataset in the top-left corner of the workspace, along with a notification that “No batches have been added.” This is to be expected since you have not added any batches to this dataset yet.
On the right-hand side of the Datasets workspace you will see the Info tab containing information related to your new dataset such as dataset ID, name, description, table name, schema, streaming, and source. The Info tab also includes information about when the dataset was created and its last modified date.
Also in the Info tab is a Profile toggle that is used for enabling your dataset for use with Real-Time Customer Profile. Use of this toggle, and Real-Time Customer Profile, will be explained in more detail in the section that follows.
Enable dataset for Real-Time Customer Profile
Datasets are used for ingesting data into Experience Platform, and that data is ultimately used to identify individuals and stitch together information coming from multiple sources. That stitched together information is called a Real-Time Customer Profile. In order for Platform to know which information should be included in the Real-Time Profile, datasets can be marked for inclusion using the Profile toggle.
By default, this toggle is off. If you choose to toggle on Profile, all data ingested into the dataset will be used to help identify an individual and stitch together their Real-Time Profile.
To learn more about Real-Time Customer Profile and working with identities, please review the Identity Service documentation.
To enable the dataset for Real-Time Customer Profile, click the Profile toggle in the Info tab.
A dialog will appear asking you to confirm that you want to enable the dataset for Real-Time Customer Profile.
Click Enable and the toggle will turn blue, indicating it is on.
Add data to dataset
Data can be added into a dataset in a number of different ways. You could choose to use Data Ingestion APIs or an ETL partner such as Unifi or Informatica. For this tutorial, data will be added to the dataset using the Add Data tab within the UI.
To begin adding data to the dataset, click on the Add Data tab. You can now drag and drop files or browse your computer for the files you wish to add.
Upload a file :headding-anchor:upload-file
Once you drag and drop (or browse and select) a Parquet or JSON file that you wish to upload, Platform will immediately begin to process the file and an Uploading dialog will appear on the Add Data tab showing the progress of your file upload.
Dataset metrics
After the file has finished uploading, the Dataset Activity tab no longer shows that “No batches have been added.” Instead, the Dataset Activity tab now shows dataset metrics. All metrics will show “0” at this stage as the batch has not yet loaded.
At the bottom of the tab is a list showing the Batch ID of the data that was just ingested through the “Add data to dataset” process. Also included is information related to the batch, including ingested date, number of records ingested, and the current batch status.
Batch details
Click on the Batch ID to view a Batch Overview, showing additional details regarding the batch. Once the batch has finished loading, the information about the batch will update to show the number of records ingested and the file size. The status will also change to “Success” or “Failed”. If the batch fails the Error Code section will contain details regarding any errors during ingestion.
For more information and frequently asked questions regarding batch ingestion, see the Batch Ingestion troubleshooting guide.
To return to the Dataset Activity screen, click the name of the dataset (Loyalty Details) in the breadcrumb.
Preview dataset
Once the dataset is ready, an option to Preview Dataset appears at the top of the Dataset Activity tab.
Click Preview Dataset to open a dialog showing sample data from within the dataset. If the dataset was created using a schema, details for the dataset schema will appear on the left-side of the preview. You can expand the schema using the arrows to see the schema structure. Each column header in the preview data represents a field in the dataset.
Next steps and additional resources
Now that you have created a dataset and successfully ingested data into Experience Platform, you can repeat these steps to create a new dataset or ingest more data into the existing dataset.
To learn more about batch ingestion, please read the Batch Ingestion overview and supplement your learning by watching the video below.