Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

2.3 KB
Raw Blame
---
title: Using Gitee AI in LobeHub
description: >-
  Learn how to configure and use Gitee AI's API Key in LobeHub to start chatting
  and interacting.
tags:
  - LobeHub
  - Gitee AI
  - API Key
  - Web UI
---

# Using Gitee AI in LobeHub

<Image cover src={'/blog/assetsd94f3e0cf32639bea46dbf92e0862f89.webp'} />

[Gitee AI](https://ai.gitee.com/) is an open-source platform built on Git-based code hosting technology, designed specifically for artificial intelligence (AI) applications. It aims to provide developers and enterprises with an all-in-one AI development service, including model testing, inference, fine-tuning, and deployment.

This guide will walk you through how to use Gitee AI within LobeHub.

To configure this provider in LobeHub, open **App Settings → AI Providers**, select the provider, and turn on its switch.

<Steps>
  ### Step 1: Obtain Your Gitee AI API Key

  - Register and log in to the [Gitee AI official website](https://ai.gitee.com/)
  - In the dashboard, purchase and top up the `Serverless API`

  <Image alt={'Gitee Serverless API'} inStep src={'/blog/assets5a2f360c19fcf9a037b2d1609479b713.webp'} />

  - Go to the `Settings` section and click on `Access Tokens`
  - Create a new access token
  - Save the token from the pop-up window

  <Image alt={'Gitee Serverless API'} inStep src={'/blog/assetsf1e1ca1adaac36881ec6c3b2ce1a099e.webp'} />

  <Callout type={'warning'}>
    Make sure to save the access token shown in the pop-up window. It will only be displayed once. If you lose it, you’ll need to generate a new one.
  </Callout>

  ### Step 2: Configure Gitee AI in LobeHub

  - Go to the `Settings` page in LobeHub
  - In the provider list, select the configuration section for `Gitee AI`

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

  - Paste the API key you obtained earlier
  - Choose a Gitee AI model for your AI assistant to start chatting

  <Image alt={'Select Gitee AI model and start chatting'} inStep src={'/blog/assetsec0f694c9f6140620217bde441440170.webp'} />

  <Callout type={'warning'}>
    You may need to pay for API usage depending on your usage. Please refer to Gitee AI’s pricing policy for more details.
  </Callout>
</Steps>

And that’s it! You’re now ready to use Gitee AI models for conversations in LobeHub.