---
title: Deploying the PingIntelligence policy for Flow Callout
description: In the Flow Callout, the PingIntelligence policy is applied on a per API basis in the environment of an organization.
component: pingintelligence
version: 5.1
page_id: pingintelligence:pingintelligence_integrations:pingintelligence_deploying_policy_flow_callout
canonical_url: https://docs.pingidentity.com/pingintelligence/5.1/pingintelligence_integrations/pingintelligence_deploying_policy_flow_callout.html
revdate: April 3, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  choose-from: Choose from:
---

# Deploying the PingIntelligence policy for Flow Callout

## About this task

In the Flow Callout, the PingIntelligence policy is applied on a per API basis in the environment of an organization.

## Steps

1. Deploy the shared flow:

   ### Choose from:

   * Deploy with self-signed certificate: To deploy the PingIntelligence policy with self-signed certificate, run the following command.

     ```
     /opt/pingidentity/pi/apigee/bin/deploy.sh -fc
     Checking Apigee connectivity
     Apigee connectivity ... success
     Generating policies

     Deploying PI Apigee policy Flow Call Out

     1) PingIntelligence-Encrypted-Config-KVM status ... not-applicable
     2) PingIntelligence-Config-KVM status ... not-applicable
     3) ASE Server status ... deployed
     4) Truststore status ... deployed
     5) Upload pem file status ... deployed
     6) Cache status ... deployed
     7) Request policy upload status ... deployed
     8) Response policy upload status ... deployed
     9) Request policy deployment status ... deployed
     10) Response policy deployment status ... deployed
     11) Preproxy Flow call out status ... deployed
     12) Postproxy Flow call out status ... deployed

     Deployment of PI Policy finished successfully
     ```

   * Deploy with CA-signed certificate: To deploy the PingIntelligence policy with CA-signed certificate, run the following command.

     ```
     bin/deploy.sh -fc -ca

     Checking Apigee connectivity
     Apigee connectivity ... success
     Generating policies

     Deploying PI Apigee policy Flow Call Out

     1) PingIntelligence-Encrypted-Config-KVM status ... not-applicable
     2) PingIntelligence-Config-KVM status ... not-applicable
     3) ASE Server status ... deployed
     4) Truststore status ... not-applicable - running using CA signed certificate
     5) Upload pem file status ... not-applicable - running using CA signed certificate
     6) Cache status ... deployed
     7) Request policy upload status ... deployed
     8) Response policy upload status ... deployed
     9) Request policy deployment status ... deployed
     10) Response policy deployment status ... deployed
     11) Preproxy Flow call out status ... deployed
     12) Postproxy Flow call out status ... deployed

     Deployment of PI Policy finished successfully
     ```

2. After deploying the Flow Call Out using the PingIntelligence tool, to verify the status of the deployment, run the following command.

   ```
   /opt/pingidentity/pi/apigee/bin/status.sh
   Checking Apigee connectivity
   Apigee connectivity ... success

   Checking the PI Apigee Policy Flow Call Out deployment status

   1) PingIntelligence-Config-KVM status ... not applicable
   2) PingIntelligence-Encrypted-Config-KVM status ... not applicable
   3) ASE target status ... deployed
   4) Cache status ... deployed
   5) Truststore status ... deployed
   6) Request Policy status ... deployed
   7) Response Policy status ... deployed
   8) Preproxy call out status ... deployed
   9) Postproxy call out status ... deployed

   PI Apigee Policy is already installed
   ```
