# Configuration

> **Deprecation Notice**
> This page describes features that have been removed or replaced in Luxonis Hub. Functionality may be limited and only available
to Hub Original customers. Please refer to the up-to-date guides to provision devices, manage fleets, and deploy applications.

## Cloud

You can configure your Robot trough the cloud by visiting its page and heading to Settings.

## Bootstrap (local)

Luxonis Hub Agent is bootstrapped from a configuration file located at /home/robothub/agent.toml. This file is read before
starting the agent and allows for customization specific to your usecase. The configuration has the following sections:

### Global

```toml
# Root directory under which agent stores all data.
# Changing this is not recommended (no support is provided, not tested)
root = "/home/robothub"

# What type of devices to scan for
# Options are "rvc3-remote", "rvc3-local", "rvc2-usb", "rvc2-poe"
# Limits which devices will be discovered by this agent
scanFor = ["rvc2-usb", "rvc2-poe"]

# How often to scan for devices (in milliseconds)
scanEvery = 15000

# Logging level (useful for debugging)
logLevel = "info" # trace, debug, info, warn, error

# Trust root certificates from the system trust store
useSystemCertificateStore = false
```

### Containers

```toml
[podman]
# Allows you to mount additional directories to all apps
# Example: ["/opt/my-dir"]
additionalMounts = []

# Allows you to add capabilities to all apps
# (https://man7.org/linux/man-pages/man7/capabilities.7.html)
additionalCapabilites = []

# Image pull timeout (in seconds)
pullTimeout = 300
```

### Local Web UI

```toml
[localWeb]
# The port on which the local web server is listening
port = 9010
```

### Cloud

```toml
[hub]
# ID of the team the agent is expected to connect to
# This makes the robot show up in the web UI as ready for adoption
expectedTeamId = "00000000-0000-0000-0000-000000000000"
```

### Streaming

```toml
[streaming]
# Forces relay mode (TURN) for WebRTC streaming
forceRelay = false

# How often to report FPS in the logs
fpsReportInterval = "slow" # fast, slow

# If you want to define your own ICE servers (TURN/STUN)
[[streaming.additionalIceServers]]
hostname = "google.com"
port = 1234
username = "test"
password = "test"
```
