> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeotap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Join Key Enricher

The **Join Key Enricher** in Zeotap CDP enables data enrichment by merging **Customer Data** with **Non-Customer Entity (NCE) Data**. By using this enricher, you can enhance a user's profile by associating additional information, such as transaction history, product interactions, or service usage, from **NCE datasets**. This allows for a more complete view of the customer, enabling better analysis and decision-making.

**Note that mapping the primary key of the NCE data source to the Join ID of Customer dataset is a crucial step**. In addition, the primary key of the NCE dataset must have the same data type as the `Join ID` in the customer data. For example, if the primary key, such as `Product ID`, is of `string` type, it can only be mapped to a Join ID of either `string` type or a `list of strings`. Note that if there is more than one attribute of a customer that needs to be enriched with this NCE data source, then you can include them by editing the enricher of the relevant NCE data source. To know more about how to configure this enricher, refer to  [Configuring the Join Key Enricher](/articles/unify-customer/configuring-the-join-key-enricher).

## How to Identify the Join ID and Primary Key

You can select a user attribute from categories such as **ID, User Traits, Product, Event, or Campaign** as the **Join Key (Join ID)**. To understand how to identify the **Join ID** in customer data and the **Primary Key** in non-customer data, consider the following example datasets:

### Customer Dataset (CE)

| **CRM ID (Join ID)** | **Name**   | **Email**                                           | **Phone Number** |
| :------------------- | :--------- | :-------------------------------------------------- | :--------------- |
| 12345                | Jane Doe   | [jane.doe@email.com](mailto:jane.doe@email.com)     | 555-1234         |
| 67890                | John Smith | [john.smith@email.com](mailto:john.smith@email.com) | 555-5678         |

### Non-Customer Entity Dataset (NCE)

| **CRM ID (Primary Key**) | **Order ID** | **Order Date** | **Total Amount** |
| :----------------------- | :----------- | :------------- | :--------------- |
| 12345                    | ORD001       | 2024-01-01     | \$250            |
| 67890                    | ORD002       | 2024-01-15     | \$400            |

To merge the two datasets and enricher the user profiles, use the common attribute between them. In this case, the **CRM ID** from the **Customer Dataset** serves as the **Join ID**, while the same column in the **Non-Customer Dataset** acts as the **Primary Key**.

Below is the resulting enriched user profile:

| **CRM ID** | **Name**   | **Email**                                           | **Phone Number** | **Order ID** | **Order Date** | **Total Amount** |
| :--------- | :--------- | :-------------------------------------------------- | :--------------- | :----------- | :------------- | :--------------- |
| 12345      | Jane Doe   | [jane.doe@email.com](mailto:jane.doe@email.com)     | 555-1234         | ORD001       | 2024-01-01     | \$250            |
| 67890      | John Smith | [john.smith@email.com](mailto:john.smith@email.com) | 555-5678         | ORD002       | 2024-01-15     | \$400            |

## Related Topics

<CardGroup>
  <Card title="Configure the Join Key Enricher" href="/articles/unify-customer/configuring-the-join-key-enricher" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="How to use NCE?" href="/articles/unify-customer/how-to-use-nce" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="Why do we need NCE?" href="/articles/unify-customer/why-do-we-need-nce" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="Understand One-to-Many Relationship in NCE" href="/articles/unify-customer/understand-one-to-many-relationship-in-nce" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="How to use the Composite Key in NCE?" href="/articles/unify-customer/using-composite-key-in-nce" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="Create an NCE source for the source types: Flat Files, Server to Server, CRM Data, and Data Warehouse" href="/articles/integrate-customer/creating-a-source" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="How to map NCE data in the Zeotap Catalogue?" href="/articles/unify-customer/map-the-catalogue-for-non-customer-entity-data" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="How to create an NCE attribute in Zeotap Catalogue?" href="/articles/unify-customer/adding-a-non-customer-entity-category" icon="angles-right" iconType="solid" horizontal={true} />
</CardGroup>
