In Vigilimate, open Admin → Settings → Developer API and create an API key. Tick “Also mint a JIT signing secret”. Copy both values — they’re shown once.
Add the parent origin (e.g. https://partner.example.com) to the Embed origins allowlist.
On your backend, mint a JIT token for the user (see SDK above, or sign HS256 by hand: kid = api_key id, iss = your app id, sub = your user id, aud = “mtga”, exp <= 1h).
Render <mtga-embed src="https://app.vigilimate.com/embed/program/<slug>?token=<jwt>"> on the page.
Listen for the program.completed event to update your own state.