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

# 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.9/policies-custom-flex-implement-rust)

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

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