--- title: Using Nvidia NIM API Key in LobeChat description: Learn how to configure and use Nvidia NIM AI models in LobeChat, obtain an API key, and start a conversation. tags: - LobeChat - Nvidia NIM - API Key - Web UI --- # Using Nvidia NIM in LobeChat {'Using [NVIDIA NIM](https://developer.nvidia.com/nim) is part of NVIDIA AI Enterprise and is designed to accelerate the deployment of generative AI applications through microservices. It provides a set of easy-to-use inference microservices that can run on any cloud, data center, or workstation, supporting NVIDIA GPU acceleration. This document will guide you on how to access and use AI models provided by Nvidia NIM in LobeChat: ### Step 1: Obtain Nvidia NIM API Key - First, visit the [Nvidia NIM console](https://build.nvidia.com/explore/discover) and complete the registration and login. - On the `Models` page, select the model you need, such as Deepseek-R1. {'Select - On the model details page, click "Build with this NIM". - In the pop-up dialog, click the `Generate API Key` button. {'Get - Copy and save the created API Key. Please store the key securely as it will only appear once. If you accidentally lose it, you will need to create a new key. ### Step 2: Configure Nvidia NIM in LobeChat - Visit the `Application Settings` -> `AI Service Provider` interface in LobeChat. - Find the settings item for `Nvidia NIM` in the list of providers. {'Fill - Enable the Nvidia NIM service provider and fill in the obtained API key. - Select an Nvidia NIM model for your assistant and start the conversation. {'Select You may need to pay the API service provider during use, please refer to Nvidia NIM's related fee policies. Now you can use the models provided by Nvidia NIM to have conversations in LobeChat.