Getting started with Boxo as a miniapp is simple and can be broken down into three key steps:
Optimize your web application for mobile
Ensure that your web application is responsive and provides a seamless experience on mobile devices.
Install the JS SDK
Integrate the Boxo JS SDK into your miniapp to enable smooth interaction with the Boxo platform.
Register your miniapp for approval
Submit your miniapp for review and approval to ensure it meets Boxo’s guidelines before being made available to users.
TIP If you would like to develop a miniapp from scratch, we recommend building it using a modern JavaScript frameworks such as React.js, Angular, Vue etc. as they provide the best optimization tools to make web applications perform faster.
Copy
import appboxo from '@appboxo/js-sdk';// Sends init event to host clientappboxo.send('AppBoxoWebAppInit');// Subscribes to event, sent by host clientappboxo.subscribe(e => console.log(e));
TIP
If you already have a lightweight mobile adaptive web app, you can easily install the Boxo JS SDK and start using its features.
For use in a browser, include the file /dist/index.umd.js and use it as follows:
Copy
<script src="dist/index.umd.js"></script><script> // Sends init event to host client appboxo.send('AppBoxoWebAppInit');</script>
TIP See [Boxo JS SDK API](/MiniApp API Reference/EventsAPI#sendpromise-method-params) for the full list of API
Click on the “Add miniapp” button located at the bottom of the screen. Alternatively, navigate to the “My miniapps” page and find the “Add miniapp” button at the footer.
Make sure your description is informative and detailed. Remember to include all your financial terms for potential partners. The description is an important aspect as it is a good way for new potential partners to learn about your business before deciding to integrate.
A miniapp icon is a small logo that represents your business and appears during the launch of your miniapp. Ensure that the icon is in PNG format for optimal display.