How to Integrate DeepSeek AI with IntelliJ IDEA Using CodeGPT

This step‑by‑step guide shows how to install IntelliJ IDEA, add the CodeGPT plugin, configure DeepSeek API keys and URLs, and use the DeepSeek Coder template for AI‑assisted code completion within the IDE.

Su San Talks Tech
Su San Talks Tech
Su San Talks Tech
How to Integrate DeepSeek AI with IntelliJ IDEA Using CodeGPT

1. Install IntelliJ IDEA

Download the IDE from the official website https://www.jetbrains.com.cn/idea/ . If you prefer not to download manually, you can obtain the installer by replying “IDEA” to the public account.

2. Install CodeGPT

There are two installation methods: online via the Marketplace or offline from a local file.

Open IntelliJ IDEA, go to File → Settings (Windows/Linux) or IntelliJ IDEA → Preferences (macOS), and select the Plugins tab.

In the Plugins page, click Marketplace , search for "CodeGPT".

If the plugin appears, click Install ; otherwise use the offline method by choosing Install Plugin from Disk .

After installation, restart the IDE to apply changes.

3. Open Configuration

In Settings → CodeGPT → Providers → Custom OpenAI , set the URL to https://api.openai.com/v1/chat/completions. Keep this value for now.

4. Get DeepSeek API Key

Open the DeepSeek API page, obtain your API key, and paste it into the API key field. Then replace the URL with https://api.deepseek.com/chat/completions.

5. Configure Code Completion

Select the DeepSeek Coder template, set its URL to https://api.deepseek.com/beta/completions, and adjust the model settings as shown in the screenshots.

Now you can enter prompts such as “Develop a login page” and receive AI‑generated code.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DeepSeekCodeGPTIntelliJ IDEAAI integrationIDE plugin
Su San Talks Tech
Written by

Su San Talks Tech

Su San, former staff at several leading tech companies, is a top creator on Juejin and a premium creator on CSDN, and runs the free coding practice site www.susan.net.cn.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.