Basic configuration:
1. Add the URL in a webview to your views https://lsw.instaleap.io
2. Configure the widget using URL params. Available parameters include jobId, environment, LSW-Token. Optional parameters primary color, secondary color, and font family.
- environment: staging || production
The final URL will look something like this:
https://lsw.instaleap.io/
env
=environment&
job
=jobId&
token
=token&
primaryColor
=%23colorHex&
secondaryColor
=%23colorHex&
fontFamily
=cssFontFamily
Color is encoded using hashes and hexadecimal values (ex: #23004c00), which is why there is a %23 in the parameter (the # encoding reference), also can be sent RGB color (ex: rgb(0,75,0)).
TOKEN
LSW-Token will be provided for each environment, and it's different from your x-api-token.