### API Quick Start: CreateInstances Example Source: https://cloud.tencent.com/document/api/239/20001 This section provides a quick start guide for using the API Explorer tool to call the CreateInstances API to create an instance. It outlines the steps to select the product, find the API, configure parameters, and initiate the call. ```APIDOC ## API Quick Start You can use the API Explorer tool to call APIs online. The following takes the CreateInstances interface as an example to illustrate the operation process of calling API interfaces online using the API Explorer tool. 1. Enter the API Explorer tool page and select Distributed Cache. 2. In the left navigation, find the Create Instance interface, and in the **Input Parameters** area, set the parameters according to the configuration information provided for each parameter. For specific information, please refer to Create Instance. 3. Click **Initiate Call** below, and wait for the **Response Result** to complete the API call. ``` -------------------------------- ### Quick Start Guide Source: https://cloud.tencent.com/document/product/1772/130549 Instructions on how to get started with the DeepSeek API, including SDK installation and example code. ```APIDOC ## Quick Start ### Prerequisites - Ensure you have enabled the Knowledge Engine Atomic Capability in the Tencent Cloud console and created an API Key. - If using an SDK, you need to install the OpenAI Python SDK. ### Installing the SDK Ensure you have Python 3.8 or later installed. **Install or update the OpenAI Python SDK** Run the following command: ```bash pip install -U openai ``` If the command fails, try using `pip3` instead of `pip`. ### Example Code Snippet **Note:** For the `deepseek-r1-0528` model, due to potentially long thinking processes, it's recommended to use streaming output to avoid slow responses or timeouts. Modify the `model` parameter in the example code to your desired model name. ```python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lkeap.cloud.tencent.com/v1" ) response = client.chat.completions.create( model="deepseek-v3.2", messages=[ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "Explain the concept of quantum computing in simple terms."} ], stream=True, # Set to True for streaming output ) for chunk in response: if chunk.choices: print(chunk.choices[0].delta.content or "", end="", flush=True) ``` ``` -------------------------------- ### API Quick Start Source: https://cloud.tencent.com/document/product/1338/55955 A step-by-step guide to getting started with the Private DNS API, including prerequisites and initial setup. ```APIDOC ## API Quick Start To begin using the Private DNS API, follow these steps: 1. **Enable Private DNS**: Private DNS is a paid service with a post-paid billing model. Ensure you have read and agreed to the service terms before enabling it. Refer to the [Enable Private DNS documentation](link-to-enable-docs) for details. 2. **Create a Private Domain**: Use the `CreatePrivateDomain` API call to create a new private domain for your VPC. 3. **Add Resolution Records**: After creating a private domain, you can add resolution records to it. Use the `AddPrivateZoneRecord` API call to add records like A, CNAME, etc. Refer to the [Record Type Descriptions](link-to-record-types) for rules on setting up different record types. ``` -------------------------------- ### Client-side Rendering Demo Setup Source: https://cloud.tencent.com/document/product/1240/117959 Instructions for running the client-side rendering example. Ensure you have a local server running and open the index.html file. Model data download and configuration are required. ```bash 1. Open the `client-render-demo` directory. 2. Start a local server in this directory. 3. Open index.html in your browser, e.g., `http://localhost:3000/index.html`. ``` -------------------------------- ### API Quick Start Source: https://cloud.tencent.com/document/api/1137/40048 A guide to quickly get started with the Tencent Interactive Whiteboard APIs, including an example using the API Explorer. ```APIDOC ## API Quick Start You can use the API Explorer tool to call APIs online. Here are the steps to call an API interface using the API Explorer tool, using document transcoding as an example: 1. Navigate to the API Explorer tool page. For more information on using API Explorer, please refer to [Using API Explorer](link_to_api_explorer_docs). 2. Call the [Create Document Transcoding Task](link_to_create_transcoding_api) interface to create a transcoding task. 3. Set the relevant parameters for the document to be transcoded, initiate the call, and obtain the TaskId from the return value. 4. Call the [Query Document Transcoding Task](link_to_query_transcoding_api) interface, fill in the TaskId parameter, and initiate the call. 5. Query the status and result information of the transcoding task. ``` -------------------------------- ### Example 2: Create Spot Instance Configuration Source: https://cloud.tencent.com/document/api/377/20447 This example shows how to create a launch configuration for a spot instance. ```APIDOC ## POST /api/createLaunchConfiguration ### Description Creates a launch configuration for a spot instance. ### Method POST ### Endpoint /api/createLaunchConfiguration ### Parameters #### Request Body - **Action** (String) - Required - `CreateLaunchConfiguration` - **Version** (String) - Required - `2018-04-19` - **Region** (String) - Required - e.g., `ap-guangzhou` - **LaunchConfigurationName** (String) - Required - e.g., `spot-test` - **InstanceType** (String) - Required - e.g., `S2.MEDIUM4` (Standard Type 2, 2C4G) - **InstanceChargeType** (String) - Required - `SPOTPAID` - **InstanceMarketOptions** (Object) - Required - Contains spot instance pricing options. - **MaxPrice** (Float) - Required - The maximum bid price per hour. e.g., `0.99` ### Request Example ```json { "Action": "CreateLaunchConfiguration", "Version": "2018-04-19", "Region": "ap-guangzhou", "LaunchConfigurationName": "spot-test", "InstanceType": "S2.MEDIUM4", "InstanceChargeType": "SPOTPAID", "InstanceMarketOptions": { "MaxPrice": 0.99 } } ``` ### Response #### Success Response (200) - **LaunchConfigurationId** (String) - The ID of the created launch configuration. - **RequestId** (String) - The unique ID of the request. #### Response Example ```json { "Response": { "LaunchConfigurationId": "asc-xxxxxxxxxxxx", "RequestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } } ``` ``` -------------------------------- ### Tag API Quick Start Source: https://cloud.tencent.com/document/api/651/35306 A guide to quickly get started with the Tencent Cloud Tag API, using the API Explorer tool as an example. ```APIDOC ## API Quick Start You can use the API Explorer tool to call APIs online. This article takes Creating a Tag as an example, and the steps to call the API interface using the API Explorer tool are as follows: 1. Enter the API Explorer tool page. For more information on using API Explorer, please refer to [Using API Explorer](link_to_api_explorer_docs). 2. Call `CreateTag` to create a tag. 3. After successfully creating a tag, you can view the created tags in the [Tag Console](link_to_tag_console), where you can edit, delete, and bind resources to tags. For specific operations, please refer to the [Tag Operation Guide](link_to_tag_operations_guide). ``` -------------------------------- ### Create Instance - Simplest Parameters Source: https://cloud.tencent.com/document/api/213/15730 Demonstrates the most basic parameters required to create an instance. This example assumes default values for many configurations. ```json { "ImageId": "img-pmqg1cw8", "InstanceType": "S1.MEDIUM4", "SystemDisk": { "DiskType": "CLOUD_BASIC", "DiskSize": 50 }, "LoginSettings": { "Password": "your_password" } } ``` -------------------------------- ### Create Launch Configuration with Spot Instance Options Source: https://cloud.tencent.com/document/product/377/20447 This example demonstrates creating a launch configuration with specific configurations for spot instances, including instance type, image ID, system disk, and internet access settings. ```APIDOC ## POST / HTTP/1.1 ### Description Creates a launch configuration with detailed parameters, including spot instance options. ### Method POST ### Endpoint / ### Request Body - **SystemDisk** (object) - Required - System disk configuration. - **DiskSize** (integer) - Required - Disk size in GB. - **DiskType** (string) - Required - Disk type (e.g., CLOUD_PREMIUM). - **InstanceMarketOptions** (object) - Optional - Options for instance market type. - **SpotOptions** (object) - Optional - Options for spot instances. - **SpotInstanceType** (string) - Required - Type of spot instance (e.g., one-time). - **MaxPrice** (string) - Required - Maximum price for the spot instance. - **MarketType** (string) - Required - Market type (e.g., spot). - **ImageId** (string) - Required - The ID of the image to use. - **InstanceChargeType** (string) - Required - The charge type for the instance (e.g., SPOTPAID). - **LaunchConfigurationName** (string) - Required - The name of the launch configuration. - **InternetAccessible** (object) - Optional - Internet access configuration. - **PublicIpAssigned** (boolean) - Required - Whether to assign a public IP. - **InternetChargeType** (string) - Required - Internet charge type (e.g., TRAFFIC_POSTPAID_BY_HOUR). - **InternetMaxBandwidthOut** (integer) - Required - Maximum outbound bandwidth in Mbps. - **InstanceType** (string) - Required - The instance type (e.g., S2.MEDIUM4). ### Request Example ```json { "SystemDisk": { "DiskSize": 50, "DiskType": "CLOUD_PREMIUM" }, "InstanceMarketOptions": { "SpotOptions": { "SpotInstanceType": "one-time", "MaxPrice": "0.99" }, "MarketType": "spot" }, "ImageId": "img-8toqc6s3", "InstanceChargeType": "SPOTPAID", "LaunchConfigurationName": "spot-test", "InternetAccessible": { "PublicIpAssigned": true, "InternetChargeType": "TRAFFIC_POSTPAID_BY_HOUR", "InternetMaxBandwidthOut": 20 }, "InstanceType": "S2.MEDIUM4" } ``` ### Response #### Success Response (200) - **LaunchConfigurationId** (string) - The ID of the created launch configuration. - **RequestId** (string) - The ID of the request. #### Response Example ```json { "Response": { "LaunchConfigurationId": "asc-hpzwe3o2", "RequestId": "ccfe3052-e9c9-47ee-bf3d-5bc2dfd972c0" } } ``` ``` -------------------------------- ### API Explorer Quick Start Source: https://cloud.tencent.com/document/api/634/71956 A guide on how to use the API Explorer tool to quickly get started with calling IoT Hub APIs, using device connection as an example. ```APIDOC ## API Quick Start This section guides you through using the API Explorer tool to make API calls. ### Using API Explorer 1. Navigate to the API Explorer tool page. For more information on using API Explorer, refer to [Using API Explorer](link_to_api_explorer_docs). 2. Call the `CreateDevice` API to authenticate the device and establish a connection. 3. Call the `DescribeDevice` API to retrieve detailed information about a specific device. ``` -------------------------------- ### Create Launch Configuration with Detailed Parameters Source: https://cloud.tencent.com/document/product/377/20447 This example shows a comprehensive set of parameters for creating a launch configuration, including system disk, login settings, data disks, and enhanced services. ```JSON { "LaunchConfigurationName": "my-detailed-launch-configuration-name", "ImageId": "img-xxxxxxxx", "InstanceType": "S3.LARGE64", "InstanceChargeType": "POSTPAID_BY_HOUR", "SystemDisk": { "DiskType": "CLOUD_SSD", "DiskSize": 100 }, "LoginSettings": { "KeyName": "my-key-pair-name" }, "SecurityGroupIds": [ "sg-xxxxxxxx", "sg-yyyyyyyy" ], "DataDisks": [ { "DiskType": "CLOUD_SSD", "DiskSize": 200 }, { "DiskType": "CLOUD_BASIC", "DiskSize": 500 } ], "EnhancedServices": { "MonitorService": { "Enabled": true, "QuantizationLevel": "HEIGHT" }, "AutomationToolsService": { "Enabled": true } }, "UserData": "IyEvYmluL2Jhc2gKeGhoCg==", "InternetAccessible": { "PublicIpAssigned": false }, "DisasterRecovery": { "Type": "RECOVER_BY_TIME", "ScheduleTime": "2023-10-26T10:00:00Z" } } ``` -------------------------------- ### Domain Registration API Quick Start Source: https://cloud.tencent.com/document/api/242/38883 A guide on how to quickly get started with the Domain Registration API using the API Explorer tool, with an example of batch domain registration. ```APIDOC ## API Quick Start You can use the API Explorer tool to call APIs online. This article uses batch domain registration as an example to illustrate the steps for calling the API interface using the API Explorer tool: 1. Navigate to the API Explorer tool page. For more information on using the API Explorer tool, please refer to [Using API Explorer](link_to_api_explorer_guide). 2. In API Explorer, select the Domain Registration (Domain) product. 3. Call the `CreateDomainBatch` interface to submit a batch domain registration task. 4. View the [Interface Return Results](link_to_return_results_guide) to confirm whether the batch domain registration task was submitted successfully. Thus, you can achieve batch domain registration through the API. ``` -------------------------------- ### API Explorer Quick Start Source: https://cloud.tencent.com/document/product/1285/65622 This guide demonstrates how to use the API Explorer tool to quickly get started with TCSS API calls, using container baseline detection as an example. ```APIDOC ## API Quick Start using API Explorer ### Description This section provides a step-by-step guide on using the API Explorer tool to call TCSS API interfaces. The example focuses on performing a container baseline detection. ### Steps 1. **Access API Explorer**: Navigate to the API Explorer tool page. For detailed instructions, refer to [Using API Explorer](link_to_api_explorer_guide). 2. **Initiate Baseline Detection**: Call the `CreateComplianceTask` API to start a baseline detection task for assets (containers, images, hosts, K8S assets). 3. **Query Task Summary**: Call the `QueryComplianceSummary` API to retrieve summary information on the asset pass rate for the last task. 4. **Query Detection Item Summary**: Call the `QueryDetectionItemSummary` API to get summary information on the detection results for each detection item. 5. **Query Asset List**: Call the `QueryAssetList` API to retrieve a list of assets involved in the detection. ``` -------------------------------- ### Run Cloud Rendering Example Source: https://cloud.tencent.com/document/product/1240/105568 Navigate to the 'server-render-demo' directory and start a local server. Open 'index.html' in your browser, appending 'virtualmanKey' and 'sign' as URL parameters. Ensure the 'sign' parameter is URL-encoded if used in the browser address bar. ```bash http://localhost:3000/index.html?virtualmanKey=xxxx&sign=xxxx ``` -------------------------------- ### Create Launch Configuration with Detailed Parameters Source: https://cloud.tencent.com/document/api/377/20447 This example demonstrates creating a launch configuration with detailed parameters, including system disk, instance market options, image ID, instance charge type, launch configuration name, internet accessibility, and instance type. ```APIDOC ## POST /api/createLaunchConfiguration ### Description Creates a launch configuration with detailed parameters. ### Method POST ### Endpoint /api/createLaunchConfiguration ### Parameters #### Request Body - **SystemDisk** (object) - Required - System disk configuration. - **DiskSize** (integer) - Required - Disk size in GB. - **DiskType** (string) - Required - Disk type (e.g., "CLOUD_PREMIUM"). - **InstanceMarketOptions** (object) - Optional - Instance market options. - **SpotOptions** (object) - Optional - Spot instance options. - **SpotInstanceType** (string) - Optional - Spot instance type (e.g., "one-time"). - **MaxPrice** (string) - Optional - Maximum price for spot instance. - **MarketType** (string) - Optional - Market type (e.g., "spot"). - **ImageId** (string) - Required - The ID of the image to use. - **InstanceChargeType** (string) - Required - Instance charge type (e.g., "SPOTPAID"). - **LaunchConfigurationName** (string) - Required - The name of the launch configuration. - **InternetAccessible** (object) - Optional - Internet accessibility configuration. - **PublicIpAssigned** (boolean) - Optional - Whether to assign a public IP address. - **InternetChargeType** (string) - Optional - Internet charge type (e.g., "TRAFFIC_POSTPAID_BY_HOUR"). - **InternetMaxBandwidthOut** (integer) - Optional - Maximum outbound bandwidth in Mbps. - **InstanceType** (string) - Required - The instance type (e.g., "S2.MEDIUM4"). ### Request Example ```json { "SystemDisk": { "DiskSize": 50, "DiskType": "CLOUD_PREMIUM" }, "InstanceMarketOptions": { "SpotOptions": { "SpotInstanceType": "one-time", "MaxPrice": "0.99" }, "MarketType": "spot" }, "ImageId": "img-8toqc6s3", "InstanceChargeType": "SPOTPAID", "LaunchConfigurationName": "spot-test", "InternetAccessible": { "PublicIpAssigned": true, "InternetChargeType": "TRAFFIC_POSTPAID_BY_HOUR", "InternetMaxBandwidthOut": 20 }, "InstanceType": "S2.MEDIUM4" } ``` ### Response #### Success Response (200) - **LaunchConfigurationId** (string) - The ID of the created launch configuration. - **RequestId** (string) - The request ID. #### Response Example ```json { "Response": { "LaunchConfigurationId": "asc-hpzwe3o2", "RequestId": "ccfe3052-e9c9-47ee-bf3d-5bc2dfd972c0" } } ``` ``` -------------------------------- ### Node.js Dockerfile Example Source: https://cloud.tencent.com/document/product/1243/49643 This Dockerfile demonstrates the basic steps for packaging a Node.js application, including system setup, Node.js installation, code copying, dependency installation, and starting the application. ```dockerfile # Install an alpine system, any version FROM alpine:3.15 # Then download and install Node.js on the alpine system RUN apk add --update --no-cache nodejs npm # Copy our code to a directory on the server COPY . . # Install project dependencies RUN npm install # Start the project using the start command CMD ["node", "index.js"] ``` -------------------------------- ### Getting Started and Usage Source: https://cloud.tencent.com/document/product/1278 Guides on how to get started with and use Tencent Cloud APIs. ```APIDOC ## Getting Started and Usage ### Using API Explorer Provides instructions and steps for using API Explorer. ### Using TCCLI Provides installation, configuration, and usage instructions for TCCLI. ### Using SDK Provides usage instructions and sample code for SDKs in various development languages. ### Development Guide Provides API call process explanations for various development languages. ``` -------------------------------- ### Create Launch Configuration - Detailed Parameters Source: https://cloud.tencent.com/document/api/377/20447 This example shows a comprehensive set of parameters for creating a launch configuration, including network settings, login credentials, and user data. Review all parameters to ensure they meet your specific requirements. ```json { "Action": "CreateLaunchConfiguration", "Version": "2018-04-12", "Region": "ap-guangzhou", "ImageId": "img-xxxxxxxx", "InstanceType": "SA1.SMALL1", "InstanceName": "test-launch-config", "InternetAccessible": { "InternetMaxBandwidthOut": 10, "PublicIpAssigned": true }, "LoginSettings": { "Password": "your_password" }, "UserData": "IyEvYmluL2Jhc2gKeGhoCg==", "StorageConfig": { "DataDisks": [ { "DiskType": "CLOUD_BASIC", "DiskSize": 50 } ] }, "SecurityGroupIds": [ "sg-xxxxxxxx" ], "InstanceMarketOptions": { "SpotOptions": { "MaxPrice": "1.0" } } } ``` -------------------------------- ### Example API Call: Start Instance Source: https://cloud.tencent.com/document/product/213/15735 This example demonstrates how to start a specified instance using the API. ```APIDOC ## POST /api/instances/{instanceId}/start ### Description Starts a specified instance by its ID. ### Method POST ### Endpoint /api/instances/{instanceId}/start ### Parameters #### Path Parameters - **instanceId** (string) - Required - The unique identifier of the instance to start. ### Request Example ```json { "instanceId": "ins-abcdef123" } ``` ### Response #### Success Response (200) - **status** (string) - The status of the instance after the operation (e.g., "running"). - **message** (string) - A confirmation message. #### Response Example ```json { "status": "running", "message": "Instance ins-abcdef123 started successfully." } ``` ``` -------------------------------- ### API Quick Start: Create Application Source: https://cloud.tencent.com/document/product/1759/105105 This guide demonstrates how to use the API Explorer tool to quickly get started with the Tencent Cloud Intelligent Agent Development Platform APIs, using the `CreateApp` interface as an example. ```APIDOC ## API Quick Start: Create Application This section guides you through using the API Explorer tool to call the `CreateApp` API to create an application. ### Steps: 1. **Navigate to API Explorer**: Access the API Explorer page. 2. **Call `CreateApp` Interface**: Use the tool to invoke the `CreateApp` API. 3. **Verify in Console**: After successful creation, the application will appear in the console, where you can proceed with further configuration. For more information on using the API Explorer tool, please refer to the documentation. ``` -------------------------------- ### Quick Start Source: https://cloud.tencent.com/document/product/866/93277 Guides for getting started quickly with the text recognition service. ```APIDOC ## Quick Start Guides to help users begin using the text recognition service rapidly. ``` -------------------------------- ### Create Launch Configuration with Detailed Parameters (Example 4) Source: https://cloud.tencent.com/document/api/377/20447 This example demonstrates creating a launch configuration with detailed parameters, including system disk, login settings, image ID, enhanced services, launch configuration name, internet accessibility, instance type, and data disks. ```APIDOC ## POST /api/createLaunchConfiguration ### Description Creates a launch configuration with detailed parameters, including system disk, login settings, enhanced services, internet accessibility, and data disks. ### Method POST ### Endpoint /api/createLaunchConfiguration ### Parameters #### Request Body - **SystemDisk** (object) - Required - System disk configuration. - **DiskSize** (integer) - Required - Disk size in GB. - **DiskType** (string) - Required - Disk type (e.g., "LOCAL_BASIC"). - **LoginSettings** (object) - Optional - Login settings. - **KeyIds** (array) - Optional - List of key IDs for SSH login. - **KeyId** (string) - The ID of the key. - **ImageId** (string) - Required - The ID of the image to use. - **EnhancedService** (object) - Optional - Enhanced service configuration. - **SecurityService** (object) - Optional - Security service configuration. - **Enabled** (boolean) - Whether to enable the security service. - **MonitorService** (object) - Optional - Monitor service configuration. - **Enabled** (boolean) - Whether to enable the monitor service. - **LaunchConfigurationName** (string) - Required - The name of the launch configuration. - **InternetAccessible** (object) - Optional - Internet accessibility configuration. - **PublicIpAssigned** (boolean) - Optional - Whether to assign a public IP address. - **InternetChargeType** (string) - Optional - Internet charge type (e.g., "TRAFFIC_POSTPAID_BY_HOUR"). - **InternetMaxBandwidthOut** (integer) - Optional - Maximum outbound bandwidth in Mbps. - **InstanceType** (string) - Required - The instance type (e.g., "S2.SMALL1"). - **DataDisks** (array) - Optional - Data disk configuration. - **Encrypt** (boolean) - Optional - Whether to encrypt the data disk. - **DeleteWithInstance** (boolean) - Optional - Whether to delete the data disk when the instance is terminated. - **DiskSize** (integer) - Required - Disk size in GB. - **DiskType** (string) - Required - Disk type (e.g., "CLOUD_BASIC"). ### Request Example ```json { "SystemDisk": { "DiskSize": 50, "DiskType": "LOCAL_BASIC" }, "LoginSettings": { "KeyIds": [ "skey-k8eypc1l" ] }, "ImageId": "img-8toqc6s3", "EnhancedService": { "SecurityService": { "Enabled": true }, "MonitorService": { "Enabled": true } }, "LaunchConfigurationName": "as_test", "InternetAccessible": { "PublicIpAssigned": true, "InternetChargeType": "TRAFFIC_POSTPAID_BY_HOUR", "InternetMaxBandwidthOut": 5 }, "InstanceType": "S2.SMALL1", "DataDisks": [ { "Encrypt": false, "DeleteWithInstance": true, "DiskSize": 100, "DiskType": "CLOUD_BASIC" } ] } ``` ### Response #### Success Response (200) - **LaunchConfigurationId** (string) - The ID of the created launch configuration. - **RequestId** (string) - The request ID. #### Response Example ```json { "Response": { "LaunchConfigurationId": "asc-fdz8j7dh", "RequestId": "9a7209d3-2260-49d7-952a-dfa2001f8822" } } ``` ``` -------------------------------- ### API Quick Start Guide Source: https://cloud.tencent.com/document/product/1344/95953 A guide to quickly get started with the Intelligent Viewdata Computing Platform API, including using the API Explorer. ```APIDOC ## API Quick Start You can use the API Explorer tool to call APIs online. This article uses adding a device as an example to illustrate the steps for calling API interfaces using the API Explorer tool: 1. Enter the API Explorer tool page. For more information on using the API Explorer tool, please refer to Using API Explorer. 2. Call `AddUserDevice` to add a national standard device. 3. Call `DescribeUserDevice` to query device details. 4. Fill in the national standard information returned by `DescribeUserDevice` into the national standard device configuration interface of the IPC/NVR. 5. After completing the configuration on the device, wait for the device to register and go online. At this point, you can continue to call `DescribeUserDevice` to query device details and determine the device status through the `Status` field (0: unregistered, 1: online, 2: offline, 3: disabled). ``` -------------------------------- ### Custom Development Environment Example Source: https://cloud.tencent.com/document/product/1785/116276 Example of setting up a custom development environment. ```bash 自定义开发环境示例 ``` -------------------------------- ### Device Safety API Quick Start Source: https://cloud.tencent.com/document/product/1628/81029 A step-by-step guide to getting started with the Device Safety API. ```APIDOC ## API Quick Start To use the Device Safety API, you need to perform the following steps first: First, log in to the official website purchase page and activate the Device Safety service; 1. **Activate Service** * **Package:** Log in to the Device Safety purchase page to activate the Device Safety package service; * **Postpaid:** Log in to the Device Safety console to activate the Device Safety postpaid service; 2. **Generate SDK Channel:** Go to the Access Management page, generate an SDK_channel, and download the SDK to complete the integration; 3. **Create API Keys:** In the API Key Management section, create SecretId and SecretKey; 4. **Obtain Device Token:** Obtain the front-end verification ticket (device token) and call the API according to the instructions in API Explorer - Cloud API - Console documentation. ```