Initialization
Initialize
Confirm Endpoint
The user can specify custom domain name by passing ENDPOINT parameter. For the concept of region, please refer to Region Selection Guide.
Before using the SDK, you must determine the target operation region and configure the BcmClient by setting the corresponding region's Endpoint parameter.
For the domain names currently supported by BCM, please refer to Service Domain.
Retrieve access key
To use Baidu AI Cloud products, you need a Baidu AI Cloud account, as well as a valid AK (Access Key ID) and SK (Secret Access Key) for signature authentication.
Your AK/SK information can be obtained and understood through the following steps:
After obtaining the key, it must be provided as a parameter during Client configuration. The SDK integrates an authentication mechanism, so you don’t need to understand the underlying authentication process. Simply fill in the AK/SK in the designated fields as required, and the SDK will automatically handle the authentication for you.
