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

# Registering and Running Flex Gateway in Connected 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 ways to register Flex Gateway in Connected Mode:

- [Register and Run using a Username and Password](https://docs.mulesoft.com/gateway/1.12/flex-conn-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-conn-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-conn-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.
