---
schema_version: "1"
id: 65a9c09eb5efa3e618a23849694181caee17f596d6a49e88d7b67ee38bcf11af
title: Custom Policies
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/mule-gateway/policies-custom-overview.md
canonical_url: https://docs.mulesoft.com/mule-gateway/policies-custom-overview
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 34210ec666aad69b8aaab74825f4208808cfa708abdd3e9cd9154447b483bf5d
description: MuleSoft Documentation Site
latest: true
---
---
product: Mule Gateway
---

# Custom Policies

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Policies enforce regulations to help manage security, control traffic, and improve API adoption. For
example, a policy can control authentication, access, and service level agreements (SLAs). You can
create custom policies based on your specific business requirements and apply them to APIs to extend
existing functionality or define new ones.

The workflow to create custom policies for Mule 4 and earlier in Anypoint API Manager has not
changed. Continue to use the process of developing the policy, packaging the custom policy,
uploading it to Exchange, and applying the policy to an API through Anypoint API Manager as
described in the Anypoint API Manager documentation.

For more information, refer to the following:

- [Publish a Mule 4 Custom Policy](https://docs.mulesoft.com/mule-gateway/policies-custom-mule-getting-started)

- [Mule 4 Custom Policy Workflow](https://docs.mulesoft.com/mule-gateway/policies-custom-getting-started)

- [Managing Offline Custom Policies](https://docs.mulesoft.com/mule-gateway/policies-custom-manage-offline)
