Before applying the PingIntelligence policy, make sure that the API to which you want to apply the policy is defined. The steps mentioned below use an API named PingIntelligenceAPI for illustration purpose.

Deploying PingIntelligence policy to Mulesoft Anypoint

  1. Log in to your Mulesoft Anypoint account.
  2. Open API Manager by expanding the menu on the left-hand side.
  3. In the API Administration page, click on Custom Policies.
  4. In the Custom policies page, click on Add custom policy:
  5. In the Add custom policy pop-up window, add the policy name, for example, PingIntelligence policy and upload the pi_policy.yaml and pi_policy.xml files.

    PingIntelligence policy is added as shown below.