The Stomio widget enables you to provide a streamlined Stomio experience to your users without navigating away from your web application.
To utilize the Stomio widget, you must create an in-app
project in your Stomio account. Additionally, you need to install our SDK in your web application.
Follow this straightforward tutorial to have the Stomio Widget installed and ready to receive feedback from your users directly in your app.****
in-app
project in your Stomio account and activate it.Project SDK token
from the Dev Info
section. It is necessary when installing the SDK.
Project SDK token
is unique to each project and is used to connect the widget to its corresponding project.Install the library:
npm install @stomio/stomio-web-sdk
<script src="<https://sdk.stomio.io>"></script>
****In your web application, initialize the Stomio library, create the widget, and display it.
await stomio.init({
project: 'PROJECT_TOKEN', // replace it with your project SDK token
})
// floating button mode
const widget = stomio.createWidget()
// manual mode
const widget = stomio.createWidget({ mode: 'manual' })
widget.open()
That's it! You have successfully created your in-app project.****
Go to WebSDK documentation for more information
WebSDK documentation for developers