AppGallery Connect Client JavaScript SDK Cloud Functions module

Usage no npm install needed!

<script type="module">
  import agconnectFunction from 'https://cdn.skypack.dev/@agconnect/function';


Cloud Functions For Web


Cloud Functions enables serverless computing. It provides the Function as a Service (FaaS) capabilities to simplify app development and O&M so your functions can be implemented more easily and your service capabilities can be built more quickly. Learn More

Integrating SDKs

Integrate the Cloud Functions SDK.

  • Run the following command to integrate the Cloud Functions JavaScript SDK into your project:
npm install --save @agconnect/function
  • Import the AppGallery Connect component to your project.
import agconnect from "@agconnect/api";
import "@agconnect/function";
import "@agconnect/instance";

For more details, please refer to Getting Started with Cloud Functions

Development Guide




Cloud Functions Service Plug-in is licensed under the: "ISC"