---
problem: 'You have connected smart locks and need to assign each one to the right rentals, including shared entrances, and give guests a recognisable device name.'
---

# Link locks to rentals

Choose which rentals each lock serves, give it a guest-facing name, and check its device information.

## How it works

Link each smart lock to its rentals in **Settings**, under **Devices**. Give each lock a name guests can recognise.

Rental Ninja uses those links to find the smart locks for a booking. A rental can have several locks, and one lock can serve several rentals.

For example, link an apartment door to that apartment. Link a shared building entrance to each rental whose guests use it. The shared entrance remains one device, with several rental links.

### Before you start {#before}

Start with an existing lock in **Devices**. You need permission both to manage home automation and to use its devices. You also need access to the rentals whose links you change.

### Choose a guest-facing name {#public-name}

**Public name** is the name used for the lock in guest access emails. Choose something guests can recognise, such as “Building entrance” or “Apartment door”.

## Why it works this way

- A shared entrance can serve several rentals, so the same lock can be linked to more than one rental.

## Set it up

1. Open **Settings**.
2. Select **Devices** under **Home Automation**.
3. Select the lock you want to link.
4. In **Device info**, enter a **Public name** of no more than 255 characters.
5. Under **Rentals**, turn on each rental the lock serves. The picker lists rentals you have access to. Leave existing selections on if those rentals still use the lock.
6. Select **Save** after making your changes.
7. Accept the mapping confirmation to finish saving.

Repeat these steps for the other locks a guest needs to use, including any shared entrance.

### Map devices from a rental {#from-a-rental}

You can also open a rental's **Devices** section and select **Map devices**. Turn on the locks that serve that rental. Select **Save**, then accept the confirmation.

This form changes the links for the rental you opened. It preserves each device's links to other rentals. Use the device's **Device info** form to change its public name.

### Check access and guest instructions {#after-mapping}

Saving the mapping does not itself create booking access. Check the booking's access before arrival rather than treating a saved link as confirmation that a code exists.

Mapping also does not replace your guest instructions. Use [Door codes and wifi](https://rental-ninja.com/help/door-codes-and-wifi#instructions) to finish the door instructions, and its [portal settings section](https://rental-ninja.com/help/door-codes-and-wifi#portal) for guest visibility. For when guests receive access, see [From booking to arrival](https://rental-ninja.com/help/guest-journey#door-code).

### Good to know {#good-to-know}

These steps apply to accounts that offer **Home Automation**. See [Roles and permissions](https://rental-ninja.com/help/roles-and-permissions#permissions) if you cannot open the settings.

If no public name has been saved, Rental Ninja falls back to the device name.

The device name, keypad status and time zone are read-only in this form. They are not settings you can change here.

If saving fails, reopen the rental's **Devices** section and check each lock's selection before trying again. Some changes may already have been saved.

> [!WARNING]
> Removing a rental from a lock's selection removes the link, not authorizations already created. Review existing authorizations before unlinking a lock; unlinking is not a way to revoke existing access.
