--- title: Using Moonshot AI API Key in LobeChat description: >- Learn how to integrate Moonshot AI into LobeChat for AI-powered conversations. Follow the steps to get the API key, configure Moonshot AI, and start engaging with AI models. tags: - Moonshot AI - Web UI - API Key --- # Using Moonshot AI in LobeChat {'Using The Moonshot AI API is now available for everyone to use. This document will guide you on how to use [Moonshot AI](https://www.moonshot.cn/) in LobeChat: ### Step 1: Get Moonshot AI API Key - Apply for your [API key](https://platform.moonshot.cn/console/api-keys) {'Apply ### Step 2: Configure Moonshot AI in LobeChat - Visit the `Settings` interface in LobeChat - Find the setting for `Moonshot AI` under `Language Models` {'Enter If you are using mistral.ai, your account must have a valid subscription for the API key to work properly. Newly created API keys may take 2-3 minutes to become active. If the "Test" button fails, please retry after 2-3 minutes. - Enter the API key you obtained - Choose a Moonshot AI model for your AI assistant to start the conversation {'Select During usage, you may need to pay the API service provider according to Moonshot AI's related pricing policies. You can now engage in conversations using the models provided by Moonshot AI in LobeChat.