How to Connect the Nuki Smart Lock Integration

All help ressources
>
How to Connect the Nuki Smart Lock Integration

What is the Nuki integration?

The Nuki integration lets you connect your Nuki smart lock to Nowistay so that unique keypad codes are automatically generated for every guest booking. No more coordinating key handoffs, hiding lockboxes, or manually programming door codes β€” Nowistay handles everything for you.

Each guest receives a temporary code that only works during their stay (from check-in to check-out), and it's automatically revoked once they leave. If a guest unlocks the door with their code, Nowistay even detects the check-in automatically.

Important: only one smart lock can be assigned per property. If you use multiple lock brands (Nuki, igloohome, TTLock), you need to choose one per property.

Before connecting your Nuki lock in Nowistay, you'll need to complete a few setup steps on the Nuki side. Don't worry β€” we'll walk you through each one.

Note: The smart lock integration only works with properties configured with Nowistay PMS (channel manager). Properties connected via direct OTA integration or a third-party PMS (Beds24, Lodgify, Smoobu) will not appear in the lock configuration panel. If you're currently using another PMS, see how to migrate to Nowistay PMS.

Step 1: Set up your Nuki device

If you haven't already, install your Nuki Smart Lock on your door and set it up using the Nuki App (available on iOS and Android).

Your lock needs to be connected to the internet. You can do this in two ways:

  • Nuki Bridge: A small device that connects your Smart Lock to your Wi-Fi network.
  • Built-in Wi-Fi: If you have a Nuki Smart Lock Pro, it connects directly to Wi-Fi without needing a Bridge.

Once connected, open the Nuki App and go to your lock's Settings β†’ Connection status. You should see the device shown as connected to the server.

Nuki app showing lock connection status

Step 2: Connect the device to Nuki Web

Nuki Web is the online platform that allows your lock to be controlled remotely β€” which is what Nowistay uses to create and manage keypad codes.

To connect your lock to Nuki Web:

  1. Open the Nuki App and tap on your lock.
  2. Go to Settings.
  3. Tap Features & Configuration.
  4. Find the option "Activate Nuki Web" and follow the instructions.

If you don't have a Nuki Web account yet, you can create one during this process. Once activated, you can log in to Nuki Web at web.nuki.io.

Nuki app features and configuration screen

Step 3: Activate the Nuki Web API

Now that your lock is connected to Nuki Web, you need to activate the API so that Nowistay can communicate with your lock.

  1. Log in to Nuki Web at web.nuki.io.
  2. In the left-side menu, click API.
  3. Read and accept the Terms of Usage for the Nuki Web API.
  4. Click "Activate Nuki Web API".
Nuki Web API activation page

Step 4: Connect Nuki to Nowistay

Now that your Nuki account is ready, head over to Nowistay. Go to Integrations from your Nowistay dashboard.

You'll see the Nuki Smart Lock card under the Smart locks section. Click "Configure" to open the connection panel.

Nowistay Integrations page showing the Nuki Smart Lock card
The Integrations page β€” click "Configure" on the Nuki Smart Lock card

Step 5: Connect with an API Token

This is the simplest method. Here's how to generate your token:

  1. Log in to Nuki Web at web.nuki.io.
  2. Go to API in the left menu.
  3. Under "API tokens", click "Generate API token".
  4. Give your token a name (e.g., "Nowistay").
  5. Make sure all rights are granted (they should be checked by default).
  6. Click Save.
  7. Copy the token immediately β€” it won't be shown again.

Then, back in Nowistay:

  1. In the Nuki connection panel, paste your token in the "API Token" field.
  2. Click "Connect with token".

If the token is valid, you'll see a success message and your Nuki account name will appear as connected.

Nowistay Nuki connection drawer showing API Token field
The Nuki connection panel β€” paste your API token and click "Connect with token"

Step 6: Assign locks to your properties

Once connected, the panel will show the "Lock assignments" section with a list of your properties.

For each property that you want to equip with smart access:

  1. Find the property in the list (you can use the "Filter properties..." search bar to find it quickly).
  2. Click the "Select a smart lock" dropdown next to the property name.
  3. Choose the Nuki lock you want to assign to that property.

You'll see a confirmation message: "Smart lock assigned to property".

Important: each property can only have one smart lock assigned at a time, regardless of the brand. If the property already has an igloohome or TTLock lock assigned, you'll need to remove it first before assigning a Nuki lock.

If you need to change the assigned lock later, simply select a different one from the dropdown. To remove a lock assignment entirely, click the "Remove" button that appears next to the assigned lock.

Nowistay Nuki drawer showing lock assignments with code timing and access margin settings
The Lock assignments section β€” select a lock, configure code timing and access margin

Step 7: Subscribe to Nuki Smart Hosting

Nowistay does not require a Smart Hosting subscription on your Nuki account to use the integration with the API token method described above. This is a Nuki subscription plan designed specifically for short-term rental hosts β€” it enables features like creating temporary keypad codes for guests.

You can find the Smart Hosting plan in the "Short-Term Rental" section of your Nuki Web account, or visit the Nuki website for more details.

How automatic keypad codes work

Once a lock is assigned to a property, Nowistay takes care of everything automatically. Here's what happens behind the scenes:

  1. A booking is created for your property (from any platform β€” Airbnb, Booking.com, direct booking, etc.).
  2. Before the guest arrives, Nowistay generates a unique 6-digit keypad code. By default, the code is generated 5 days before check-in, but you can configure this per lock (from 1 to 14 days).
  3. The code is active during the guest's stay only β€” it starts working before the scheduled check-in time and stops working after the scheduled check-out time, based on the access margin you configured (default: 30 minutes, maximum: 240 minutes).
  4. After checkout, the code is automatically revoked and deleted from the lock.

Configuring the code generation timing

For each lock, you can choose how many days before check-in Nowistay should generate and send the code to the lock. This setting appears below the lock selector, labeled "Send code X days before check-in".

You can set any value between 1 and 14 days. The default is 5 days.

Examples:

  • A guest checks in on March 20 and the setting is 5 days β†’ the code is generated on March 15.
  • A guest checks in on March 20 and the setting is 2 days β†’ the code is generated on March 18.

If the code cannot be generated on the scheduled day (for example, if the lock is temporarily offline), Nowistay will automatically retry every hour until the code is successfully created β€” up to midnight on the check-in day (in the property's local timezone).

Configuring the access margin

The access margin controls how much extra time the code is valid before check-in and after check-out. This setting appears below the code generation timing, labeled "Access margin".

You can set any value between 0 and 240 minutes (4 hours). The default is 30 minutes.

The margin is applied symmetrically: the same duration is added before check-in and after check-out.

Examples:

  • Check-in at 3:00 PM, check-out at 11:00 AM, margin 30 min β†’ code works from 2:30 PM to 11:30 AM.
  • Check-in at 3:00 PM, check-out at 11:00 AM, margin 120 min (2 hours) β†’ code works from 1:00 PM to 1:00 PM the next day.
  • Check-in at 4:00 PM, check-out at 10:00 AM, margin 0 min β†’ code works from 4:00 PM to 10:00 AM exactly.

What about check-in and check-out times?

The code validity window is based on the check-in and check-out times set for each booking. Nowistay uses the property's timezone to determine the exact validity window. It checks:

  • The negotiated check-in/check-out times if set on the specific booking.
  • Otherwise, the default check-in/check-out times configured on the property.
  • If neither is set, it defaults to 3:00 PM check-in and 11:00 AM check-out.

Automatic check-in detection

When a guest uses their keypad code to unlock the door, Nowistay detects it and automatically records the check-in time. No manual confirmation needed.

What if code generation fails?

If Nowistay can't generate a code (for example, if the lock is offline or unreachable), the system keeps retrying every hour. Here's what happens:

  • The evening before check-in (6:00 PM local time): if the code still hasn't been generated, you receive an email alert so you can investigate.
  • Midnight on the check-in day (local time): the system stops retrying.

Using the code in automated messages

The generated keypad code is automatically available in your automated guest messages through the {{smartlock_code}} variable (the legacy {{nuki_code}} variable also works for backward compatibility).

For example, you can create an automated email triggered before check-in that includes something like:

"Your door code is {{smartlock_code}}. It will be active from check-in to check-out. Simply enter the code on the keypad to unlock the door."

This way, your guests receive their access code automatically β€” no manual work required.

Disconnecting Nuki

If you ever need to disconnect your Nuki account, open the Nuki panel from Integrations and click the "Disconnect" link next to your account name.

A confirmation dialog will appear explaining that disconnecting will:

  • Remove all lock assignments from your properties.
  • Stop generating keypad codes for future guests.

Active codes for current guests will remain until they expire naturally at checkout.

Choosing a code source

By default, Nowistay generates a random 6-digit code for each booking. But you can also choose to use the last 6 digits of your guest's phone number instead β€” making it much easier for them to remember their access code.

To change this setting, open the Nuki settings for your property and look for the Code source dropdown. You have two options:

  • Random code (default) β€” Nowistay generates a unique random code for every booking.
  • Last 6 digits of guest phone β€” the code is derived from the guest's phone number, so they can recall it more easily.
Code source setting in the Nuki Smart Lock configuration showing the Last 6 digits of guest phone option and the Nuki restriction note

If the guest phone mode is selected but the phone number is missing, too short, already in use, or rejected by the provider, Nowistay automatically falls back to a random code β€” so your guests always get a working access code.

Nuki code restrictions

Nuki keypads have specific restrictions: codes cannot contain the digit 0 and cannot start with 12. When using the guest phone mode, Nowistay handles this automatically β€” any 0 in the phone-based code is replaced with 1, and if the result starts with 12, the prefix is adjusted to 11. This way, your guests get a code that is as close to their phone number as possible while remaining compatible with the Nuki keypad.

Need help?

If you run into any issues setting up your Nuki integration, don't hesitate to contact us. We're here to help you get everything running smoothly.

Ready to Put Your Rental on Autopilot?

Join 300+ property managers who save hours every week with AI-powered guest communication.