---
schema_version: "1"
id: f56fa32790731c4448b51cff8ed70f5c3bbc3af8866983b795d1741e1d7f1b61
title: Publishing Flex Gateway APIs
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/gateway/1.9/flex-gateway-publish-apis.md
canonical_url: https://docs.mulesoft.com/gateway/1.9/flex-gateway-publish-apis
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9c27e51d3f95f860d860a0a3b0904b455570cc2921dbfcbd41101330c851bf0b
description: MuleSoft Documentation Site
release: "1.9"
latest: false
---
---
product: Omni Gateway
version: 1.9
---

# Publishing Flex Gateway APIs

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

Publishing an API consists of defining a client service and routing that service to a backend
location. Flex Gateway enables you to publish APIs via Anypoint Platform (Connected Mode) or
declarative configuration files (Local Mode).

To publish an API in Connected Mode, see
[Publishing Managed Gateway and Connected Mode APIs](https://docs.mulesoft.com/gateway/1.9/flex-gateway-publish-apis-conn).

To publish an API in Local Mode, see [Publishing Local Mode APIs](https://docs.mulesoft.com/gateway/1.9/flex-gateway-publish-apis-local).

## See Also

- [Flex Gateway Overview](https://docs.mulesoft.com/gateway/1.9/)

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