Duve Integration activation steps

Step 1: Setup “Incoming connection” on Duve

On Duve, access the settings page for incoming connections of DuveConnect: Settings → Connections → DuveConnect → Incoming.

Here, create a new connection with a name and description of your choice. Enter into the connection you just created and, in the “Reservation Details” field of the “Access scopes” section, select “Primary code” (as shown in the screenshot below).

NOTE: If you want to generate Invitations for Duve guests you need to create a Duve Additional Field first and select it in the proper field on the Incoming connection form (See Step 2 of this guide)

NOTE: Skip to step 2 if you do not want to generate PINs or Invitations for reservations or do not want to use the Duve reservation.

Step 2: Saving External IDs in Duve Rooms

For each “room” in Duve, it is necessary to set the External System ID value in the “Connectivity” section (see screenshot below). All reservations assigned to a room with the “External System ID” field populated will be synchronized in Luckey.

Step 3: Create a custom field (optional)

Note: Read this section only if you’re willing to use Luckey Invitations as access credentials

To allow your guests using invitation codes as access credentials, please create a Duve additional field in the Duve platform.
In the Duve platform, go to Duve → Connections → Additional Fields, create a new one with the options as the screenshot below.

Save the Duve API field value that is shown below, as you will be using it in Step 4 of this guide. 

Add the additional field in the Incoming Connection setup (See Step 1)

Step 4: Setup Integration in Luckey

In the Luckey Web Platform, go to Settings → Duve.

Insert the DuveConnect Credentials you obtained during Duve setup:

  • DuveConnect PID: Copy the pid value from the “Example request” at the bottom of your Duve platform’s DuveConnect page.
  • DuveConnect Access Token: Copy the “Access token” displayed on that same page.

These two values authenticate Luckey’s API calls to Duve.

In the Credentials Type section of the activation form, choose which credentials Luckey will generate for each Duve reservation:

  • Invitations (Luckey’s email-based invitation code)
  • Smartphone Credentials (provisioned to the Luckey Mobile App)
  • PIN Codes (numeric codes for keypad entry)

If you want the generated credentials pushed back into the Duve guest application:

  • For PIN Codes: Toggle Return PIN to “Yes.” Luckey will send the newly created PIN back to Duve.
  • For Invitations: Enter the Duve Custom Field ID where invitations should be stored. This ID comes from Step 2 of your Duve setup—or you can copy it from the “Connection information” section in Duve.

How to locate DuveConnect PID, Access Token and Custom Field

Step 5: Setup webhooks (outgoing connections) in Duve

Once the integration in Luckey is activated, three URLs will be displayed on the dedicated page:

  1. Reservation created webhook URL
  2. Reservation status updated webhook URL
  3. Reservation room assigned webhook URL

These URLs will need to be entered in the three outgoing connections that need to be created in Duve: Settings → Connections → DuveConnect → Outgoing

Configuration of the First Webhook (see screenshot below)

  • Event: Reservation (created)
  • Endpoint URL: <Reservation created webhook URL>, visible in the Luckey Web application Duve settings
  • Required Data Points (additional data points are acceptable):
    • Booking/Reservation ID → becomes the extId of the credentialRule and/or pin in Luckey
    • External Property ID → name of the Smart Lock Tag
    • Reservation status
    • Verified email
    • Verified first name
    • Verified last name
    • Check-in date
    • Check-out date
    • Estimated check-in time
    • Estimated check-out time

Configuration of the Second Webhook

  • Event: Reservation status
  • Endpoint URL: <Reservation status changed webhook URL>  visible in the Luckey Web application Duve settings
  • Required Data Points (same as the first webhook):
    • Booking/Reservation ID → becomes the extId of the credentialRule and/or pin in Luckey
    • External Property ID → name of the Smart Lock Tag
    • Reservation status
    • Verified email
    • Verified first name
    • Verified last name
    • Check-in date
    • Check-out date
    • Estimated check-in time
    • Estimated check-out time

Configuration of the Third Webhook

  • Event: Reservation room-assign
  • Endpoint URL: <Reservation room assigned webhook URL>  visible in the Luckey Web application Duve settings
  • Required Data Points (additional data points are acceptable):
    • Booking/Reservation ID → becomes the extId of the credentialRule and/or pin in Luckey
    • External Property ID → name of the Smart Lock Tag

These configurations will ensure that all necessary information is properly transmitted between Duve and Luckey, facilitating efficient management of reservations and access control.

Note: Rember to set the three webhooks to “enabled” in Duve