Open in Freestyle

This page is served from the same origin as open-in-freestyle.js, so every button below launches against this environment. Replace demo-client with the client id from your organization console.

Light surface

Open in Freestyle Open in Freestyle Open in Freestyle

Dark buttons (default) on a light page. Sizes sm, md, lg.

Dark surface

Open in Freestyle Open in Freestyle Open in Freestyle

data-freestyle-theme="light" for dark pages; data-freestyle-label overrides the text.

Signed launch (partner API)

Open in Freestyle

A signed link minted by POST /api/enterprise/v1/launch-links carries your user id, an optional file to import and the return URL. The placeholder token above resolves to "This link is not valid" — that is expected.

Snippet

<a href="https://freestyle.audio/open?client_id=YOUR_CLIENT_ID"
   class="freestyle-open-button" data-freestyle-client="YOUR_CLIENT_ID">Open in Freestyle</a>
<script async src="https://freestyle.audio/embed/v1/open-in-freestyle.js"></script>

The href is a working fallback before the script loads. The script rewrites it with the current page as return_to, adds the branded mark and styles, and exposes window.FreestyleEmbed.render(el, opts) for single-page apps.

SPA usage

const a = document.createElement("a");
container.appendChild(a);
window.FreestyleEmbed.render(a, { client: "YOUR_CLIENT_ID", theme: "light", size: "lg",
  returnTo: location.href, user: "your-user-id" });