Since HarmonyOS NEXT Developer Preview1 (corresponding to API version 11), atomic services can be developed only using atomic service APIs.
The atomic service APIs are a subset of HarmonyOS SDK APIs. Their API capabilities are derived from kits to support efficient development of atomic services.
This document describes how to use the atomic service APIs for development. Before development, you need to understand the following features:
import { authentication } from '@kit.AccountKit'; import authentication from '@hms.core.authentication';
Since HarmonyOS NEXT Developer Preview1 (corresponding to API version 11), atomic services developed using the HarmonyOS SDK can run only on devices of HarmonyOS NEXT Developer Preview1 or later.
The atomic service APIs are a subset of HarmonyOS SDK APIs. When you select Atomic Service as your development template in DevEco Studio, the atomic service APIs are automatically filtered.
To view the reference document for the atomic service APIs, proceed as follows:
As shown in the following figure, API nodes supporting atomic services are properly displayed, whereas those not supporting are dimmed.
In addition, you are advised to select Show only matching results.


In addition, every API that supports atomic services is marked with the Atomic service API tag, which is in the following format:
Atomic service API: This API can be used in atomic services since API version x.
Example:

Now you can go to HarmonyOS SDK API Reference to obtain the atomic service APIs.