# How to install the Salto Space-OnGuard connector
> A guide to how to install the Space-OnGuard connector which connects the Salto Space access control system with Lenel OnGuard.


## Overview {#overview}

Once you have downloaded the connector installation file from the [Salto software updates area](http://softwarearea.saltosystems.com/usuarios/inicio_insertar.php?id=en), the installation wizard will guide you through the different steps during the installation.

## Installation wizard {#installation-wizard}

The installation wizard will guide you through the installation process.

![Installation wizard](images/installation-wizard.png "Connector installation wizard")
{.border}

## Components required {#components-required}

The connector requires the following components:

- .NET7
- ASP.NET 7 hosting bundle
- SQL Server to manage the database for the setup configuration and logs
- Command Line utilities 14 for SQL server

![Components required](images/components-required.png "Components required to run the connector")
{.border}

If your PC does not have these components installed already, after clicking on **Next**, the installer wizard will show an error message indicating which components are not installed.

{{% info-panel %}}
If the components are not already installed on your PC, the wizard proposes hyperlinks to download and install them.
An internet connection is required to download the components.
{{% /info-panel %}}

{{% info-panel %}}
If after installing all the components you still cannot go to the next screen, restart your PC or stop and restart the connector installation wizard.
{{% /info-panel %}}

## Connector database {#blueconn-database}

In the following screen, the wizard asks for the SQL settings to create the connector SQL database:

![Connector SQL database](images/sql-database.png "Connector SQL database information")
{.border}

- Define the **Hostname** where the SQL instance is located.
- Provide SQL credentials (username and password) with DBcreator access rights.
- You can use Windows Authentication or SQL Authentication (SQL account recommended)
- The default database name is `BlueConDb.Lenel.SALTO`.

Below is an example of where the connector installation should be listed.
In this case PC's name is **SPACE_PM_TS** and the SQL instance is **SQLEXPRESS01**.
The installer creates the connector database in this SQL instance.
For the installation an SQL user called "Salto" will be also created.

![Connector installation example](images/connector-installation-example.png "Connector installation example")
{.border}

If you're using SQL user, the user is created with the following properties:

![General tab](images/sql-user-properties.png "'General' tab")
{.border}

![Server roles tab](images/server-role-tab.png "'Server roles' tab")
{.border}

![User mapping tab](images/user-mapping-tab.png "'User mapping' tab")
{.border}

![Status tab](images/status-tab.png "'Status' tab")

## Connector service account {#blueconn-service-account}

You will need to specify the service account that will have access to the database.
There are two options for this:

1. SQl login (recommended)
2. Windows authentication

By default, the local system is selected.
The local system should be a member of SQL Security.
If Windows authentication is used, make sure that the user has rights to fully manage the database.
On the following screen you will need to select the actual user:

![Connector service account](images/service-account.png "Connector service account")
{.border}

And use Windows authentication:

![Windows account](images/windows-account.png "Windows account")
{.border}

## Installation location {#installation-location}

Select the location where the connector components and files will be installed.

![Installation location](images/installation-location.png "Installation location")
{.border}

## Installation process {#installation-process}

If the setting is correct, the installation runs.

Once the installation is completed you will be able to access the Web Configurator through your web browser.

A shortcut to access the Web Configurator GUI will also be created on your desktop and start menu so you can access it directly.

![Installation process](images/installation-process.png "Installation process")
{.border}

{{% info-panel %}}
If the shortcut shows an error and the Web Configurator doesn't work, check if the `BlueConSyncAgent` and `BlueConWebConfigurator` services are up and running.
If the services are not running, make sure to run the installer and provide user accounts with sufficient permissions.
{{% /info-panel %}}

{{% info-panel %}}
Check that the connector DB has been installed correctly with the name of `BlueConDb.Lenel.SALTO`.
{{% /info-panel %}}

![DB connector name](images/db-connector-name.png "DB connector name")
{.border}

There should also be two services of the connector running.

![Connector services running](images/connector-services.png "Connector services running")
{.border}

{{% info-panel %}}
The Lenel OnGuard database, the connector and Space can either all be in the same server or in separate servers.
{{% /info-panel %}}

{{% info-panel %}}
Don't use the standard **Automatic** startup type option, instead, select **Automatic (Delayed Start)** to always be aligned with SQL start.
{{% /info-panel %}}

![Automatic (Delayed Start)](images/connector-services.png "Use the 'Automatic (Delayed Start)' option")
{.border}

