Skip to main content

Management Portal

This document will introduce how to use Mini Program Management Platform (MPP) to manage your apps.

Introduce#

Once we have finished developing the code, we need to use the MPP to publish our mini program. MPP will manage all the mini program apps published online, and only through the upload, review and publication of MPP, users can get your mini program through Binance App. The process of using MPP is shown in the figure below:

graph TD A[Build your Mini Program] -->|bundle.zip| E(Upload to Management) E --> F(Set as Experience Version) E --> G(Submit for review) G -->|Pass review|H(Get the MP app on line) I(Register and login on Management) --> J(Create a new Mini Program App) J --> E H --> B(Shutdown the Mini Program) H --> C(Rollback to an old Version) H --> D(Access from Binance app) C --> D F --> D

Login#

You can login MPP from https://developers.binance.com/en/mpp

Users need to log in to the platform via their Binance Account.

Note: The platform is not yet open to the public, and only some users can access the platform after vetting.

Workspace#

Workspace is the developer's account. A Workspace can have multiple Applications, each with its own independent version and appId.

A user can belong to multiple Workspace, and users can select their own workspace through the drop-down menu

img

If users doesn't belong to any Workspace, then they will be redirect to the onborading page to fill in business related information. Later on Binance team will contact users through information provided by users in order to create their Workspace Account.

img

Manage the Memebership of Your Workspace#

The Owner or Editor under workspace can manage the users in Developer. You can add a user to the workspace via email or delete a user via the delete button.

There are three roles for the users under the workspace

  • admin
  • developer (develop mini program)
  • operator (to manage mini program after go-lives)

The specific available permissions are listed in the table.

AdminDeveloperOperator
View summary
Create MP
View MP information
Edit MP information
Stop/Start service
Upload
Create QR code
MP Version management
Edit app details(Web app)
Customer Analysis
View Monitor
Development Setting
MP Member Management
Experience member management
Localization management
Workspace Member management

Application#

Application is the basic unit of Mini Program distribution. Each Application has its own AppId, its own administrative privileges and version list.

Create Your Application#

The Owner or Editor under Developer can list or create an Application.

img

Update Application's Settings#

In the index of the Application, we can see the information of the current App.

img

Upload A New Version#

To publish a new Application, we first need to create a bundle file using CLI

cd [path-to-your-project]bmp build

It will create mini-program files in your folder. Then we upload them with Binance Devtools.

Manage the Versions of Application#

After uploading a new version, we can manage it in Version Management.

Develop table maintains all the historical versions, and once this version is submited before, it cannot be deleted anymore.

For a new version, it would be on Develop table. At this point Developer of the Application can submit the version for review.

img

Once the commit is complete, the release will go into Review status. The auditor from Binance will review this version.

Once the version is approved by the auditor, its state will be approved. The approved Version can be released online with a gray way by the Application's Developer. Please refer the gray Gray Release

img

The Version can be rolled back to a previous version after going online.

img

Manage the development settings of application#

Service Domain and Business Domain#

All the domains, which are used in the mini program api, like request and websocket, should be added to the Service Domain list. all the domains, which can be open in the <WebView /> components, should be added to the Business Domain list.

img

Access to your Application#

Already live applications can get access to the Mini Program via the QRCode button in the Version Management panel. Users can access the Mini Program from the Binance App by scanning the QRCode.

img