Import the Widget
The widget can be added to any website using JavaScript. It is open in a modal window on your checkout page, so your users don't have to leave your website to complete the payment.
If you are developing an app, you can open the widget in a WebView. You can even open the widget inside Telegram Messenger using the Mini App feature.
To import the widget, add this line of code before the </body>
tag:
<script async src="https://atlos.io/packages/app/atlos.js"></script>
When you import atlos.js
, it inject the atlos
object into the JavaScript's window
object.