# claude gateway Command

> It lets a firm add its own sign-in and rules.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** claude gateway, Claude apps gateway

## Think of it like

It is like a desk at the door where each kid shows a card to get in.

## Definition

claude gateway starts a gateway server that a company runs in front of Claude Code. It adds the company's own sign-in and rules. The model runs on a cloud such as Amazon Bedrock or Google Cloud. It needs --config with a gateway.yaml file that holds the setup. It is a tool for admins, not for one person's laptop.

## Example

Jack's company runs Claude on its own cloud. An admin starts claude gateway. Staff sign in with their work account, and the company's rules apply to each session.

## Example code

```bash
claude gateway --config gateway.yaml
```

Start the gateway with its setup file.

## Why it matters

A company can use Claude Code on its own cloud, and still say who signs in and what is allowed.

## Common mistake

Running it on a laptop to try Claude Code. It is a server for a company. One person signs in with /login.

## Three principles

- **For admins.** Not one laptop.
- **Company sign-in.** And rules.
- **Needs a config.** gateway.yaml.

## Related terms

- [/setup-bedrock Command](https://learn.benibix.com/term/ai/setup-bedrock-command)
- [Amazon Bedrock](https://learn.benibix.com/term/ai/amazon-bedrock)
- [claude auth login Command](https://learn.benibix.com/term/ai/claude-auth-login-command)

## Taught in

- [Cloud and Server Commands](https://learn.benibix.com/learn/ai-claude-code-commands/cloud-and-server-commands): Claude Code Commands, 17/17

![Three ways to run Claude Code as a server: remote-control, gateway and self-hosted-runner.](https://learn.benibix.com/diagrams/cli-servers.svg)

---

Source: https://learn.benibix.com/term/ai/claude-gateway-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
