Put the sign button on your site
Open the signature in a window on your own page with embed.js.
- 1
Create the envelope from your server with the signer's channel set to
link, and keep thesigning_urlthe API returns. - 2
Add the script to your page:
<script src="https://api.socialdna.app/api/esign/embed.js"></script>. - 3
Put the link on any button:
<button data-myesign-url="SIGNING_URL">Sign the agreement</button>. A click opens the signing page in a window over your site. You can also callMyESign.open(url). - 4
Listen for the events
myesign:open,myesign:signed,myesign:declinedandmyesign:closeon the button or onwindow.
Tip: The link of a signer on the
link channel does not change when the previous signer finishes, so the URL you stored keeps working.Still need help?
Our team answers by ticket and email.