# Bring your own runner

> Run a personal namespace's pipelines, or any group's, on a runner pool you register yourself.
> **Available** for any group's pool today. Personal namespaces are being turned on for everyone; until yours exists, register a pool on a team's group instead.

A job runs on a runner from a **runner pool** that reaches its repository: a
pool on the repository's group or any group above it, a pool shared with
one of those, or a pool of the team's company. A
[personal namespace](https://docs.branchd.run/branchd/personal-namespace) has no company, so
no company pool reaches it: its pipelines run only on a pool you register
yourself.

Until a pool reaches a repository, its jobs wait with the reason **No runner
pool reaches this repository** and then fail, saying that no runner pool can
take the job. Nothing else picks them up.

## 1. Make a pool

With a signed-in [branchd CLI](https://docs.branchd.run/branchd/pipelines/quickstart), create
a pool on your namespace (or on one of its groups), with the labels your
jobs' `runs-on` will name:

```sh
branchd pool create <your username> laptop --labels linux --description "My workstation"
```

It prints the pool's registration token (`fpt_…`) once.
`branchd pool rotate-token <pool>` prints a new one. In the console the same
is under **Settings › Runners** of your namespace.

## 2. Run a runner for it

Register a machine with the token. On a Mac, follow
[Run a runner on a Mac](https://docs.branchd.run/branchd/pipelines/mac-runner). Check the
pool and its runners with:

```sh
branchd pool show <your username>:laptop
branchd runner list <your username>:laptop
branchd pool inheritance show <your username>    # which pools reach it, and from where
```

## 3. Point jobs at it

A job runs on a pool whose labels include all of its `runs-on` labels. With
the pool above, `runs-on: [linux]` runs there. A job with no `runs-on` runs
on a pool labelled `untagged`; add that label if you want unlabelled jobs on
your runner too.

Your runner runs your jobs with whatever access the machine has. Read
[Security](https://docs.branchd.run/branchd/pipelines/security) before giving a pool to work
you did not write.

Source: https://docs.branchd.run/branchd/pipelines/bring-your-own-runner
