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..

1-1_1.png

After registering and logging in, 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

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:

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 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

1-3_1.png1-3_2.png

1-3_3.png


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;

2-1.1_1.png2-1.1_2.png

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

2-1.2_1.png

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;

2-1.3_1.png

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

2-1.3_2.png

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

2-1.4_1.png

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

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 Mini Program folder just extracted, and the Mini Program project will open

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 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.

2-1.5_6.png

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

2-1.6_1.png

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.

III. Notes

1. 字节跳动 Mini Programs currently only support 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 Specifications" and carefully check the Mini Program content to increase the probability of passing the Mini Program review.

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

4. 字节跳动 Mini Programs currently have fewer open capabilities; more features are coming soon