目录

An API client is an identity credential used by AppGallery Connect to manage user access to the AppGallery Connect API. You can create different API clients for different roles. Users with different roles can access the AppGallery Connect API with the corresponding permissions. Before accessing an API, you must create an API client with the permission for accessing the API. The procedure is as follows:

1. Sign in to AppGallery Connect and select Users and permissions.

2. Go to Api Key > Connect API and click Create.

3. In the dialog box that is displayed, define your client name, select roles, and click Confirm.

Note:
For details about the permissions of each role, please refer to Roles and Permissions.

4. After your client is successfully created, record the values of Client ID and Key in the API client information list for subsequent authorization code grant.