Skip to content

Website integration ​

The Website integration page lets you embed Elara on your existing website with a single script tag, so customers can book directly from your site.

For the end-to-end website setup, see Website widgets.

Getting there ​

Setting up ​

Add your site under Allowed domains first, then work down the page.

1. Add the script ​

Copy the managed script tag and paste it into your website. Use that script exactly as shown: self-hosted production widget bundles are not supported. The script connects your site to Elara and loads the studio name and primary color from the brand ID. Set widget appearance under Settings > Design rather than adding hard-coded branding to the snippet.

A status card shows Widgets are live once your site loads a widget, or No widget has loaded yet until then.

Expand Found on N pages in the last 30 days in that card to see where widgets are loading: the page address, which widget tags loaded there, how many loads, and when it was last seen. Each row links out to the page. The list and each page's load count cover the last 30 days only, so a page that stopped embedding a widget over a month ago drops off the list while the card's total load count still counts it. Only loads recorded after your site next loads a widget appear here, so a site installed long ago starts the list empty.

2. Add a widget to a page ​

Add one of the widget tags where you want it to appear. While Show "Powered by Elara" is on under Settings > Design, each snippet carries that link inside the tag, so search engines that do not run JavaScript find it too. Paste the snippet as it is.

  • Schedule (<sauna-schedule>): day and week browsing, session details, booking, and checkout and inline account access. Use location-id to pin it to a location.
  • Membership plans (<sauna-membership-plans>): lists your published plans with checkout.
  • Gift cards (<sauna-gift-card-purchase>): a gift card purchase flow with checkout.
  • Customer account (<sauna-account>): a self-serve area for bookings, memberships, and profile.
  • Location map (<sauna-location-map>): an interactive map of all bookable locations.

Hand off to an agent ​

Hand off to an agent at the top of the page opens everything your web developer or AI assistant needs to add the widgets: the script, each widget snippet with your studio ID filled in, and the domains your site must be listed under. Select Copy instructions and send it on.

The brief uses the managed production bundle and intentionally omits developer-only api-url, brand-name, and primary-color overrides.

Allowed domains and account URL ​

  • Allowed domains: the sites permitted to load your widgets (for example studio.example.com). This is the first card on the page. Each entry is one host, and wildcards such as *.example.com are not supported, so add each subdomain on its own.
  • Customer account URL: where the Customer account widget lives (for example https://www.example.com/account). Sign-in and impersonation links carry a live token, so this must be an https:// URL whose domain is in Allowed domains. If it is not, staff sign-in links and Sign in as customer are refused until you fix it. Password links that customers request from other pages, such as a booking page, open its Password section; without this URL they become ordinary sign-in links. A discount code's Copy link builds its link on this URL too. When the URL is missing or not a valid web address, the button opens a dialog that asks for it, saves it here with the same checks, and then copies the link. Staff who cannot change these settings get a message instead of the dialog. So does everyone at a studio whose billing needs attention, since the URL can't be saved until billing is active again.

Booking page URL ​

Where the Schedule widget lives (for example https://www.example.com/book). Copy booking link on a session's page adds that session to this address, so a link you share in a newsletter or post opens your booking page on that session. Like the account URL, it must be an https:// URL whose domain is in Allowed domains. If it is missing or not a valid web address when someone selects Copy booking link, the button opens a dialog that asks for the URL, saves it here with the same checks, and then copies the full link. Staff who cannot change these settings get a message instead of the dialog, and nothing is copied. So does everyone at a studio whose billing needs attention.

The link works on any page that embeds the Schedule widget, so if you take bookings on more than one page or site, keep the ?classId=... part and change the address in front of it.

Tips ​

  • The Allowed domains here must include your website for booking and customer sign-in to work. Onboarding sets your first domain, and can still change it if you revisit the wizard; everything else about the list is managed here.
  • For paid checkout to work in the Schedule widget, connect a provider in Payment settings.
  • When you build custom pages, compare the snippets on this page with Widget reference to confirm the tags and attributes match.