---
schema_version: "1"
id: e7689c5320fb5568db3a2518549f08e506777fceff888ed1bcbf7b5522efb725
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.9/flex-conn-reg-run.md
canonical_url: https://docs.mulesoft.com/gateway/1.9/flex-conn-reg-run
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 744c689da1e102cd46851c6ade9db8ac10ba91edeffc35a6d2aef05591c35f3b
description: MuleSoft Documentation Site
release: "1.9"
latest: false
---
---
product: Omni Gateway
version: 1.9
---

# 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.9/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.9/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.9/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.
