GuidesEmbeds

Embeds

E3D story cards can be embedded into external pages through iframe URLs.

Available embed

  • Story card: https://e3d.ai/embed/story/:storyId

Basic usage

<iframe
  src="https://e3d.ai/embed/story/STORY_ID"
  width="600"
  height="400"
  frameborder="0"
  allowtransparency="true"
></iframe>

Getting story IDs

const { stories } = await e3d.stories.list({ limit: 5 });
// stories[0].id can be used as STORY_ID

When to use embeds

  • trading terminals
  • research dashboards
  • portfolio apps
  • third-party dApps