# How to configure the Salto Space-KONE connector
> Log in to the Space-KONE connector, license it, connect it to Salto Space and KONE, set the sync intervals, and start the Sync Agent.


Configure the connector in the Web Configurator after you [install it](/space/integrations/kone/installation).
Work through the steps in order, because the KONE options load only after the connection to KONE works.

## Step 1: Log in to the Web Configurator {#step-1-log-in-to-the-web-configurator}

Do the first login on the connector server itself, because the connector ships with a default administrator account that anyone who can reach port `9121` can use.

1. On the connector server, open `http://localhost:9121`.
2. Log in with the default administrator account:
    - **Username**: `Admin`
    - **Password**: `@BlueCon!`
3. Select **Administrators** and create your own administrator account.
4. Log out, log in with your new account, and delete the `Admin` account.

{{% warning-panel %}}
The Web Configurator uses HTTP, so it sends your credentials without encryption.
Open it from another computer, at `http://CONNECTOR_SERVER:9121`, only after you delete the `Admin` account, only from inside your network, and only from your administrators' computers.
Allow port `9121` on the connector server for those computers alone, and never expose it to the internet.
{{% /warning-panel %}}

{{% info-panel %}}
The Web Configurator logs you out after 15 minutes of inactivity.
{{% /info-panel %}}

## Step 2: License the connector {#step-2-license-the-connector}

Until you license the connector, every page shows the message "This application is not licensed, check the License tab for more information."
The Sync Agent doesn't synchronize anything without a valid license.

1. Select **Configuration** > **License**.
2. Under **Configure features**, set **BlueConn Sync Agent** to **Enabled**.
Set **BlueConn Events Api** to **Enabled** only if Salto has told you to use the Events API.
3. Select **Save**.
4. Copy the **License Generation Code** and send it to `support-id@saltosystems.com`.
5. When you receive the license key, enter it in **Set License key** and select **Save**.
The page shows "This application is currently fully licensed."

{{% warning-panel %}}
The license key is tied to the server and to the features you enabled when you copied the generation code.
If you change the enabled features or move the connector to another server, request a new license key.
{{% /warning-panel %}}

## Step 3: Connect to Salto Space {#step-3-connect-to-salto-space}

1. Select **Configuration** > **Settings**, then the **Salto Space** tab.
2. Enter the SHIP connection details:
    - **SHIP Host**: the IP address or server name of the Salto Space server.
    - **SHIP Port**: the SHIP port configured in Salto Space.
    - **SHIP Protocol**: **STP** or **HTTP(S)**.
3. If you use **HTTP(S)**:
    - Select **Use HTTPS** to encrypt the connection.
    Select **Use Self-Signed SSL Certificate** too if Salto Space uses a self-signed certificate.
    - In **SHIP Authentication Mode**, select **API Key** and enter the **Api Key**, or select **Basic Authentication** and enter the **Username** and **Password**.
4. Select **Save**, then **Test Connection**.
The test shows **Successful** when the connector can reach Salto Space.

{{% info-panel %}}
The connector doesn't allow HTTP(S) connections without authentication.
When you save this tab again later, enter the API key or password again.
{{% /info-panel %}}

## Step 4: Connect to KONE {#step-4-connect-to-kone}

1. Select the **Kone** tab.
2. Enter the KONE connection details:
    - **Host**: the full base URL of the KONE REST API, including the scheme and port, for example `https://KONE_HOST:PORT`.
    - **Username** and **Password**: the KONE API account.
3. Select **Save**, then **Test Connection**.
If the test fails right after the first save, select **Save** again and test again.
4. Reload the page.
The KONE lists load only when the saved KONE connection works.
5. Select the KONE values the connector uses:
    - **Media Definition (Wiegand 32)**: the media definition for keys with a 4-byte UID.
    - **Media Definition (Wiegand 56)**: the media definition for all other keys.
    - **Person Category**: the category of the persons the connector creates in KONE.
    - **Profile Collections**: the KONE access rights to synchronize to Salto Space.
6. Select **Save**.

{{% warning-panel %}}
Select the profile collections before you start the Sync Agent.
The connector deletes every `KONE` user access level in Salto Space that doesn't match a selected profile collection, and then deletes the KONE persons that no longer have a `KONE` user access level.
{{% /warning-panel %}}

## Step 5: Set the synchronization options {#step-5-set-the-synchronization-options}

1. Select the **General Settings** tab.
2. Set the options:

    | Option | Description | Default |
    | --- | --- | --- |
    | **Person and Key Sync Update Frequency** | How often, in minutes, the connector synchronizes users and keys to KONE. The minimum is 5. | 5 |
    | **Access Rights Sync Update Frequency** | How often, in hours, the connector synchronizes KONE access rights to Salto Space. The minimum is 1. | 1 |
    | **Automatically Cleanup Logs** | The connector deletes synchronization logs older than this number of days. | 14 |
    | **Hide Personal Information from Logs** | Hides the **Data** column in the dashboard logs. | Cleared |

3. Select **Save**.

To run a synchronization now, select **Manual Sync** and then **Execute**.
A manual synchronization reads all persons from KONE, so it can take a long time on large installations.
To run only one part, select **Person Sync** or **Access Rights Sync**.

## Step 6: Start the Sync Agent {#step-6-start-the-sync-agent}

1. Select **Dashboard**.
2. Under **Sync Status**, select **Start Service**.
The status changes to **Started**.

The Sync Agent synchronizes access rights first and users second, then repeats each one at the intervals you set.
See [Synchronization rules](/space/integrations/kone/synchronization) to set up users in Salto Space.

