---
title: Configuring the datastore
description: To retrieve user attributes from PingOne, add PingOne as a datastore in PingFederate.
component: pingone
page_id: pingone:pingone_integration_kit:pf_p1_ik_configuring_the_datastore
canonical_url: https://docs.pingidentity.com/integrations/pingone/pingone_integration_kit/pf_p1_ik_configuring_the_datastore.html
revdate: June 18, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Configuring the datastore

To retrieve user attributes from PingOne, add PingOne as a datastore in PingFederate.

## About this task

Learn more in [Datastores](https://docs.pingidentity.com/pingfederate/latest/administrators_reference_guide/pf_datastores.html) in the PingFederate documentation.

## Steps

1. On the PingFederate administrative console, create a new datastore.

   1. Go to **System > Data & Credential Stores**.

   2. Click **Add New Data Store**.

2. On the **Data Store Type** tab, set the basic datastore attributes.

   1. In the **Name** field, enter a name for the datastore.

   2. In the **Type** list, select **PingOne Data Store**.

   3. Click **Next**.

3. On the **Configure Data Store Instance** screen, under **Attribute Selector**, define local attributes and map them to the values of PingOne attributes.

   1. Click **Add a new row to 'Attribute Selector'**.

   2. In the **Local Attribute** field, enter a name of your choice for an attribute.

   3. In the **PingOne Attribute** field, map your local attribute to the value of the matching PingOne for Customers attribute by entering `JSON Pointer syntax`. See [JSON Pointer syntax reference](pf_p1_ik_json_pointer_syntax_reference.html).

   4. On the row that you added, click **Update**.

   5. To add more attributes, repeat steps a-d.

4. Complete the connection to PingOne.

   1. In the **PingOne Envrionment** list, select your environment.

   2. Click **Next**.

5. Configure the other fields as necessary.

   Learn more in [Datastore configuration reference](pf_p1_ik_datastore_config_fields.html).

6. On the **Actions** screen, confirm that PingFederate can connect to PingOne.

   1. Click **Test Connection**.

   2. Resolve any connection issues.

   3. Click **Next**.

7. On the **Summary** screen, click **Save**.
