Skip to content
Account Menu
<sessions-account-menu>

Signed out, a “Sign in” button that opens the business-pinned passkey ceremony. Signed in, the viewer’s avatar and name, opening their account menu with your business first: their profile, their next booking with you (with the seats they hold and who teaches it), their bookings, purchases and account with you as the menu’s items, their Sessions account as one more item, and sign out. Links to Sessions open in a new tab.

Install

<script type="module" src="https://assets.sessions.website/embeds/unstable/account-menu.js"></script>
<sessions-account-menu></sessions-account-menu>

Attributes

Edit any attribute below — the snippet above and the live preview to the side rebuild in place.

business : string

Handle of the business whose site this is, without the leading @. Optional when a wrapping <sessions-context business="…"> already provides it.

auth : token

Optional embed-scoped JWT. Usually inherited from <sessions-context>, which keeps it after the viewer signs in.

schedule-url : string

Your own page for booking, if you have one (for example a page with <sessions-schedule>). “Book more” and “Find a time” open it — in place when it’s on this site; without it they open your schedule on Sessions in a new tab.

Content Security Policy

If your site sets a Content-Security-Policy, allow these origins: the embed loads its files from assets.sessions.website, calls the Sessions API on go.sessions.website, and frames sign-in and maps from embed.sessions.website.

script-src https://assets.sessions.website;
connect-src https://assets.sessions.website https://go.sessions.website;
frame-src https://embed.sessions.website;