---
title: Configuring a datastore for OAuth assertion grant attribute mapping
description: You can optionally set up datastore queries to supplement values returned from the OAuth assertion grant attribute mapping source.
component: pingfederate
version: 13.1
page_id: pingfederate:administrators_reference_guide:help_oauthsaml2targetmappingtasklet_oauthsamlselectdatasourcedata
canonical_url: https://docs.pingidentity.com/pingfederate/13.1/administrators_reference_guide/help_oauthsaml2targetmappingtasklet_oauthsamlselectdatasourcedata.html
llms_txt: https://docs.pingidentity.com/pingfederate/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: July 5, 2022
section_ids:
  steps: Steps
  choose-from: Choose from:
---

# Configuring a datastore for OAuth assertion grant attribute mapping

You can optionally set up datastore queries to supplement values returned from the OAuth assertion grant attribute mapping source.

## Steps

1. Within your identity provider (IdP) connection configuration, go to the **Data Store** tab.

   1. Click the **OAuth Assertion Grant Attribute Mapping** tab, and then click **Configure OAuth Assertion Grant Attribute Mapping**.

   2. Click the **Access Token Manager Mapping** tab, and then click **Create New Access Token Manager Mapping**.

   3. Click the **Data Store** tab.

2. Perform one of the following actions.

   ### Choose from:

   * To set up datastore queries, select a datastore from the **Active Data Store** list, and then click **Next**. Follow the wizard to complete the setup. For configuration steps, see [Datastore query configuration](pf_datastore_query_config.html).

   * To skip this optional configuration, select **No Data Store** and then click **Next**.
