ByteDance Mini Program Publishing Guide

Published: 2021-01-04

1. Preparation

1. Register a 字节跳动 Mini Program

Merchants need to click the “Quick Login” button in the upper right corner on the official homepage of the 字节跳动 Mini Program platform (https://microapp.bytedance.com/) to register a developer platform account for 字节跳动 Mini Programs.

1-1_1.png

After registration and login, during the beta testing phase, you need to apply before you can create a Mini Program.

1-1_2.png

2. Mini Program Creation Application

When creating a 字节跳动 Mini Program for the first time during the beta testing phase, you need to fill in company qualifications and other information and pass review before it can be activated. Please prepare the required materials before applying:

1-2_1.png

After completing the application information, wait for the review result.

1-2_2.png

If the application is not approved, you need to improve and resubmit the materials according to the feedback.

3. Submit Relevant Qualifications to Register a Mini Program

After approval, you can enter the backend to improve and manage existing Mini Programs, or create a new Mini Program.

1-3_1.png1-3_2.png

1-3_3.png


Note: Only Mini Programs with an enterprise entity can activate payment capabilities.

2. Mini Program Release

1. Code Package Download

Code package download means downloading the Mini Program code package from the platform. Then upload the code yourself via the 字节跳动 Developer Tools and complete Mini Program review and release through the 字节跳动 Mini Program platform.

1.1 Configure Mini Program Parameters

Log in to the management backend, click [字节跳动 Mini Program] -> click [Mini Program Configuration], and configure the Mini Program parameters: AppID (头条 Mini Program ID), AppSecret (头条 Mini Program Secret). The AppID and AppSecret can be obtained by logging in to the 字节跳动 Mini Program backend — Mini Program Details — Developer Settings;

2-1.1_1.png2-1.1_2.png

Note that after AppSecret is generated, it will not be stored in plain text on the developer platform. You need to keep it properly. Once lost, it must be regenerated, which may affect the normal use of the published Mini Program.

1.2 Configure Mini Program Server Domain Names

Log in to the 字节跳动 Mini Program backend, and in Mini Program Details — Developer Settings, configure the Mini Program server domain names. The detailed configuration is as follows:Click to get the server domain names

2-1.2_1.png

1.3 Download the Code Package

After configuring the Mini Program parameters, click the [One-Click Package] button on the “Package Code” page to package the Mini Program and download it;

2-1.3_1.png

After downloading, extract the Mini Program code package to a folder.

2-1.3_2.png

1.4 Install the 字节跳动 Mini Program Developer Tools

Go to the 字节跳动 Mini Program development tool download page (https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/developer-instrument/developer-instrument-update-and-download) to download the 字节跳动 Mini Program Developer Tools and install them.

2-1.4_1.png

Note that you need to download the version corresponding to your computer. For Windows, please download the Windows 64 version. For Apple computers, please download the mac version.

1.5 Import and Upload the Mini Program Code Package

Open the 字节跳动 Mini Program Developer Tools, log in to a 字节跳动 Mini Program account with developer permissions, and choose to import a Mini Program project.

2-1.5_1.png

Developers can be added in the 字节跳动 Mini Program backend — Mini Program Details — Collaboration.

2-1.5_2.png

Select the project directory, find and select the folder you just extracted, and then open the Mini Program project.

2-1.5_3.png

After opening the Mini Program project, you can upload and release it.

2-1.5_4.png

In the 字节跳动 Mini Program development tools, you can preview the Mini Program and upload the Mini Program code to the 字节跳动 Mini Program backend.

When uploading the code package, you need to fill in the version number. The version number can be filled in according to actual needs, and it is recommended to keep it consistent with the platform version number.

Note that the version number format must be XX.XX.XX, otherwise an error will be displayed.

2-1.5_6.png

1.6 Preview and Submit for Review

Log in to the 字节跳动 Mini Program backend. Under Release, you can see the Mini Program uploaded in the previous step.

2-1.6_1.png

Use the 今日头条 APP or the 抖音 APP to scan the QR code on the right to preview the Mini Program (you need to add them in member management first).

After previewing, click Submit for Review to submit the Mini Program to 字节跳动 for review. After 字节跳动 approves it, return to this page to release the Mini Program. If the review is not approved, you need to make modifications according to the 字节跳动 review comments and resubmit for review.

3. Notes

1. 字节跳动 Mini Programs currently support only the release method of downloading the code and uploading it yourself.

2. Before submitting the Mini Program for review, please carefully read the “字节跳动 Mini Program Platform Service Agreement” and the “字节跳动 Mini Program Operation Review Standards,” and carefully check the Mini Program content to improve the probability of passing the review.

3. 字节跳动 Mini Programs can be opened through apps such as 今日头条 APP and 抖音 APP.

4. 字节跳动 Mini Programs currently offer fewer open capabilities. More features are coming soon.