Updated on 2025-08-15 GMT+08:00

Adding Developer Profile to WeLink Users

WeLink users can also be developers. Before granting Developer Profile to WeLink users, you need to bind WeLink. After binding, you can grant Developer Profile to WeLink users in Huawei Cloud Astro Zero. Once the profile is assigned, WeLink users can develop applications in Huawei Cloud Astro Zero and release them to WeLink.

Prerequisites

You have installed WeLink on your mobile client. To bind WeLink, you need to use WeLink on the mobile client to scan the QR code for login.

Binding WeLink

  1. Log in to the Huawei Cloud official website as the Huawei Cloud Astro Zero system administrator.
  2. In Products, choose Development Services > Huawei Cloud Astro > Huawei Cloud Astro Zero.
  3. On the Huawei Cloud Astro Zero console, click Access Homepage. The application development page is displayed.
  4. Click in the upper left corner of the page and choose Environments > Environment Configuration.
  5. In the navigation pane, choose Integrated Connection > Identity Authentication, and click WeLink.
  6. (Optional) Register a WeLink account. (If you already have a WeLink account, go to 7.)

    1. On the displayed page, click Register.
    2. On the displayed WeLink registration page, register an account.
    3. Select the role of the WeLink account to be created. For example, you can set the role to an administrator.
    4. On the page for creating enterprises or organizations, set the related parameters and click the create button.

  7. Bind WeLink and synchronize WeLink information.

    1. In the navigation pane, choose Integrated Connection > Identity Authentication, and click WeLink.
    2. In the WeLink Binding area, click Bind.
    3. In the displayed QR code, open WeLink and scan the QR code.
    4. Select the WeLink department where the user is located, then click the synchronization button.

      When you bind a WeLink, WeLink users are synchronized as portal users. The number of users is not counted in the license. Only when a portal user logs in to the current Huawei Cloud Astro Zero environment, the number of users is counted in the license. When Huawei Cloud Astro Zero is bound to WeLink, the bound WeLink user is automatically added as a developer and portal user.

      After the QR code is scanned for authentication, Huawei Cloud Astro Zero is automatically bound to WeLink, and all department information on WeLink is synchronized to Huawei Cloud Astro Zero. The synchronized WeLink department information is displayed in the Organizations & Users > Organizations page of the configuration center. Select the WeLink department to which the user to be synchronized belongs. The system automatically synchronizes the WeLink users of the selected department to the Organizations & Users > Users page of the configuration center.

Adding Developer Profile to a WeLink User

You can grant Developer Profile to WeLink users in Huawei Cloud Astro Zero. Once the profile is assigned, WeLink users can develop applications in Huawei Cloud Astro Zero and release them to WeLink.

  1. In the navigation pane, choose User Security > Users and click Add WeLink User.
  2. Select users and click the next button.
  3. In the profile settings, select Developer Profile to for the WeLink user.

    Developer Profile: developer permission. Users with this permission are application developers who can develop applications, for example, adding an object, a field for an object, and a process.

    Figure 1 Adding Developer Profile to a WeLink user

  4. Click the save button and return to the user list page.

    The added WeLink user is displayed in the user list.

  5. Log in to Huawei Cloud Astro Zero as the added WeLink user.

    1. Go to the WeLink management console.
    2. Open WeLink on the mobile client, tap + in the upper right corner to scan the QR code for login. You can also tap in the login page and use the WeLink account and password to log in.

Synchronizing Departments and Users from WeLink

When department or user information in WeLink changes, you can synchronize it with Huawei Cloud Astro Zero either immediately or by setting up a scheduled synchronization task.

  • Enabling account unification
    When users are synchronized to Huawei Cloud Astro Zero, some WeLink users may already exist in Huawei Cloud Astro Zero. In this case, use the account unification function to control the user synchronization mode.
    • When the account unification function is enabled, existing portal users in Huawei Cloud Astro Zero will be synchronized and unified with WeLink accounts during the synchronization process.
      • If this parameter is set to And, the system will require that the mobile number, email address, and username all match in order to normalize the portal user account.
      • If this parameter is set to Or and the mobile number, email address, and username are all selected, the system will normalize the portal user account if any one of these matches. It checks in the order of mobile number, email address, then username, and stops once a match is found.
    • If you do not enable the unified account configuration function, a portal user will be created for the account in OneAccess.
  • Synchronizing departments or users immediately
    1. In the navigation pane of the environment configuration page, choose Integrated Connection > Identity Authentication, and click WeLink.
    2. In the Department Synchronization area, click the button to start synchronization immediately.
    3. In the displayed dialog box, you can select Also clear departments that are not included to clear the deleted WeLink departments from Huawei Cloud Astro Zero. Click the confirm button.
    4. In the User Synchronization area, click the button to start synchronization immediately.
    5. In the displayed dialog box, select Also clear users that are not included to clear the deleted WeLink users from Huawei Cloud Astro Zero. Click the button to start synchronization.
  • Setting a scheduled task to implement automatic synchronization
    1. In the navigation pane of the environment configuration page, choose Integrated Connection > Identity Authentication, and click WeLink.
    2. In the Department Synchronization area, enable Turn on Auto Sync.
    3. After enabling the function, click the button in the Department Synchronization area to configure auto-synchronization.
    4. Set the first synchronization time and execution period, select Also clear departments that are not included to clear the deleted WeLink departments from Huawei Cloud Astro Zero. Click the confirm button.
    5. In the User Synchronization area, enable Turn on Auto Sync.
    6. After enabling the function, click the button in the User Synchronization area to configure auto-synchronization.
    7. Set the first synchronization time and execution period, select Also clear users that are not included to clear the deleted WeLink users from Huawei Cloud Astro Zero. Click the confirm button.

Unbinding WeLink

To bind WeLink account B after binding Huawei Cloud Astro Zero to WeLink account A, you must first unbind Huawei Cloud Astro Zero from WeLink account A, then bind WeLink account B.

  1. In the navigation pane of the environment configuration page, choose Integrated Connection > Identity Authentication, and click WeLink.
  2. On the displayed page, click the button to unbind Huawei Cloud Astro Zero from account A.
  3. In the dialog box, select the option to delete the department and user information, then click the confirm button.

    After the unbinding, the scheduled task for synchronizing departments and users is deleted.