---
title: Configuring Axway XFF policies for decoy APIs
description: PingIntelligence provides an X-Forwarded-For (XFF) policy for your decoy APIs.
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_integrations:pingintelligence_axway_xff_policy
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_integrations/pingintelligence_axway_xff_policy.html
revdate: April 3, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Configuring Axway XFF policies for decoy APIs

PingIntelligence provides an X-Forwarded-For (XFF) policy for your decoy APIs.

## About this task

The XFF policy adds an `X-Forwarded-For` to the backend only if it is not present in the original incoming request. If the `X-Forwarded-For` header is already present in the incoming request, the policy takes no action

## Steps

1. Launch Axway Policy Studio and click **New Project from an API Gateway instance**.

   ![A screen capture of the Welcome to Policy Studio page with a green box around the New Project from an API Gateway instance link.](../_images/obp1564009198925.png)

2. In the **New Project** pop-up window, enter the details and click **Next >**.

   ![A screen capture of the New Project > Project Details with the Use default location option and Next button highlighted in orange.](../_images/rfg1564009199536.png)

3. Enter **Host** details, **Username**, and **Password** of the API Gateway to connect, and click **Next >**.

   ![A screen capture of New Project > Open connection page. Values are entered in the Host, Username, and Password fields.](../_images/ubm1564009200123.png)

4. From the top menu, go to **File → Import → Import Configuration Fragment**.

   ![A screen capture of the File menu with Import > Import Configuration Fragment selected.](../_images/ivq1564009200861.png)

5. From the pop-up window, import the Axway policy from the directory where it was saved. Select the policy and click **OK**.

   ![A screen capture of the policy selection page with the policy and OK button highlighted in orange.](../_images/ddp1564009202060.png)

6. After importing the Axway policy, deploy the XFF policy

   ![A screen capture of the Enable-xff policy.](../_images/gtb1564009220536.png)
