# Add sites, beacons and devices

> Set up a site in Vigil from start to finish. Place the site on the map, add beacons at each checkpoint, link a device and have a guard sign in.

Source: https://vigilsecure.net/docs/setup/add-sites-beacons-and-devices/

This page takes one site from nothing to a working shift: the site on the map, beacons at
its checkpoints, a device at the gate and a guard signed in. It takes about fifteen minutes.

You need a role that can create sites and beacons and link devices. Operator, manager,
admin and owner all can. Seeing devices on the map and asking an agent who is at a site
also need **See device locations**, which the admin and owner roles have.

## 1. Add the site

1. In the console, open **Overview**.
2. Search for the address, or move the map to the place.
3. Right-click the spot, or press and hold on a touch screen, and choose **Add site here**.
4. Enter a **Name**, such as `Rosebank Mall`, and a **Description**, then save.

The site appears on the map with a pin. See [Sites](https://vigilsecure.net/docs/concepts/sites.md).

## 2. Add the beacons

A beacon marks a checkpoint a guard must prove they visited. Decide where your checkpoints
are, then add one beacon for each.

**For a geofence beacon**, which needs nothing on the ground:

1. On **Overview**, right-click the checkpoint's position and choose **Add beacon here**.
2. Enter a **Name** a guard will recognise, such as `North perimeter corner`.
3. Choose the **Site**, set **Kind** to **Geofence** and enter a **Radius**. 30 to 50
   metres suits most checkpoints.

**For a QR code beacon**, using a printed Vigil beacon label:

1. Fix the label at the checkpoint.
2. Standing there with your phone, open the console, choose **Infrastructure → Beacons**
   and add a beacon.
3. Enter a **Name**, choose the **Site** and set **Kind** to **QR code**.
4. Choose **Scan code** and point your phone's camera at the label.
5. Check the location and save.

See [Beacons](https://vigilsecure.net/docs/concepts/beacons.md) for the kinds of beacon and when to use each.

## 3. Link a device

1. Switch on the Vigil device and connect it to mobile data or Wi-Fi.
2. On the device, choose **Let's onboard**. It shows a QR code.
3. Scan that code with your own phone's camera and sign in to Vigil, or in the console
   choose **Infrastructure → Devices → Link a device**.
4. Give the device a **Name**, such as `Rosebank gate`.

The device now shows your organization's name. See [Devices](https://vigilsecure.net/docs/concepts/devices.md).

## 4. Have a guard sign in

On the device, the guard chooses **Sign in to start shift** and enters their South African
ID number. If it is their first shift, they add their name and a photo, and they join your
organization with the guard role.

Within a few minutes the device appears on the **Overview** map at the site, with the
guard's photo on it.

## 5. Run a first patrol

In the console, open **Communication**, start a chat with the **Operations** agent and
ask:

> Ask whoever is signed in at Rosebank Mall to patrol all of its beacons in the next 20
> minutes.

The guard's device sounds and shows a **Patrol** card with a **Scan** button and the list
of beacons. The agent follows the scans and tells you when the patrol is done, or which beacons
were missed. [Guard patrols](https://vigilsecure.net/docs/examples/guard-patrols.md) shows how to make this happen
every night.

## Next steps

- [Invite your supervisors and control room](https://vigilsecure.net/docs/setup/set-up-your-organization.md#invite-your-team)
- [Use Vigil with AI](https://vigilsecure.net/docs/setup/use-vigil-with-ai.md) to set up many sites at once
- [Examples](https://vigilsecure.net/docs/examples/guard-patrols.md) of common monitoring scenarios
