# Pair a robot (/studio/pair-a-robot)

A hosted page cannot open a socket into a robot's private network, so the robot **dials out** to OpenHorizon's relay, and the app reaches it from there. Pairing is how a robot joins your team.

<Callout title="One relay, ours">
Robots dial `wss://relay.openhorizon.so`; the app is `studio.openhorizon.so`. Nobody is ever asked for a relay address, and the robot's key is kept hashed in the relay — never in our app, never in your browser.
</Callout>

## Pair it [#pair-it]

<Steps>
<Step>
### On the robot, show a code [#on-the-robot-show-a-code]

```bash
openhorizon pair
```

It prints a short code and waits. The code is good once and for ten minutes.
</Step>

<Step>
### In the app, enter the code [#in-the-app-enter-the-code]

A **team admin** opens **Robots → Add a robot → Unitree G1**, and types the code. The relay gives the robot to your team and issues its key; the robot keeps serving with that key.
</Step>

<Step>
### Use it [#use-it]

The robot now appears in your team's robot list, with its state and **Connect**. Anyone on the team can reach it through the relay — Collect, Review and Operate.
</Step>
</Steps>

## Who can do what [#who-can-do-what]

- **A team admin** pairs a robot, removes one (asked twice), and manages the team.
- **A member** sees the team's robots and uses them, and is told who can pair.
- Your team needs a **plan** to pair a robot or reach one through the relay — STOP always works regardless. See [Plans](/studio/robots) on the Account page.

<Callout type="info" title="Remove a robot">
A paired robot's admin can **Remove from team** on its Robots row (asked twice, never while that window is recording a take). The relay cuts the robot off at once.
</Callout>

## Reaching a robot without the relay [#reaching-a-robot-without-the-relay]

If you only need a robot on your own machine or network, you don't have to pair it — see [Local mode](/studio/local-mode).