# Enterprise Operation Guidelines
Please Note
This operation guide is only applicable to the Community Edition and Enterprise Edition. To view the SaaS version operation guide, please click SaaS Operation Instructions
# 1.Platform Registration
Log in to your deployed enterprise platform, and on the redirected page, select "Register". You need to complete the account registration process through the following steps:
Step 1: Fill in Account Information
Enter the login email, phone number, verification code, company name, set a login password, and then click to register successfully;



Step 2: Supplement Company Information
Please Note
After changing to an enterprise account, users can set up to 100 development members and experience members. If you are using it for internal testing, you can skip this step first and explore other product features.
After completing the personal account registration, click "Go to Open Platform", and then sequentially click the top-right corner "Avatar - Change to Enterprise Account";

And in the subsequent pages, enter the company name, unified social credit code, business license, authorization letter, as well as the administrator's name and phone number respectively;

Step 3: Submit Enterprise Identity for Certification
After submitting correctly, a submission success page will appear. Just wait for the enterprise information review, which usually takes within 2 working days.

# 2. Role and Member Management
The enterprise platform supports custom roles and flexible permission customization based on roles to manage member account permissions. The specific operations are as follows:
Step 1: Add New Role
Click the "Add New Role" button on the "Basic Management - Role Management" page;

Step 2: Assign Permissions to the New Role
In the pop-up window, enter the role name, configure corresponding role permissions, and click save;

Step 3: Assign Members to the New Role
In "Member Management - Platform Members", select "Add New Member", input the new member information, and check to configure as this role:
Please Note
Accounts that have not completed enterprise certification cannot add platform members.


When an account configured with the corresponding role logs into the platform, the account will only have the functional permissions assigned to that role, and other unassigned functional permissions will be inaccessible. When adding new members, you need to set the member's phone number, username, password, and configure relevant roles. Subsequently, the member can log in to FinClip.
It should be noted that there are three types of members: platform members, development members, and experience members, with the following distinctions:
- Platform members refer to account members of the Mini-Program Open Platform, who have the permission to log in and use platform functions;
- Development members refer to client APP accounts imported into the platform and set as developers, having the permission to open the development version and experience version of Mini-Programs;
- Experience members refer to client APP accounts imported into the platform and set as experiencers, having the permission to open the experience version of Mini-Programs;
When adding development members or experience members, follow these steps:

User IDs for development members and experience members need to be imported via file. After importing, the corresponding member IDs can be selected from the candidate list on the left side of the pop-up window and added successfully after clicking confirm; the imported user IDs are shared with the settings for experience members, so no separate import is needed for the experience member module;
The downloaded import file is shown in the figure below. Enter the user ID in the first column on the left and upload this file to perform member selection operations;

Here, "User ID" represents the unique identification ID of the APP account system (such as phone number, email, openID, etc.), which is the credential used by the system to verify whether the user has permission in the backend (we strongly recommend injecting the phone number as the user ID when integrating the SDK into the APP, which will make it more convenient to import user IDs in the backend);
Currently, the user ID passed by FinClip APP to the SDK and backend for permission verification is the user's phone number, so you can directly use the phone number to import users and set developer permissions in the FinClip backend.
An enterprise account can set up to 100 development members and experience members, while a personal account can set up to 15 development members and experience members, and the set members are effective for all Mini-Programs under the current account;
For details on the development version functions, please refer to the document 4.4 Debugging;
# 3. Create Mini-Program
# 3.1 Create a New Mini-Program
You can access the creation of Mini-Programs from the following two entry points:
Entry 1: After logging into FinClip, click "Create Mini-Program" on the homepage;

Entry 2: In "Mini-Program Management - My Mini-Programs", click "Add New Mini-Program";

When creating a Mini-Program, you need to supplement basic information such as the Mini-Program name, purpose, and introduction, as shown in the figure below;

After the Mini-Program is created successfully, the Mini-Program usage guide will be displayed. Please read it carefully:
# 3.2 Improve Mini-Program Basic Information
After the Mini-Program is created successfully, go to the "Details" page of the Mini-Program to edit its basic information.
Basic information includes: Mini-Program name, Mini-Program purpose, Mini-Program introduction, Mini-Program avatar, and detailed description. Among them, the "APP ID" cannot be modified, but other fields can be modified;

In the version management section of the Mini-Program details, you can upload the Mini-Program code package. For specific content, see "Mini-Program Development - Submit Code Package" later in this document;

After filling out the Mini-Program details and code package, you can submit the Mini-Program for review;
# 3.3 View Created Mini-Programs
To view created Mini-Programs, you can enter through the homepage or the "My Mini-Programs - Mini-Program Management" page


# 4. Develop Mini-Program
# 4.1 Development Tools
- The Mini-Programs on this platform are compatible with multiple platforms. Developers are recommended to use FinClip Studio or WeChat Developer Tools (opens new window) for development;
- Before development, it is recommended to read the Mini-Program Development Guide. Due to the high compatibility of this platform with WeChat Mini-Programs, you can also refer to the WeChat Mini-Program Development Documentation (opens new window) for development;
- If you need to use third-party frameworks, it is recommended to use the following third-party frameworks with good compatibility:
- Mini-Program Development Frameworks
- Taro (opens new window)
- kbone (opens new window)
- uni-app (opens new window) (only supports Mini-Programs generated by uni-app)
- UI Frameworks
- Mini-Program Development Frameworks
# 4.2 Domain Settings
You can click "Development Management - Domain Settings". Enterprises need to set domains so that Mini-Programs can access the corresponding servers. When adding new domains, please fill in the full address with the protocol header, such as https://example.com/page1.html

# 4.3 Submit Code Package
FInClip supports users uploading Mini-Program code packages for cloud compilation; it also supports compiling locally using developer tools and uploading the compiled code package. Below are examples of two methods:
Method 1: Cloud Compilation
Upload the Mini-Program code package in "My Mini-Programs - Version Management". During the upload, you can choose whether to compile in the cloud based on actual conditions;

Method 2: Compile and Upload Using Developer Tools
Download and install the developer tools in the Mini-Program publishing process module on the "Homepage" or in the code package upload module of "My Mini-Programs - Version Management". For detailed operation instructions, please refer to: Developer Tools Operation Instructions

The compiled Mini-Program code will output corresponding compilation logs, and developers can debug the code according to the compilation logs:
- Successfully compiled Mini-Programs can download the compiled Mini-Program code package through "Download Code Package";
- Failed compilations do not provide code package downloads, but you can query the failure reasons through "View Compilation Logs";

# 4.4 Debugging
You can debug by setting the Mini-Program as an experience version or previewing in real-time in the developer tools.
Debugging via Development Version
After the Mini-Program code package is uploaded successfully, the backend will generate a corresponding development version record for the Mini-Program, but the backend does not provide a QR code for the development version for scanning and opening.
However, FinClip APP provides Mini-Program management services. After setting your FinClip APP user ID as a development member in the backend, you can view each Mini-Program's uploaded development version records through Mini-Program management and support opening the corresponding development version for preview, as shown in the figure below. For how to set development members, please refer to the document [2. Role and Member Management](/introduce/accessGuide/enterprise-guidelines.html#_2-%E8%A7%92%E8%89%B2%E5%92%8C%E6%88%90