---
title: Configuring attribute mapping on the provisioning rule
description: Complete the following procedures in order:
component: code42-pingone
page_id: code42-pingone:provisioning_setup:p1_code42_integration_configuring_attribute_mapping_on_the_provisioning_rule
canonical_url: https://docs.pingidentity.com/integrations/code42-pingone/provisioning_setup/p1_code42_integration_configuring_attribute_mapping_on_the_provisioning_rule.html
revdate: June 26, 2024
section_ids:
  before-you-begin: Before you begin
  about-this-task: About this task
  steps: Steps
---

# Configuring attribute mapping on the provisioning rule

## Before you begin

Complete the following procedures in order:

1. [Creating a provisioning connection in PingOne](p1_code42_integration_creating_a_provisioning_connection_in_p1.html)

2. [Creating a provisioning rule in PingOne](p1_code42_integration_creating_a_provisioning_rule.html)

## About this task

Configure attribute mapping on the provisioning rule that you created in the [Creating a provisioning rule in PingOne](p1_code42_integration_creating_a_provisioning_rule.html) procedure to map the PingOne user attributes from the SCIM attributes in the Code42 identity store. For outbound provisioning, the mapping is applied to the attribute coming from the PingOne directory before it is saved to the target identity store.

To configure attribute mapping:

## Steps

1. On the **Configuration** tab of the provisioning rule, click **Attribute Mapping**.

2. Click the **Pencil** icon to edit the mapping and confirm that the following default attributes are within the mapping.

   > **Collapse: Default Code42 SCIM attributes**
   >
   > | Code42 SCIM Attribute | PingOne PingOneUser Attribute |
   > | --------------------- | ----------------------------- |
   > | `userName`            | `Username`                    |
   > | `givenName`           | `Given Name`                  |
   > | `familyName`          | `Family Name`                 |
   > | `workPhone`           | `Primary Phone`               |
   > | `workEmail`           | `Email Address`               |

   1. If any of the default attributes are missing from the attribute mapping, add them. To add an attribute mapping, click **[icon: plus, set=fa]Add**, then select the source and target attribute.

      You must click **[icon: plus, set=fa]Add** for each attribute that you need to map.

      Learn more about configuring attribute mapping in [Adding attribute mapping for outbound provisioning](https://docs.pingidentity.com/pingone/integrations/p1_add_attribute_mapping_idp.html).

3. Map the following Code42 SCIM attributes.

   > **Collapse: Remaining Code42 SCIM attributes**
   >
   > | Code42 SCIM Attribute | PingOne PingOneUser Attribute |
   > | --------------------- | ----------------------------- |
   > | `externalId`          | `External ID`                 |
   > | `workCity`            | `Locality`                    |
   > | `workStreetAddeess`   | `Street Address`              |
   > | `workCountry`         | `Country Code`                |
   > | `workPostalCode`      | `Postal Code`                 |
   > | `userType`            | `Type`                        |
   > | `title`               | `Title`                       |
   > | `nickName`            | `Nickname`                    |
   > | `formattedName`       | `Formatted`                   |

4. Click **Save**.
