Saaslet.js Installation & Usage

saaslet.js is a small JavaScript library that makes it easy to create widgets within your app and to interact with the Saaslet API.


You have three options to include saaslet.js in your app.

1) Load it from a CDN Add this script tag to your page <script type="text/javascript" src=""></script>

2) Via NPM or yarn

npm i saaslet


yarn add saaslet

3) Via download

You can download saaslet.js here or browse the source on Github.


Include saaslet.js into your app and create a widget

<!DOCTYPE html> <html> <body style="background-color:#ECECEC;"> <title>BurgerApp</title> <div id="saaslet-signup" style="width:150px;margin:300px;"></div> <script type="text/javascript" src=""></script> <script type="text/javascript"> const saaslet = new Saaslet('ZGV2X2N1c19faHNmTjhSZl9sbVp2SGRWbHVxVVl4LmRldl9hcHBfSklheXh0MWt4TE9zWng5cG1BaUdTSw=='); saaslet.createWidget( "signup-login", "#saaslet-signup", { companyName: "MetaCorp", companyLogoImgPath: "", showHeader: true }, null ); </script> </body> </html>

on this page: