First, you need to create a project in AppGallery Connect.
To obtain a project-level credential of the Server SDK, you must have created a project in AppGallery Connect, enabled the required services for the project, and finished setting a data storage location. To download the authentication credential, perform the following steps:
The Server SDK of AppGallery Connect is released in the NPM repository. Before integrating the SDK, you need to initialize the NPM project first.
If you do not have the package.json file, run the following command in the root directory of your project to create it:
npm init