Question regarding SSO

If you have the token on the website on page load, you can pass the value from the website into the widget using the bot payload and set this value inside the bot flow for using it within the bot for an API call