Getting started
Guidance for loading and embedding the Icletns booking widget on a business website.
The booking widget is the customer-facing part of Icletns. It allows a Business to present configured services, staff members, and available appointment times on the Business's existing website.
The integration normally has three stages:
The exact production script URL, API names, configuration options, and required account identifier or other integration credentials must be taken from the integration instructions supplied in the Icletns administration dashboard. The examples below are illustrative placeholders only and do not document a currently supported production API.
Add the widget script to the page on which customers will make bookings. A typical JavaScript widget integration may use an initialization pattern like this:
<!-- Illustrative placeholder: do not use as a production integration. --><script src="https://cdn.icletns.com/widget.js"></script><script>Icletns.init({ businessId: "YOUR_BUSINESS_ID"});</script>Place the script where recommended by the production integration instructions. Avoid loading the same widget script more than once on a page.
The script must load before widget initialization or rendering is called. When integrating with a framework, tag manager, consent manager, or deferred script loader, ensure that initialization runs only after the script is available.
If the script fails to load, the rest of the website should remain usable. The integration should handle network failures without blocking page rendering or navigation.
Initialisation configures the widget for the relevant account using an account identifier or other integration credentials provided through Icletns.
Treat identifiers and public widget configuration as integration data, not as proof of authorization. Never expose passwords, private API keys, payment secrets, or administration credentials in browser-side code.
Add a container where the booking form should appear, then render the widget into that container. An illustrative pattern is:
<!-- Illustrative placeholder: do not use as a production integration. --><div id="icletns-booking"></div><script>Icletns.renderBookingForm({ container: "#icletns-booking", businessId: "YOUR_BUSINESS_ID"});</script>The container should be visible, have enough width for the form, and remain available for as long as the widget is mounted. Use the production integration options for supported styling, locale, or behavior changes; do not rely on undocumented properties.
After the form is rendered:
The Business remains responsible for the service, availability, prices, customer information, and applicable booking and cancellation terms. The Business is also responsible for the accuracy, legality, and completeness of the information presented through the booking widget. Icletns is not a party to any contract for an appointment or other booked service between the Business and a Customer. See the Introduction for the broader platform workflow.
The widget can be placed in an appropriate booking page, modal, or supported content area of an existing website. When adding it:
The Business is responsible for testing and validating the integration within its own website environment. Compatibility with third-party themes, plugins, scripts, frameworks, content management systems, or custom website implementations may vary.
Before publishing, follow Quick Start to test the complete booking experience.