---
title: Installing the PingIntelligence AWS policy tool
description: Download and install the PingIntelligence Amazon Web Services (AWS) policy tool.
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_integrations:pingintelligence_install_aws_policy_tool
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_integrations/pingintelligence_install_aws_policy_tool.html
revdate: April 3, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  example: Example:
---

# Installing the PingIntelligence AWS policy tool

Download and install the PingIntelligence Amazon Web Services (AWS) *(tooltip: \<div class="paragraph">
\<p>An Amazon subsidiary providing cloud computing platforms.\</p>
\</div>)* policy tool.

## About this task

To download and install the PingIntelligence policy tool:

## Steps

1. [Download](https://www.pingidentity.com/en/resources/downloads.html) the PingIntelligence policy tool to the `/opt` directory.

2. Complete the following steps to untar the policy tool:

   1. At the command prompt, enter the following command to untar the policy tool file:

      ```
      tar –zxvf  <filename>
      ```

      ### Example:

      ```
      tar –zxvf pi-aws-4.0.tar.gz
      ```

   2. To verify that the tool successfully installed, enter the `ls` command at the command prompt. This should list the `pingidentity` directory and the build `.tgz` file.

      The following table lists the directories.

      | Directory | Description                                                                                                                                                                                                                                                                            |
      | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
      | `bin`     | Contains the following scripts:- `deploy.sh`: The script to deploy the PingIntelligence policy

      - `undeploy.sh`: The script to undeploy the PingIntelligence policy

      - `status.sh`: Reports the deployment status of the identity and access management (IAM) role and Lambda function |
      | `lib`     | `jar` files and various dependencies. Do not edit the contents of this directory.                                                                                                                                                                                                      |
      | `policy`  | Contains the request and response Lambda functions:- `request_lambda.zip`

      - `response_lambda.zip`                                                                                                                                                                                     |
      | `config`  | Contains the `aws.properties` file                                                                                                                                                                                                                                                     |
      | `logs`    | Contains the log and status files                                                                                                                                                                                                                                                      |
