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

# 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/1.13/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/1.13/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/1.13/local-secure-api-with-basic-auth-policy)

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

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

## See Also

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

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