---
title: Configuring policy attribute sources and user lookup
description: You can optionally set up datastore queries to supplement values returned from the policy attribute source.
component: pingfederate
version: 13.1
page_id: pingfederate:administrators_reference_guide:help_policymanagementtasklet_policyattributesourcesstate
canonical_url: https://docs.pingidentity.com/pingfederate/13.1/administrators_reference_guide/help_policymanagementtasklet_policyattributesourcesstate.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 policy attribute sources and user lookup

You can optionally set up datastore queries to supplement values returned from the policy attribute source.

## Steps

1. Go to **Applications > OAuth > OpenID Connect Policy Management** and select your policy, or click **Add New Policy**.

2. On the **Attribute Sources & User Lookup** tab, perform one of the following actions.

   ### Choose from:

   * To set up datastore queries, click **Add Attribute Source**. Complete the setup on the **Attribute Sources & User Lookup** tab. For configuration steps, see [Datastore query configuration](pf_datastore_query_config.html).

   * To skip this optional configuration, click **Next**.
