---
title: Creating a request contract
description: Specify one or more parameters that will be included in request-security-tokens (RST) applicable to connection partners. You can make request contracts available for token-attribute mapping during partner-connection configuration.
component: pingfederate
version: 13.1
page_id: pingfederate:administrators_reference_guide:help_wstrustrequestcontracttasklet_wstrustrequestcontractstate
canonical_url: https://docs.pingidentity.com/pingfederate/13.1/administrators_reference_guide/help_wstrustrequestcontracttasklet_wstrustrequestcontractstate.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:
  about-this-task: About this task
  steps: Steps
  result: Result:
  result-2: Result:
---

# Creating a request contract

Specify one or more parameters that will be included in request-security-tokens (RST) applicable to connection partners. You can make request contracts available for token-attribute mapping during partner-connection configuration.

## About this task

Identify the contract and define parameters that will be available in token requests associated with this contract for partner connections.

## Steps

1. Go to **Authentication > Token Exchange > STS Request Parameters**.

   ### Result:

   This will open the **STS Request Parameters** window configuration.

2. Click **Add New Request Contract**.

   ### Result:

   This will open the **Request Contract** configuration window.

3. Enter the contract name in the **Contract Name** field and the contract ID in the **Contract ID** field.

   |   |                                                                                                                                           |
   | - | ----------------------------------------------------------------------------------------------------------------------------------------- |
   |   | In the **Request Contract** configuration window, after you click **Done**, the **Contract Name** and **Contract ID** cannot be modified. |

4. In the **Parameter Name** field, enter the parameter that will be included in the RSTs. Click **Add**.

   You must add at least one parameter. Repeat this step to add more parameters.

   |   |                                                                                                              |
   | - | ------------------------------------------------------------------------------------------------------------ |
   |   | After the request is saved, you can add, modify, or remove parameters. You must keep at least one parameter. |

5. Click **Done**.
