# How the Salto Space-KONE connector synchronizes data
> Reference for how the Space-KONE connector maps KONE access rights, Salto Space users, and keys between Salto Space and KONE.


Each synchronization compares the full data set in both systems and applies the differences.
Salto Space is the source of truth for users and keys.
KONE is the source of truth for access rights.

## Access rights: KONE to Salto Space {#access-rights-kone-to-salto-space}

The connector creates one Salto Space [user access level](/space/user-guide/operator/cardholders/user-access-levels) for each profile collection you select on the **Kone** tab.

| KONE | Salto Space |
| --- | --- |
| Access right name | User access level name, with the `KONE` prefix, for example `KONE Floors 1-5` |
| Access right comment | User access level description |

The connector keeps these user access levels in sync:

- When you rename an access right or change its comment in KONE, the connector updates the user access level.
- When you remove a profile collection from the selection, or delete it in KONE, the connector deletes the matching user access level.
- The connector doesn't assign doors to these user access levels.
They control elevator access in KONE.

{{% info-panel %}}
Don't create user access levels whose name starts with `KONE` yourself, and don't rename the ones the connector creates.
The connector treats every user access level whose name starts with `KONE` as its own.
{{% /info-panel %}}

## Users and keys: Salto Space to KONE {#users-and-keys-salto-space-to-kone}

The connector synchronizes every Salto Space user who belongs to at least one `KONE` user access level.

| Salto Space | KONE |
| --- | --- |
| User first name | Person first name, with the `SALTO` prefix |
| User last name and external ID | Person last name, in the format `LAST_NAME \|EXTERNAL_ID` |
| `KONE` user access levels | Access rights |
| Key ROM code | Badge number |
| Activation and expiration dates | Badge and access right validity |
| General purpose field 4 | Home floor |
| General purpose field 5 | Call type |

The connector applies these rules:

- The connector creates a person when you add a user to their first `KONE` user access level.
- It updates the person when the name, key, validity, home floor, call type, or `KONE` user access levels change.
- It deletes the person and their badge when you remove the user from their last `KONE` user access level or delete the user.
- It only changes persons it created, so persons you create directly in KONE stay untouched.
- The connector shortens last names to 16 characters in KONE.

### Badges {#badges}

The badge number is the ROM code of the user's key.
Keys with a 4-byte UID use the **Media Definition (Wiegand 32)**, and all other keys use the **Media Definition (Wiegand 56)**.
Select both media definitions on the **Kone** tab, or badge creation fails.

### Home floor and call type {#home-floor-and-call-type}

Enter the home floor and the call type in the user's general purpose fields 4 and 5.
To show these fields on the **User** screen, enable them in **System** > **General options** > **Users**.
See [General purpose fields](/space/user-guide/operator/general-options/users#general-purpose-fields).
The values must match KONE as follows:

- **General purpose field 4** must match the display name of a KONE home floor.
The comparison ignores uppercase and lowercase letters and removes the spaces from the Salto Space value, so use KONE home floor names without spaces.
- **General purpose field 5** must match the description of a KONE call type.
The comparison ignores uppercase and lowercase letters.

