1 # AutoStartupInfo (System API) 2 3The **AutoStartupInfo** module defines information about the application component that automatically starts upon system boot. 4 5> **NOTE** 6> 7> The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8> 9> The APIs of this module can be used only in the stage model. 10> The APIs provided by this module are system APIs. 11 12## Properties 13 14**System API**: This is a system API. 15 16**System capability**: SystemCapability.Ability.AbilityRuntime.Core 17 18| Name | Type | Mandatory | Description | 19| ------------------------- | ------ | ---- | --------- | 20| bundleName | string | Yes | Bundle name. | 21| moduleName | string | No | Module name. | 22| abilityName | string | Yes | Ability name. | 23| abilityTypeName | string | No | Ability type. | 24| appCloneIndex | number | No | Index of an application clone. | 25 26**Example** 27 28```ts 29import { autoStartupManager, common } from '@kit.AbilityKit'; 30 31autoStartupManager.setApplicationAutoStartup({ 32 bundleName: 'com.example.autostartupapp', 33 moduleName: 'entry', 34 abilityName: 'EntryAbility', 35 abilityTypeName: 'ServiceExtension' 36} as common.AutoStartupInfo, (err, data) => { 37 console.info('====> err: ' + JSON.stringify(err) + ' data: ' + JSON.stringify(data)); 38}); 39``` 40