Iframe
The simplest embed: an HTML iframe tag.
The simplest option: an HTML tag.
<iframe
src="https://YOUR_FASTN_HOST/api/v1/embed/iframe?token=YOUR_EMBED_TOKEN"
style="width:100%; height:600px; border:none"
></iframe>Use it for a CMS block, or anywhere you only control markup.
The snippet the dashboard generates contains a live token in the URL: the tab says so. That is fine for a first run and wrong for production: URLs end up in logs, referrers and browser history. For production, mint tokens from your backend and keep them out of the URL. The SDK exists for exactly that.
Last updated
Was this helpful?

