To add a PingIntelligence policy to the Akana API Gateway:

  1. Sign on to Akana Policy Manager, navigate to the Tenant, and click Operational Policies under Policies.
  2. Select Add Policy.
  3. For Type, select Private Operational Script Policy from the drop-down list, and click Next.

    A screenshot of the Select Policy Creation Option page in Akana Policy Manager.
  4. Enter Policy Name and Description, click Finish, and then click Close.
    A screenshot of the Specify Policy Details page in Akana Policy Manager.
  5. Navigate to Workbench.
  6. In the Private Operational Script Policy section, select the policy name and click Modify.
    A screenshot of the Workbench tab in Akana Policy Manager.
  7. Click on Imports. Select the script added in Adding an input script and import it by clicking <<.
  8. Select JavaScript for Language from the list.
  9. Copy the contents of the pi_policy.js script and paste them into Expression under Source.
    A screenshot of the Modify Script Policy page in Akana Policy Manager.
  10. Click Finish and then click Close.
  11. In the WorkFlow Actions, click Activate Policy to activate the PingIntelligence policy.