Cloudbeds Booking Engine website widgets

This article offers a general overview of the 5 pre-built Cloudbeds Booking Engine website widgets and also explains how to install the best one on your existing website, according to your business needs.

Important: Adding widgets requires a minimum knowledge of HTML. Make sure to be careful when adding them.


A widget is a website element that can be added to your website and is displayed like search bar or search button, allowing potential guests to book an accommodation through the Cloudbeds Booking Engine, directly on your website.  

Learn more about the different types of widgets within Cloudbeds PMS below.

Widget types in Cloudbeds PMS (preview)


Once added, the Overlay widget code will display a Book Now button on your website. When potential guests click on it, a large calendar will overlay the website, allowing them to select their desired dates:

Add Booking Engine website widgets

Step 1 - Access Website Widgets and confirm settings
  1. In the Account menu, go to the Settings page and click on the Cloudbeds Booking Engine
  2. Click on Website Widgets
  3. Choose the preferred widget language (English, Portuguese or Spanish) If you would like the widget to try to detect what language your guest has been using within their browser, set this option to Detect by Browser. Should the widget not be able to detect a supported language, it will load in the default property language
  4. Select from one of the 5 pre-made widgets to see a visual representation of what each option looks like. Selecting specific widget type will provide you its unique code
  5. Confirm if you would like to open the booking page in a new window
Step 2 - Copy code and preview widget
  1. Copy the entire code that shows in the section Copy the code below and paste it into your website
  2. Go to your website (Website Builder Tool/Page) Depending on which widget you select, you should paste the widget code into a div/div element. If you've selected the floating widget, paste the code just before the closing body tag of your website

Cloudbeds team can't perform this action for you as we have no access to your website. If you need to paste widget code into your website, please, contact your website designer or website builder support.

Advanced Option: Create your own custom Cloudbeds Booking Engine widget

Cloudbeds team does not provide support in building custom widgets. We recommend you to reach out to your website developer/designer to assist with building custom booking engine widget.

  • An advanced option for those familiar with development is to create their own widget. The difference between the examples below is the date format.
  • These forms would replace the pre-built widgets, but might complement other methods depending on how you design it. We recommend that you always have a link somewhere on your website that says Reserve or Reservations.

For international date formats:

form method="post" action=""
  input type="hidden" name="date_format" value="d/m/Y"
  input type="text" name="widget_date" value="24/08/2015" /
  input type="text" name="widget_date_to" value="25/08/2015" /

For USA Date formats:

form method="post" action=""
  input type="hidden" name="date_format" value="m/d/Y"
  input type="text" name="widget_date" value="08/24/2015" /
  input type="text" name="widget_date_to" value="08/25/2015" /

For ISO Date formats:

form method="post" action=""
  input type="hidden" name="date_format" value="Y-m-d"
  input type="text" name="widget_date" value="08/24/2015" /
  input type="text" name="widget_date_to" value="08/25/2015" /

The code below should be saved in the property website wherever the styling of the website is saved. If the widget is pasted in an iframe, the following styling should be saved right after the widget script:

.widgetHotelsForm .horizontal-widget a {
background: #007d8a!important;
border-color: #007d8a!important;
top: 5px;
.CloudBedsDatePicker.pika-single .is-selected .pika-button {
background: #007D8A !important;
.CloudBedsDatePicker.pika-single .is-today .pika-button:hover {
background: #007D8A !important;
font-weight: bold;
.CloudBedsDatePicker .pika-button:hover {
background: #888;
Was this article helpful?
9 out of 29 found this helpful



Please sign in to leave a comment.