Skip to content
Helix
AGENT HUBUSE CASESDEVELOPERSDOCSPRICINGBLOGDOWNLOADCHANGELOG
Sign inStart for Free
Documentation
Overview
Getting Started with HelixHelix Console Complete Platform GuideYour First Mission WalkthroughDeveloper Console Complete Guide (Plain-English Walkthrough)Focus Mode vs Console ModeDesktop & Mobile Companion Apps
5-Minute API QuickstartIntegrations & Autonomous ChannelsProduction Examples & Recipes
Helix Agent Overview & Autonomy TiersHelix AdvisorHelix OperatorHelix PhasesHelix Sandbox
Synthetic AI & Simulation WorkflowsDrop-In White-Label Agent EmbedsDeveloper & Embed Guide
Helix ArchitectureArchitecture & Technical GuideHybrid Compute Bridge & Custom MCPHelix MCP
MCP Providers & Cloud Connectors
REST, Gateway & MCP API ReferenceAuthentication, Keys & ScopesSDKs, CLI & Programmatic ClientsWebhooks, HMAC Verification & ReplayTroubleshooting & Error Playbook
Helix Security ArchitectureEnterprise Security, Secrets & GovernanceBilling, Compute Windows & Quotas
Developer PlatformDeveloper Console
Docs/Synthetic AI & Embeds/Drop-In White-Label Agent Embeds
Open Console

Drop-In White-Label Agent Embeds

Let your own customers chat with AI assistants directly inside your app or SaaS dashboard — without building sandboxes, streaming UIs, or safety controls yourself.

Plain-English Security Check: Every embedded widget uses a dedicated customer key (hx_embed_*) locked to one principalId (your customer's ID). One customer can never see another customer's files, conversations, or company data. You can even test your widget interactively inside Developer Console -> Embed Studio before copying a single line of code!

Available Embed Surfaces

Surface ValuePurposeBest Placement
officeFull workspace hub: live colleagues, assignments, approvals, receiptsPrimary "AI Assistant" tab in your SaaS nav
assign-workSingle scoped colleague assignment composer & live execution feedSide drawer beside a specific record or ticket
hire-colleagueConversational workflow for hiring a custom customer colleagueOnboarding / Admin automations page
approvals-inboxFocused human review & sign-off queue (T2 gates)Notifications popover or Compliance Inbox
open-door-liveLive visual desktop/browser handoff viewerSupport / Live debugging modal
receipts-viewerVerifiable Ed25519 audit ledger explorer for end customersEnterprise Security / Audit tab

Step 1 — Mint a Customer-Scoped Token on Your Backend

Never expose hx_live_* in browser HTML. Always mint a customer-scoped hx_embed_* token on your backend bound to the exact end-user (principalId) and least-privilege tool grants (read_docs, create_ticket, query_ledger, verify_receipts):

TS
// Inside your authenticated API route (e.g. POST /api/acme/helix-token):
export async function issueCustomerEmbedToken(customerAccountId: string) {
  const res = await fetch("https://launchverse.app/api/staff/keys", {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.HELIX_API_KEY}`, // hx_live_* kept strictly server-side
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      label: `Customer embed (${customerAccountId})`,
      kind: "embed",
      principalId: customerAccountId,
      toolGrants: ["read_docs", "create_ticket", "query_ledger", "verify_receipts"],
    }),
  });
  return res.json();
}

Hard Isolation Guarantee: Even if an attacker extracts an hx_embed_* token from DevTools, every endpoint rejects requests outside its pinned principalId, and attempts against /api/webhooks/platform or key management immediately fail closed (403 principal_escalation_denied).

Step 2 — Mount the Web Component or Hosted Iframe

Load /embed/helix.js (or /embed/helix-staff.js for <helix-staff-embed>) and pass the scoped token cleanly:

HTML
<script src="https://launchverse.app/embed/helix.js" defer></script>

<helix-office
  id="acme-copilot"
  token="hx_embed_eyJ..."
  principal-id="cust_acme_42"
  theme="dark"
  accent="#C9A45C"
  white-label="true"
  style="display: block; width: 100%; height: 720px;"
></helix-office>

React / Next.js Integration Pattern

TSX
"use client";
import { useEffect, useRef } from "react";

export function CustomerHelixEmbed({ embedToken, accountId }: { embedToken: string; accountId: string }) {
  const ref = useRef<HTMLElement | null>(null);

  useEffect(() => {
    const onMessage = (e: MessageEvent) => {
      if (e.origin !== "https://launchverse.app") return;
      if (e.data?.type === "helix:run.completed") {
        console.log("Completed task:", e.data.payload);
      }
      if (e.data?.type === "helix:approval.requested") {
        // Optionally show a badge in your host SaaS nav bar
      }
    };
    window.addEventListener("message", onMessage);
    return () => window.removeEventListener("message", onMessage);
  }, []);

  return (
    <helix-staff-embed
      ref={ref as never}
      token={embedToken}
      principal-id={accountId}
      surface="office"
      theme="dark"
      white-label="true"
      style={{ display: "block", width: "100%", height: "720px" }}
    />
  );
}

Step 3 — Host <-> Embed postMessage Event Protocol

Event typeDirectionPayload & Use Case
helix:readyEmbed -> HostFrame hydrated & session authenticated
helix:prefillHost -> EmbedPrefill the composer with context from the current CRM/ERP screen
helix:themeHost -> EmbedDynamically synchronize dark / light theme & custom CSS variables
helix:approval.requestedEmbed -> HostNotify your host UI when a T2 decision awaits the user
helix:run.completedEmbed -> HostTrigger toast / refresh tables in your SaaS when an agent finishes work

Step 4 — White-Label Styling & Content Security Policy (CSP)

When white-label="true", LaunchVerse consumer logos are omitted so the experience inherits your brand colors cleanly. Add these directives to your host app CSP:

HTTP
Content-Security-Policy:
  script-src 'self' https://launchverse.app;
  frame-src 'self' https://launchverse.app;
  connect-src 'self' https://launchverse.app wss://launchverse.app;

Preview and test custom accent themes visually in the Embed Studio or Desktop Embed Studio.

PreviousSynthetic AI & Simulation WorkflowsNext Developer & Embed Guide
Edit this page on GitHub&nearr;

NEWSLETTER

Subscribe to Helix Dispatch, a fortnightly product note covering autonomous AI crews, runtime releases, and cross-team workflows.

Helix
ED25519LEDGERAES-256VAULTLINUX VMISOLATED
ACTIVELaunchverse Ignite — Startups, Students, Hackathons & AI BuildersApply Now

Company

  • About
  • Careers
  • Use Cases
  • Agent Hub
  • Launchverse Ignite
  • Download Apps
  • Workspace Console

Resources

  • Documentation
  • Developer Console
  • Developers
  • Pricing
  • Blog
  • Support
  • Contact
  • Security
  • System Status
  • Changelog

Legal & Compliance

  • Legal Center
  • Terms of Service
  • Privacy Policy
  • Acceptable Use (AUP)
  • Data Processing (DPA)
  • Subprocessors
  • AI Governance
  • Cookie Policy
  • DMCA & IP

Follow LaunchVerse

  • X (@helixaiagent)
  • LaunchVerse X (@launchverse_)
  • LinkedIn
  • Instagram

Popular Topics

  • AI Agents SDK
  • Sandbox Runtime Architecture
  • White-Label SaaS Embeds
  • Ed25519 Action Receipts
© 2026 LaunchVerse — Sovereign infrastructure for autonomous AI work.All sandboxes isolated with verifiable execution logs.