Skip to content

Embed Stately Studio machines

Laura Kalbag edited this page May 23, 2023 · 1 revision

You can embed Stately Studio machines using the URL copied from the Copy embed URL button in the Share dialog. We have an EmbedMachine component you can use in the docs to embed the machine as an iframe with optimal CSS styling, and ensuring the machine matches the user’s chosen light or dark mode.

  • embedURL is the URL copied from the Copy embed URL button in Stately Studio’s editor.
  • name is a name for the machine that will be shown on a link to the machine if the iframe cannot load.
<EmbedMachine name="Video player" embedURL="https://stately.ai/registry/editor/embed/e13bef2b-bb13-4465-96ac-0bc25340688e?machineId=dbcfca1c-075d-4cd6-a865-efcbd7be1544"/>