---
title: ha-bridge setup
description: Arguments and flags for every ha-bridge setup command.
sidebar:
  label: setup
---

<!-- Generated from src/index.ts by `mise run docs:gen`. Do not edit by hand. -->

Every `ha-bridge setup` command and its help, as `--help` prints it. Each also accepts the [global flags](/commands#global-flags).

## `ha-bridge setup`

```text
DESCRIPTION
  Set the Home Assistant URL and access token

USAGE
  ha-bridge setup [flags]

FLAGS
  --socket string    Path to the bridge socket (default: $HA_BRIDGE_SOCK, then $XDG_RUNTIME_DIR/ha-bridge/ha-bridge.sock)
```
