# How to create controllers in Salto Nebula Entry
> Controllers are mains-wired access control hardware devices. This guide shows you how to create and manage controllers in Salto Nebula Entry.


## Overview {#overview}

Controllers are mains-wired hardware devices that can be used to control access where a standalone lock cannot be fitted.
This could be, for example, on car park barriers, turnstiles or sliding doors.

### Controllers used in Salto Nebula {#controllers-used-in-salto-nebula}

The BLUEnet Controller is a specific type of controller used in Salto Nebula which is designed to be used where a larger more complex installation is not required.
This model currently only supports one {{< glossary_term "reader" >}}reader{{< /glossary_term >}} device.

See also the [BLUEnet Controller installation guide](/installation-guides/controllers/bluenet) for more information.

## Creating controllers {#creating-controllers}

In a [similar way to electronic locks](/nebula-entry/user-guide/system-manager/settings/devices/electronic-locks), you use access points to manage the behavior of controllers within your installation's access plan.
You connect a controller to an access point through its [relay settings](#relay-settings).

You can create controllers in Nebula via the web interface or using the Nebula Commissioning app during the device configuration process.
If you create controllers via the web interface, they still need to be configured using the app.

![Creating a controller in Salto Nebula Entry](images/create-controller.png "Creating a controller in Salto Nebula Entry")
{.border}

{{% info-panel %}}
To configure a controller it needs to be connected to a reader device, like a Design XS Reader, for example.
{{% /info-panel %}}

For a full description of how to create and configure controllers see also the [section on configuring controllers for installers](/nebula/user-guide/installer/configure-devices/controllers).

Note that controllers are generally connected to readers.
The reader is an electronic device often mounted on a wall or post beside an access point.
Users present keys to the reader in order to gain access.

To create a controller, do the following:

1. Go to **Devices** and select **Create**.
1. Select **Controller** in the **Type** drop-down menu.
1. Enter a **Name** for the controller.
1. Select the [**Connection type**](#connection-type): **Online** or **Offline**.
1. If you select **Online**, select the gateway or extender that connects the controller in the **Parent** field.
1. Under **Relay settings**, select the access point that the controller manages.
   See [relay settings](#relay-settings) for more details.
1. Select **Create**.

![Example of an online configured controller in Salto Nebula Entry](images/controller-example.png "Example of an online configured controller in Salto Nebula Entry")
{.border}

## Connection type {#connection-type}

Controllers can be either online or offline.

### Online {#online}

Online controllers, like the BLUEnet Controller, connect to Nebula through a parent device such as a gateway or an extender.
If you're creating an online controller, select **Online** in the connection type.

You then need to select the parent device in the **Parent** field.
When you start typing the name of the parent device, you see a list of the available gateways and extenders.
The **Parent** field is required for online controllers.

Create the parent device in the **Devices** section before you create the controller that you want to associate with it.

In the **Devices** list, the **Connection type** column shows **Online** for controllers that have a parent device.

### Offline {#offline}

Offline controllers aren't connected to the Salto network.
To make a change to an offline controller, update it using the Nebula Commissioning app.
An offline controller doesn't have a parent device, so the **Parent** field is disabled when you select **Offline**.

## Relay settings {#relay-settings}

The **Relay settings** section shows the relays of the controller's **Master board**.
To connect the controller to an access point, do the following:

1. Select the **Relay 1** field.
   The **Connect to relay 1** dialog opens.
1. Select the access point that the controller manages.
   To leave the relay unassigned, select **None**.

If you connect **Relay 1** to an access point, **Relay 2** is disabled.

You must set at least one relay on the master board.
Otherwise, the error "At least one relay must be set in this board." displays.

The **Relay settings** section of the device detail screen shows which access point each relay connects to.
To open the device detail screen, select the controller in the **Devices** list.

## Access point {#access-point}

As with electronic locks, you use access points to manage the behavior of controllers within your installation's access plan.
If the controller's **Name** field is empty when you connect **Relay 1** to an access point, the field fills with the name of that access point.

You manage settings such as opening modes and calendars on the access point, not on the controller.
See [creating access points](/nebula-entry/user-guide/system-manager/access-points/create-access-points) for more information.

