---
schema_version: "1"
id: 03cac7f301bac97c8cde782a7b9298b0548a274c1cb4df67cd8f256ccb8f7010
title: Applying Policies in Local Mode
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/gateway/latest/gateway-secure-local.md
canonical_url: https://docs.mulesoft.com/gateway/latest/gateway-secure-local
source_site: docs.mulesoft.com
content_type: documentation
content_hash: a258e101a7a29d7ef0fd2bdd9792c8311d178f0727350081578f259f04964b08
description: MuleSoft Documentation Site
release: "1.14"
latest: true
---
---
product: Omni Gateway
version: 1.14
is-latest-version: true
---

# Applying Policies in Local Mode

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

For Omni Gateway running in Local Mode, you apply API policies using
[local declarative configuration files](https://docs.mulesoft.com/gateway/latest/local-configuration-reference-guide). You specify the
location of these configuration files when you first run Omni Gateway.

See [Registering and Running Omni Gateway in Local Mode](https://docs.mulesoft.com/gateway/latest/local-reg-run) for more information about
how to start the gateway.

Refer to the following tutorials for examples on applying policies to APIs in Local Mode:

- [Secure an API with Basic Authentication and Rate Limiting](https://docs.mulesoft.com/gateway/latest/local-secure-api-with-basic-auth-policy)

- [Secure an API with an Automated Resource-Level Policy](https://docs.mulesoft.com/gateway/latest/local-secure-api-with-auto-policy)

- [Secure an API with a Custom Policy](https://docs.mulesoft.com/gateway/latest/local-deploy-custom-policy)

## See Also

- [Omni Gateway Overview](https://docs.mulesoft.com/gateway/latest/)

- [Getting Started with Self-Managed Omni Gateway](https://docs.mulesoft.com/gateway/latest/gateway-getting-started)
