---
schema_version: "1"
id: c9bb6c1771da0ec01dc18f689d416b7edccc428b6bf224d7be40ceeaf9980212
title: Registering and Running Flex Gateway in Local Mode
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/gateway/1.12/flex-local-reg-run.md
canonical_url: https://docs.mulesoft.com/gateway/1.12/flex-local-reg-run
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 80f2401ca778ebd6cc7a466c85279b9d0f3c34655d2231d2fbfacabc797c61fa
description: MuleSoft Documentation Site
release: "1.12"
latest: false
---
---
product: Omni Gateway
version: 1.12
---

# Registering and Running Flex Gateway in Local Mode

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

Before you can use your Flex Gateway to configure API instances, you must register and start the
gateway.

There are three options for registering Flex Gateway in Local Mode:

- [Register and Run using a Username and Password](https://docs.mulesoft.com/gateway/1.12/flex-local-reg-run-up): If you have a username
  and password for Anypoint Platform, you can use these credentials to register your Flex Gateway.

- [Register and Run using a Connected App](https://docs.mulesoft.com/gateway/1.12/flex-local-reg-run-app): If you do not have a username or
  password for Anypoint Platform, you can use connected app credentials to register your Flex
  Gateway.

- [Register and Run using a Token](https://docs.mulesoft.com/gateway/1.12/flex-local-reg-run-token): If you do not have a username or
  password for Anypoint Platform, you can use a registration token generated by the Runtime Manager
  UI. The token is valid for four hours.
