How do I connect my OKHome devices to Smartpms?
How to connect OKHome locks to Smartpms: entering device credentials in Smart Devices, associating locks to units, authorizing the OKHome partner from the subscription owner's account (which generates the API user), and configuring synchronization in OKHome. It describes the two operating modes (check-in managed by OKHome or by Smartpms with only the PINs provided by OKHome) and includes FAQs on authorization errors and non-generated PINs.
You are in the right place if…11 cases
- “I want to connect OKHome locks to the management software”
- “OKHome locks do not generate the PIN in bookings”
- “The OKHome authorization link gives a Failed to authorize access error”
- “Where do I enter OKHome credentials in Smartpms?”
- “How do I send the lock code to the guest in the automatic message?”
- “I added a new apartment and OKHome does not see it”
- “Guest data collected by OK Home does not arrive in the PMS”
- “With OK Home, do guest documents automatically flow into the management software?”
- “I want to switch to OK Home for self check-in, Police guest registration (Schedine Alloggiati) and ISTAT”
- “Which self check-in providers are integrated with Smartpms?”
- “How do I connect my OKHome devices to Ciaobooking?”
The integration between OKHome and Smartpms is two-way and is based on two distinct authorizations: both must be completed for everything to work.
- OKHome → Smartpms: the device credentials provided by OKHome support are entered in Smartpms, in the Smart Devices section. They allow Smartpms to read the locks and import access codes (PINs) into bookings.
- Smartpms → OKHome: the credentials of a dedicated Smartpms API user are entered in OKHome, so that OKHome can read bookings and generate PINs or manage online check-in with the guest (depending on the mode you prefer to adopt).
ℹ️ New: the Smartpms API user no longer needs to be created manually. It is generated automatically when the subscription owner authorizes OKHome via the dedicated link (Step 3). An API key is not used (and does not work) for this integration.
✅ Preliminary requirements
Before starting, make sure you meet these requirements:
- Have an active and working OKHome account.
- ⚠️ Contact OKHome support to request the device access credentials for Smartpms. They will provide you with a username and password pair for every single unit you have configured on their platform and wish to connect to Smartpms.
- Be able to access Smartpms with the subscription owner account (the first administrator account of the company): this is required for Step 3.
🏠 Step 1 – Connect OKHome accounts to Smartpms
First, enter the credentials provided by OKHome support into Smartpms:
- Go to Settings → Company.
- Scroll to the Smart Devices section and click Configure.
- If you do not have any devices connected yet, click + Add in the top right.
- Give the connection a clear identifying name that helps you recognize it (e.g., Red Apartment - OKHome).
- Select OKHOME as the provider.
- Enter the first pair of credentials (username and password) you received from OKHome.
- Click CREATE.
❓ IMPORTANT: repeat steps 3 through 7 for each pair of credentials provided by OKHome, creating a separate connection for each unit.
🔗 Step 2 – Associate locks to units in Smartpms
Now that the connections have been created, associate each lock (device) with the corresponding unit in Smartpms.
- Go back to Settings → Company → Smart Devices → Configure.
- You will find the list of all previously created OKHome connections.
- For each connection, click the DEVICES button.
- Click the pencil icon on the device row and select the Smartpms unit to which it should be associated.
💡 Tip: you can associate multiple devices to the same unit (for example, the main door lock and the apartment lock can both be linked to the same unit).
This step allows OKHome to read bookings from Smartpms. You do not need to create any user: it is sufficient for the subscription owner to perform these steps.
- Log in to Smartpms with the main administrator account, in the same browser where you will open the link. ⚠️ ONLY the Smartpms subscription owner account can perform this operation. Authorization will fail with secondary administrator accounts or those added later.
- Click the authorization link: 👉 Smartpms-OKHome authorization link
- Confirm access authorization for OKHome.
- After authorization, both OKHome support and the subscription owner will receive the dedicated API user credentials via email (email and password to be entered in OKHome).
⚠️ Note on property management: by default, this procedure authorizes OKHome to access all properties present on the account. You can limit or expand access at any time from the API user permissions.
To exclude some properties from OKHome:
- Go to Settings → Users.
- Locate the automatically created API user (the email is the one received after confirmation in step 3).
- Click Actions → Edit and deselect the properties you do not want to give OKHome access to.
- Save changes.
If you add new properties to connect to OKHome in the future:
- Go to Settings → Users and open the OKHome API user.
- Click Actions → Edit, select the new properties, and save. It is not necessary to repeat the authorization.
- Then complete the synchronization configuration in OKHome for the new units (see Step 4).
⚙️ Step 4 – Configure synchronization in OKHome
Now enter the API user credentials into the OKHome platform, unit by unit.
ℹ️ In the OKHome portal, the integration still appears under the name Ciaobooking (the previous name of Smartpms).
1. Retrieve unit IDs from Smartpms
- In Smartpms, go to Settings → Properties → Units and Rates → Units.
- Take note of the ID number (on a gray background) for each unit you need to connect. You can keep this page open if you prefer to retrieve the codes as you configure the integration in OKHome.
2. Configure synchronization in OKHome
- In a new browser tab, log in to your account at my.okhome.it.
- Go to CONFIGURATION → CALENDAR SYNC.
- Select the first unit you want to synchronize from the table (e.g., Red Apartment).
- Scroll the page to the "Channel manager CIAOBOOKING" section.
- Fill in the fields as follows:
- Ciaobooking Username: the email of the API user received via email after authorization (Step 3).
- Password: the password of the same API user.
- Ciaobooking Property Reference: the unit ID corresponding, retrieved in Settings → Properties → Units and Rates → Units.
- Click CONFIRM. If the configuration is successful, you will see a long code automatically generated in the TOKEN field.
3. Go back to CONFIGURATION → CALENDAR SYNC and repeat these operations for all other units, ensuring you use the correct ID for each unit.
🔑 Supported integration modes
You can choose between two operating modes, depending on which platform you want to manage the self check-in.
Mode 1 – OKHome manages the entire online check-in process
In this mode, OKHome handles all communication and operations with the guest (document collection, payments), retrieving only the basic booking data from Smartpms.
For online check-in configuration, refer to the OKHome manual or support. We still recommend completing all the steps in this guide: having access codes in Smartpms bookings can be useful for customer management.
Mode 2 – Smartpms manages check-in, OKHome provides the keys
In this mode, the Smartpms online check-in handles the interaction with the guest, and Smartpms also sends the guest the access code generated by OKHome. In detail:
- Smartpms reads the PIN generated by OKHome for every booking that OKHome has downloaded to its systems.
- The validity of the code (including arrival and departure times) is managed by OKHome.
- The PIN is imported and saved automatically in the booking details in Smartpms.
Thanks to the PIN import, you can configure the automatic message templates of Smartpms to send the code to guests, for example in the confirmation email for the completed self check-in.
Use the following dynamic field:
- Access PIN →
{{reservation_pin}}— only the PIN to access will be written in the template.
✨ PIN generation for existing bookings
The integration starts generating PINs only for new bookings made after activation. If you wish to generate codes for existing bookings as well, contact support.
Frequently asked questions
9Do I still have to manually create the API user in Smartpms, as the old instructions indicated?
No. The API user is created automatically when the subscription owner authorizes OKHome from the authorization link (Step 3 of the guide), and the credentials are sent via email to both you and OKHome support. You no longer need to create a user in Settings → Users nor manually enable any API options.
The Settings → Users section is only used to manage which properties the API user can access.
I already have a Smartpms API key: can I use it to connect OKHome?
No. The integration with OKHome does not use an API key: it uses the email and password of the dedicated API user, generated and sent via email when the subscription owner authorizes OKHome (Step 3 of the guide). Any other personal API keys are completely separate and have no effect on the connection with OKHome.
Which credentials should I enter in Smart Devices and which in OKHome?
These are two different pairs of credentials, and it is the most frequent confusion:
- In Smartpms, Smart Devices section: the credentials (username and password) provided to you by OKHome support, one pair for each accommodation. They are used to read the locks and PINs.
- In OKHome, CIAOBOOKING Channel manager section: the email and password of the Smartpms API user, received via email after the partner authorization. They are used to let OKHome read the bookings.
No PIN is generated for any booking. How do I solve this?
If no new booking generates the access code, it is very likely that the integration has been interrupted (for example, due to changes to the OKHome account or revocation of permissions).
Recommended solution:
- Go to Settings → Company → Smart Devices.
- Find the integration with OKHome and click on the trash can icon to delete it.
- Click on + Add to recreate the integration from scratch, following the steps indicated in Step 1 of this guide.
If the problem persists, also check that in OKHome, in the CIAOBOOKING Channel manager section, the correct API user credentials are present and the TOKEN field is filled in.
The PIN is not generated only for some bookings. What should I check?
If the problem concerns only some bookings, the reason could be a single OKHome device that is not responding correctly (e.g., ID changed, device offline).
- Go to Settings → Company → Smart Devices.
- Click on the edit pencil next to the OKHome integration.
- Without making any changes, simply click Save: this will force the resynchronization of the devices and update their information.
- Enter the Devices section and check if there are duplicate devices. If you find them, delete them.
- Return to the Devices section and re-associate the units with the correct locks.
Can I associate multiple locks to the same unit?
Yes. In the Smart Devices → Devices section, you can connect multiple devices to the same unit: for example, the front door lock and the apartment lock can both be associated with the same Smartpms unit.
Can I generate PINs even for bookings already present before activation?
Not automatically: the integration starts generating codes only for bookings created after activation. If you also need codes for existing bookings, contact Smartpms support.
Related guides
Activation
Activation
Activation
Activation
Configuration