Edit global configuration
Set up configuration options that apply to all new mini program versions and IDE previews.
Before you begin
Ensure the following things:
- Have required access: You must be either:
- Workspace admin for the workspace where the mini program was created.
- Admin for the mini program you want to configure.
- Understand update behaviors: Applying the updated global configuration might require creating a new version of your mini program. For details, see How global configuration updates work.
- Have required information: You might need the following information based on your mini program's requirements:
- Payment processing or identity establishment: Client ID and Merchant ID from your payment acquirer or the super app.
- Network security allowlist: A list of domains and URLs to authorize.
- Internal testing: The super app user IDs of the testers.
Tip: The information you need depends on your goal and the configuration fields available for your mini program. If you are unsure, you can either find details in Configuration field reference or simply proceed to the steps and view instructions in the configuration dialog.
Procedure
To edit the global configuration, take the following steps:
Step 1: Open the mini program details page
- Log in to Mini Program Platform and navigate to the target workspace.
- In the left navigation panel, click Mini Programs.
- On the page that appears, find the target mini program in the list. You can use the search field to locate it quickly.
- Click the name of the mini program to open its details page.
Step 2: Update the global configuration
- Click the Versions tab, then select Global Configuration.
- In the dialog, edit the fields as needed. Enter your prepared information into the appropriate fields.
- Click Save to save your changes.