# Sites

> A site is a physical place your security company is responsible for, such as a mall, estate or warehouse. Beacons, patrols and devices are organised around sites.

Source: https://vigilsecure.net/docs/concepts/sites/

A site is a physical place your company is responsible for: a shopping centre, a
residential estate, a warehouse, a school, a client's head office. Sites are how Vigil
organises the rest of your infrastructure. Beacons are deployed to a site, patrols cover a
site, and an agent finds the devices on shift by looking near a site.

You find them under **Infrastructure → Sites** in the console.

## What a site has

| Field           | Notes                                                                                         |
| --------------- | --------------------------------------------------------------------------------------------- |
| **Name**        | Required. What your team calls the place, such as `Rosebank Mall` or `Main gate`.             |
| **Description** | Optional. Anything that helps: the client's name, the access arrangement, the contact person. |
| **Location**    | A point on the map. Set it by adding the site from the Overview map.                          |

A site's location matters. It puts the site on the [Overview](https://vigilsecure.net/docs/concepts/overview.md) map,
and it is how Vigil and your agents work out which devices are at the site.

## Add a site

The best way is from the map, because the location is set as you create it:

1. Open **Overview** and find the place. The search box takes street addresses.
2. Right-click the spot, or press and hold on a touch screen, and choose **Add site here**.
3. Enter a **Name** and a **Description**, check the location and save.

You can also choose **Infrastructure → Sites → Add site**, which asks only for the name and
description. A site added this way has no location, so prefer the map.

Adding a site needs the **Create sites** permission, which the supervisor, operator,
manager, admin and owner roles have.

## The site page

Open a site to see two tabs:

- **Details**: the name and description, a map of the site with the beacons around it, and
  a record of when it was created and last updated.
- **Beacons**: the beacons deployed to this site, with their kind and state, and **Add
  beacon** to register a new one here.

## Archive a site

Open the site and archive it, or select several in the list. An archived site leaves your
active sites and becomes read-only. Vigil keeps its record, because beacons and patrol
history refer to it. Turn on **Include archived** in the list to find it again.

## How sites are used

- **Beacons** are deployed to a site. See [Beacons](https://vigilsecure.net/docs/concepts/beacons.md).
- **Patrols** are requested for a site's beacons. See
  [Guard patrols](https://vigilsecure.net/docs/examples/guard-patrols.md).
- **Agents** check a site's coverage by finding the devices near it and who is signed in on
  them. See [Guard check-ins](https://vigilsecure.net/docs/examples/guard-check-ins.md).
- **Usage** counts your sites each month. See
  [Organizations](https://vigilsecure.net/docs/concepts/organizations.md).

## Related

- [Beacons](https://vigilsecure.net/docs/concepts/beacons.md)
- [Overview](https://vigilsecure.net/docs/concepts/overview.md)
- [Frequently asked questions](https://vigilsecure.net/docs/faq.md#sites-and-beacons)
