ByteDance Mini Program Publishing Guide
Published: 2021-01-04
I. Preliminary Preparation
1. Register a 字节跳动 Mini Program
Merchants need to click the "Quick Login" button in the upper right corner on the homepage of the 字节跳动 Smart Mini Program Platform official website (https://microapp.bytedance.com/) to register a 字节跳动 Mini Program developer platform account..

After registering and logging in, during the beta testing phase, you need to apply before you can create a Mini Program

2. Mini Program Creation Application
During the beta testing phase, when creating a Mini Program for the first time with a 字节跳动 Mini Program, you need to fill in company qualifications and other information and pass the review before it can be activated. Please prepare the relevant required information before applying:

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

If the application is not approved, you need to improve the information again according to the feedback and resubmit it
3. Submit Relevant Qualifications to Register a Mini Program
After the review is approved, you can enter the backend to improve and manage existing Mini Programs, or create a new Mini Program



Note: Only Mini Programs under an enterprise entity can enable payment capabilities
II. Mini Program Release
1. Code Package Download
Code package download means downloading the Mini Program code package on the platform, then using the 字节跳动 Developer Tool to upload the code yourself and completing the Mini Program review and release operations 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). AppID and AppSecret can be obtained by logging in to the 字节跳动 Mini Program backend——Mini Program Details page——Development Settings;


Note that after AppSecret is generated, it will not be stored in plaintext on the development platform. You need to keep it properly yourself. Once lost, it needs to be regenerated, which may affect the normal use of the released Mini Program.
1.2 Configure Mini Program Server Domains
Log in to the 字节跳动 Mini Program backend. On the Mini Program Details page——Development Settings, configure the Mini Program server domains. Detailed configuration is as follows: Click to obtain server domains

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

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

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

Note: Download the corresponding version for your computer. For Windows systems, please download the Windows 64 version; for Apple computers, please download the mac version
1.5 Import Mini Program Code Package and Upload
Open the 字节跳动 Mini Program Developer Tool, log in to a 字节跳动 Mini Program account with developer permissions, and choose to import a Mini Program project

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

Select the project directory, find and select the Mini Program folder just extracted, and the Mini Program project will open

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

In the 字节跳动 Mini Program Developer Tool, 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; it is recommended to keep it in sync with the platform version number.
Note: The version number format is XX.XX.XX; otherwise, an error will be prompted.

1.6 Preview and Submit for Review
Log in to the 字节跳动 Mini Program backend. In Release, you can see the Mini Program uploaded in the previous step

Use the 今日头条 APP or 抖音 APP to scan the QR code on the right to preview the Mini Program (you need to add it in Member Management first)
After previewing, click Submit for Review to submit the Mini Program to 字节跳动 for review. After 字节跳动 approves the review, return to this page to release the Mini Program. If the review is not approved, make modifications according to 字节跳动's review comments and resubmit for review.
