---
schema_version: "1"
id: ac00453e822c0f2ce2917b7d0537a2d724a972f9689de3115cb0aa475f7d11f1
title: Custom Policies
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/gateway/1.12/policies-custom-overview.md
canonical_url: https://docs.mulesoft.com/gateway/1.12/policies-custom-overview
source_site: docs.mulesoft.com
content_type: documentation
content_hash: bb8a6a23ee8755494361314fa2853ad4be6499a883fbedf15a6c0dc3d3ffbe77
description: MuleSoft Documentation Site
release: "1.12"
latest: false
---
---
product: Omni Gateway
version: 1.12
---

# Custom Policies

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

**New Feature Available**: This product feature is outdated and is only provided for existing custom
policies. To create new custom policies, use the
[Flex Gateway Policy Development Kit (PDK)](https://docs.mulesoft.com/pdk/latest/policies-pdk-overview).

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 for creating custom policies for Anypoint Flex Gateway is done in Exchange. The policy
is then available to be applied to an API in Anypoint API Manager.

For more information, refer to the following:

- [Implement a Flex Gateway Custom Policy in Rust](https://docs.mulesoft.com/gateway/1.12/policies-custom-flex-implement-rust)

- [Publish a Flex Gateway Custom Policy](https://docs.mulesoft.com/gateway/1.12/policies-custom-flex-getting-started)

- [Apply a Flex Gateway Custom Policy in Local Mode](https://docs.mulesoft.com/gateway/1.12/flex-local-deploy-custom-policy)
