1# @ohos.customization.customConfig (Custom Configurations) 2 3This module provides APIs for applications to obtain custom configurations, such as channel IDs. 4 5> **NOTE** 6> 7> The initial APIs of this module are supported since API version 12. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8 9## Modules to Import 10 11```ts 12import { customConfig } from '@kit.BasicServicesKit'; 13``` 14 15## customConfig.getChannelId 16 17getChannelId(): string 18 19Obtains the channel ID based on the bundle name of an application. 20 21**Atomic service API**: This API can be used in atomic services since API version 13. 22 23**System capability**: SystemCapability.Customization.CustomConfig 24 25**Return value** 26 27| Type | Description | 28| ------ | ----- | 29| string | Channel ID| 30 31**Example** 32 33 ```ts 34 let channelId: string = customConfig.getChannelId(); 35 console.log('app channelId is ' + channelId); 36 ``` 37