---
title: Create Connections
slug: qatar-airways-bootcamp/create-connections
docTags: 
createdAt: 2024-01-30T23:36:00.578Z
---

## Objectives

- Understand the Data Connection UI
- Bring Adobe Experience Platform data into CJA
- Understand Person ID and data stitching
- Learn the concept of data streaming in Customer Journey Analytics

## Connections

:::hint{type="info"}
To log into the Adobe Experience Platform, check the **Introduction Section.**
:::

To go to Customer Journey Analytics within the sandbox environment:

1. Click on the product selector (nine-dot icon) at the top right.
2. Select **Customer Journey Analytics**.

![](https://adbecdn.azureedge.net/labs/archbee/emeaProjectsAEPBootZurichLab3Cja/select_cja.jpg)

You will see the Customer Journey Analytics project view.

Let's create our first connection.

1. Navigate to **Connections** tab.
2. Click **Create New Connection**.

You will see the Create Connection UI.&#x20;

The UI has three distinct area:

1. On the top, left side you will find **Connection Settings**, where you can give your Connection a name and description, and add Tags.
2. On the top, right side you will find the **Data Settings**, where you will select the correct Sandbox  (**`Sandbox 02`**) that contains our data. This will ensure the available datasets will be updated accordingly.&#x20;
3. At the bottom, you'll find the **Add Dataset** area for datasets you want to connect to.

## Connection Settings

1. Name your Connection, ensuring you prefix this with your own name. E.g. `[your name] - Qatar Airways Bootcamp Connection`

## Data Settings

1. Select `Sandbox 02` from the **Sandbox** dropdown in the Data Settings.
2. For the **Average number of daily events**, select `Less that 1 million`. This gives CJA an indication of expected volumes, allowing for optimal processing.

## Select Datasets

We will now select datasets for our connection.

1. Select **Add Datasets**
2. Search for the dataset **Demo System - Event Dataset for Website (Global v1.1)**.&#x20;
3. Check the box to add this dataset to the connection.
4. Search and when found also select the checkbox in front of the following datasets:
   1. **Demo System - Event Dataset for Call Center (Global v1.1)**
   2. **Demo System - Event Dataset for POS (Global v1.1)**
   3. **Demo System - Event Dataset for Mobile App (Global v.1.1)**
   4. **Demo System - Profile Dataset for CRM (Global v1.1)**

Your screen should now look like...

![](https://adbecdn.azureedge.net/labs/archbee/emeaProjectsAEPBootZurichLab3Cja/Screenshot2023-08-02at21.42.54.png)

1. Click on **Next** to add all checked datasets to your Connection.

You will be taken to the **Dataset Settings** step...

![](https://adbecdn.azureedge.net/labs/archbee/emeaProjectsAEPBootZurichLab3Cja/Screenshot2023-08-02at21.45.00.png)

## Person ID and Data Stitching

Our goals in now to join these datasets. If you look under the first Dataset name, you will see a field named Person ID. Each datasets has its own Person ID field. Check each dataset to see what is the Person ID.

As you will notice, most of them have the Person ID selected automatically. This is because a primary identifier is selected in every schema in Adobe Experience Platform. As an example, for  the schema for Demo System - Event Schema for Call Center (Global v1.1), the Primary Identifier is set to phoneNumber.

However, you can still influence which identifier will be used to stitch datasets together for your connection. You can use any identifier that is configured in the schema linked to your dataset.&#x20;

1. Click on the dropdown to explore the IDs available on each dataset.

As mentioned, we can set different Person IDs for each dataset. This allows you to bring different datasets from multiple origins together in CJA. Imagine bringing in NPS or survey data which would be very interesting and helpful to understand the context and why something has happened.

The name of the Person ID field isn’t important, as long as the value in the Person ID fields correspond. Let say we have `email` in one dataset and `emailAddress` in another dataset defined as Person ID. If `sacker@adobe.com` is the same value for the Person ID-field on both datasets, CJA will be able to stitch the data.

### Stitching using Person ID

Now that you understand the concept of stitching datasets using the Person ID, lets choose `CRM ID` as your Person ID for each dataset.

1. Select each dataset.
2. Select **CRM ID** from the Person ID dropdown list box.
3. For each Dataset pick a relevant **Data source type** from the dropdown.
4. Ensure "**Import new data**" is toggled **ON** for each Dataset.
5. **Do not** Enable Dataset Backfill

Once you've completed your Dataset Settings, click **Add datasets** to add them to your Connection.

You will now see the Datasets added...

![](https://adbecdn.azureedge.net/labs/archbee/emeaProjectsAEPBootZurichLab3Cja/Screenshot2023-09-20at18.36.52.png)

- Click **Save** to save your Connection.

:::hint{type="warning"}
Note: It takes some time after saving a Connection for the data to populate in the resulting Workspaces. This time depends on the number of events being processed.&#x20;

For the purposes of this lab, you can use a connection we defined for you already.
:::

:::hint{type="success"}
You now have completed setting up a connection for CJA.
:::

