Back to Lobehub

Using Tencent Cloud API Key in LobeHub

docs/usage/providers/tencentcloud.mdx

2.1.562.1 KB
Original Source

Using Tencent Cloud in LobeHub

<Image alt={'Using Tencent Cloud in LobeHub'} cover src={'/blog/assetsf625540e8340bafe69ccbb89ad75707a.webp'} />

Tencent Cloud is the cloud computing service brand under Tencent, offering a wide range of cloud solutions for businesses and developers. Tencent Cloud provides a suite of AI large model services that allow for stable and efficient integration with AI models.

This guide will walk you through how to integrate Tencent Cloud's AI models into LobeHub:

<Steps> ### Step 1: Obtain a Tencent Cloud API Key
  • First, visit Tencent Cloud and complete the registration and login process.
  • Go to the Tencent Cloud Console and navigate to the Atomic Capabilities of Knowledge Engine.
  • Enable the Large Model Knowledge Engine. Real-name verification is required during activation.

<Image alt={'Navigate to the Knowledge Engine Atomic Capabilities page'} inStep src={'/blog/assets89b45345c84f8b7c3bf4d554169689ac.webp'} />

  • Under the "Access via OpenAI SDK" section, click the Create API Key button to generate a new API key.
  • You can view and manage your API keys in the API Key Management section.
  • Copy and securely save your newly created API key.

Step 2: Configure Tencent Cloud in LobeHub

  • Open LobeHub and go to App Settings > AI Service Providers.
  • Find the Tencent Cloud option in the list of providers.

<Image alt={'Enter Tencent Cloud API Key'} inStep src={'/blog/assets79e8fff075490d2a4535590a02333316.webp'} />

  • Enable the Tencent Cloud provider and paste in your API key.
  • Choose a Tencent Cloud model for your assistant to start chatting.

<Image alt={'Select a Tencent Cloud model'} inStep src={'/blog/assets308f9fd45d0e8a140c1c18e6c92a1a57.webp'} />

<Callout type={'warning'}> You may incur charges when using services from the API provider. Please refer to Tencent Cloud’s pricing policy for details. </Callout> </Steps>

That's it! You’re now ready to use Tencent Cloud’s AI models in LobeHub for conversations.