---
title: Creating a provisioning connection
description: To allow PingFederate to manage users in Code42 using SCIM, create a service provider (SP) connection.
component: code42-pingfederate
page_id: code42-pingfederate:provisioning_setup:pf_code42_integration_creating_a_provisioning_connection
canonical_url: https://docs.pingidentity.com/integrations/code42-pingfederate/provisioning_setup/pf_code42_integration_creating_a_provisioning_connection.html
revdate: June 26, 2024
section_ids:
  steps: Steps
---

# Creating a provisioning connection

To allow PingFederate to manage users in Code42 using SCIM, create a service provider (SP) connection.

## Steps

1. In the PingFederate administrator console, create a new SP connection:

   * For PingFederate 10.1 or later: go to **Applications > Integration > SP Connections**. Click **Create Connection**.

   * For PingFederate 10.0 or earlier: go to **Identity Provider > SP Connections**. Click **Create Connection**.

2. Configure the basic connection details.

   1. On the **Connection Template** tab, select **Do not use a template for this connection**. Click **Next**

   2. On the **Connection Type** tab, select only **Outbound Provisioning**. From the **Type** list, select **SCIM Connector**. Click **Next**.

   3. On the **General Info** tab, in the **Partner's Entity ID** and **Connection Name** fields, enter a name of your choosing. Complete any other optional fields. Click **Next**.

3. On the **Outbound Provisioning** tab, configure the provisioning target and channel. Click **Next**.

   For help, see [Configuring outbound provisioning](https://docs.pingidentity.com/pingfederate/latest/administrators_reference_guide/help_spconnectionconfigtasklet_saasprovisioningstate.html) in the PingFederate documentation.

   1. Click **Configure Provisioning**.

   2. On the **Target** tab, in the **SCIM URL** field, enter the **Base URL** that you noted in [Adding PingFederate as SCIM provider in Code42](pf_code42_integration_adding_pf_as_scim_provider_in_code42.html).

   3. From the **SCIM Version** list, check that **2.0** is selected.

   4. From the **Authentication Method** list, select **Basic Authentication** or **OAuth 2 Bearer Token** based on the authentication method you selected in [Adding PingFederate as SCIM provider in Code42](pf_code42_integration_adding_pf_as_scim_provider_in_code42.html).

   5. In the **Username** and **Password** fields or **Access Token** field, enter the authentication details that you noted in [Adding PingFederate as SCIM provider in Code42](pf_code42_integration_adding_pf_as_scim_provider_in_code42.html).

      |   |                                                                                                   |
      | - | ------------------------------------------------------------------------------------------------- |
      |   | PingFederate verifies the authentication details when you activate the channel and SP connection. |

   6. From the **Unique User Identifier** list, select **userName**.

   7. From the **Remove User Action** list, select **Disable**.

   8. Under **Provisioning Options**, customize the provisioning connector actions as shown in [SCIM Connector settings reference for Code42](pf_code42_integration_scim_connector_settings_reference_for_code42.html). Click **Next**.

   9. On the **Manage Channels** tab, follow the steps in [Creating a channel](pf_code42_integration_creating_a_channel.html). Click **Done**.

   10. On the **Outbound Provisioning** tab, click **Next**.

4. On the **Activation and Summary** tab, above the **Summary** section, click the toggle to turn on the connection. Click **Save**.
