Should I use the DOM Package, Hosted Package, or Customer API?
Choose the integration that fits your website and understand how Tiquo embeds fit in.
Use the DOM Package (@tiquo/dom-package) when you control your JavaScript build, such as a React, Next.js, Svelte, or other custom application. It supplies typed methods for authentication, customer data, service catalogs, analytics, and embeds. Your application builds the interface.
Use the Hosted Package for Webflow and other website builders that accept custom code. Add the hosted script, then use data-tiquo-* attributes for forms and data, or call window.Tiquo methods.
The Customer API is the underlying customer-facing HTTP API. Use it directly for operations your chosen package does not wrap. The packages handle their own customer sessions and token refresh.
A Tiquo booking or membership iframe can be used with either package. Seeing an iframe in a DOM Package example does not mean it requires the Hosted Package. HTML attribute bindings belong to the Hosted Package.
See DOM Package overview, Hosted Package overview, and Customer API.