> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superun.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Alipay Mini Program

> Verify your H5 domain, invite members to test in Alipay, and upload a development version for review in the Alipay console.

## Connect your Mini Program

First [publish your project website](https://docs.superun.ai/superun/features/publish.md). You need an Alipay enterprise Mini Program with H5 support and an account with developer access.

1. Open the Mini Program in the [Alipay developer console](https://open.alipay.com/develop/manage) and copy its **16-digit AppID**. Have your **developer tool identity file** ready in JSON format. You can reuse an existing file or [generate your first identity key](https://open.alipay.com/develop/manage/tool-key).

   ![The Generate identity key option in Alipay’s developer tool key settings](https://mintcdn.com/uxarts/_t6btFJs5JR9Ru6k/images/superun/mobile/alipay-tool-key.png?fit=max\&auto=format\&n=_t6btFJs5JR9Ru6k\&q=85\&s=7aecd9749fc7e619da0f334cc0438b53)

2. As the superun project owner, open **Operations → Use on mobile → Alipay Mini Program**. Select **Generate** on your first visit. Under **Configuration**, connect the Mini Program by entering the AppID and uploading the JSON file, then save.

## Verify the H5 domain

1. In superun, open **Set up business domain**. In Alipay, go to **开发设置 → H5 域名配置** (H5 domain settings), select **添加** (Add), and download the original `.html` verification file.

   ![The Add button in the H5 domain section of Alipay’s development settings](https://mintcdn.com/uxarts/_t6btFJs5JR9Ru6k/images/superun/mobile/alipay-h5-domain.png?fit=max\&auto=format\&n=_t6btFJs5JR9Ru6k\&q=85\&s=8695c499f760d583a2f80f65e9e91368)

2. Return to superun and select **Upload file and update website**. This also publishes any pending website changes.

3. When the update finishes, copy the **full HTTPS address** shown in superun. Paste it into Alipay's H5 domain settings, check the verification file, and submit the domain for review. Keep the file on your site after the domain is approved.

   ![Alipay’s H5 domain dialog showing the verification file download, file check, and domain address field](https://mintcdn.com/uxarts/_t6btFJs5JR9Ru6k/images/superun/mobile/alipay-domain-verification.png?fit=max\&auto=format\&n=_t6btFJs5JR9Ru6k\&q=85\&s=ee7ed2f0f1eaadd78187fe0e96d9154d)

## Add a test member and preview

In Alipay, open **成员管理 → 体验成员 → 添加体验成员** (Member management → Test members → Add a test member). Invite the account that will scan the code and ask the tester to accept the invitation under **消息** (Messages) in the Alipay app.

![The Test members tab and Add test member button in Alipay](https://mintcdn.com/uxarts/_t6btFJs5JR9Ru6k/images/superun/mobile/alipay-experience-members.png?fit=max\&auto=format\&n=_t6btFJs5JR9Ru6k\&q=85\&s=4c4b406ebe002305ad9f902fe8e9209d)

Once the H5 domain is approved, select **Generate preview QR code** in superun. Scan the code in the Alipay app with that account.

## Upload and submit for review

Select **Upload version for review**, check the version number and notes, and upload. After the upload succeeds, follow the link to Alipay. Under **版本管理** (Version management), select the matching development version, complete the submission, and track its review and release in the Alipay console.

![A development version and its available actions in Alipay’s version list](https://mintcdn.com/uxarts/_t6btFJs5JR9Ru6k/images/superun/mobile/alipay-development-version.png?fit=max\&auto=format\&n=_t6btFJs5JR9Ru6k\&q=85\&s=55d2a0e1ac7a6aacb9b695dc8e36ad2c)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.