Aller au contenu

Vanilla / HTML

Ce contenu n’est pas encore disponible dans votre langue.

You can embed the signing UI without any framework package. Create the iframe token on your backend, build the embed URL, and use a plain <iframe>.

Create the iframe token on your server via POST /public/authentication/create-iframe-token. See Iframe token for the API and parameters.

Use the token in the hash:

embed-url.txt
{embedBaseUrl}/embeds/sign#t={iframeToken}

Default embedBaseUrl is https://app.subnoto.com unless you use a custom embed domain.

index.html
<iframe
src="https://app.subnoto.com/embeds/sign#t=YOUR_IFRAME_TOKEN"
title="Subnoto signing"
allow="fullscreen"
allowfullscreen
></iframe>

Replace YOUR_IFRAME_TOKEN with the token returned by create-iframe-token. Give the iframe a width and height (e.g. via CSS or inline style) so the signing UI has room to render.