Can I connect my personal Claude account to the new Claude agent in IDE?

I see that you've added the Claude agent to the IDE, and it can now be used alongside Junie. However, as I understand it, it uses the same credits as Junie (10 credits per month on my plan).

I also have a separate Claude subscription and would like to be able to connect my Claude account to the new agent. Is this possible?

11
正式评论

Dear Roma, 

Thank you for your interest in the new Claude agent integration in JetBrains IDEs.

At this time, it is not possible to connect a personal Claude (Anthropic) account to the Claude agent in the IDE. The agent currently uses JetBrains AI subscription credits, which are shared with Junie.

JetBrains is actively working on a "Bring Your Own Key" (BYOK) feature that will allow you to connect your own OpenAI and Anthropic (Claude) accounts directly in the IDE. Once available, you will be able to use your own Claude subscription for the Claude agent, independent of JetBrains quotas.

In the meantime, there is no direct workaround for using a personal Claude account with the Claude agent. You can continue to use JetBrains AI subscription credits or connect local models for other providers via OpenAI-compatible APIs.

For more information and updates, please see the official JetBrains blog post: https://blog.jetbrains.com/ai/2025/11/bring-your-own-key-byok-is-coming-soon-to-jetbrains-ai/
Also, please upvote this YouTrack ticket: https://youtrack.jetbrains.com/issue/JUNIE-554/allow-Junie-to-be-used-byok-litellm-openrouter-etc 

Kind regards, 
Ecaterina

I hope that this feature will support commercial licenses (team, premium), which have stricter controls to prevent training on customer data.

2
Hello. Yes, you can connect your personal Claude account to the Claude Agent in JetBrains IDEs using the "Bring Your Own Key" (BYOK) feature. To do this, go to IDE Settings > Tools > AI Assistant > Models & API keys, select Anthropic as the provider, enter your Anthropic API key, and test the connection. Please note that this requires an Anthropic API key, which is typically available with Claude Pro or Team subscriptions.
See the official documentation for more details: https://www.jetbrains.com/help/ai-assistant/ai-chat.html#claude-agent
-3

Hello, Dear support team

I wanted to know, in recent updates we got new feature connect your chatgpt account for codex.
Can we have the same thing for claude? Or there is some troubles with Claude (they will not allow it, and make users use only ClaudeCode for subscriptions, as it was with OpenCode recently).

I'd be happy to know if we are going have this feature or not.

2
Hello, Golibjon,

Thank you for reaching out to JetBrains Support and for your interest in our products.
At the moment, the Claude Agent can be used either with a JetBrains AI license or with an Anthropic API key via the Bring Your Own Key (BYOK) option. Currently, there is no confirmed information on whether support for a standalone Claude subscription will be added, so we’re unable to provide any guarantees at this time.
We recommend keeping an eye on updates published on the JetBrains Blog and in the official documentation for the latest information: https://www.jetbrains.com/help/ai-assistant/ai-chat.html#claude-agent
Thank you for your understanding.
0

Hey Oleg Zarubin, just want to mention that this feature that Golibjon Temirov has suggested would be great. Just tested Codex with my own chatGPT subscription and it worked perfectly. Would love to have the same for Claude Agent (Claude Code).

4

Ohh… It was a really strange decision to integrate Codex with the subscription and skip Claude Code. Most developers use Claude Code as their main coding tool. Please implement Claude Code the same way, with the ability to use it through the Claude subscription.

5

As of 2026, this situation has long since changed. You can now quite easily connect your Claude Max subscription by installing Claude Code and the @zed-industries/claude-code-acp package globally on your system.

Setup Steps

1. Install Claude Code.
2. Install the ACP adapter globally:
  npm i -g @zed-industries/claude-code-acp
3. Open AI Chat in your JetBrains IDE.
4. Click the three-dot options menu and select "Add Custom Agent."
  This will simply open a JSON file located at ~/.jetbrains/acp.json.
5. Configure the agent using the example below.

Example acp.json Configuration

{
   "agent_servers": {
       "Claude Code": {
           "command": "npx",
           "args": ["@zed-industries/claude-code-acp"],
           "env": {
               "ACP_PERMISSION_MODE": "bypassPermissions"
           },
           "use_idea_mcp": true,
           "use_custom_mcp": true
       }
   }
}

After completing these steps, Claude Code will appear as an available agent in the chat window.

2

Will this conflict with recents changes on Anthropic new ToS?

1

That is a very food question tiago ! I wonder if it's worth risking lol

0

No, this does not conflict with the recently introduced rules of Anthropic, since essentially the Z adapter just uses the official SDK, executing cloud code internally. In contrast, open code, for example, utilized the API key from the authorization of the cloud codes directly, which led to a violation of the rules. 

0

Isn't Claude Code in JetBrains basically just a shortcut to the terminal tho? I think most users would agree that they want an experience like Codex where it is built into the IDE and doesn't require you to be a CLI jockey. 

I find it very strange that Codex agent supports signing into your own OpenAI account but Claude Agent doesn't and just uses your AI assistant credits. In order to use Claude Code, you have to use the terminal. 

7

If I have Claude Code installed and logged in using my Pro subscription, will this use my Pro credits or Jetbrains AI credits? The Github repo linked in the ‘Claude Agent’ points to a wrapper written by Zed Industries so this is bit confusing. If it does not use the installed Claude Code then how does this really work? is another version of Claude Code bundled with Jetbrains?

0
Hello. Thank you for your interest in our products and services.
Could you please clarify whether you are referring to the standalone Claude Code plugin for your IDE, or the Claude agent within the JetBrains AI Assistant?

If you are using the Claude agent within the AI Assistant, it may consume JetBrains AI credits when a JetBrains AI license is active in your IDE. In contrast, the standalone Claude Code (Beta) plugin is a third-party plugin and does not require or support JetBrains AI credits.

Additionally, there are several ways to use Claude within the JetBrains AI Assistant:

•The native Claude agent, which can work either with JetBrains AI credits or via your Anthropic account using the BYOK (Bring Your Own Key) feature
•The Claude agent may be installed via the ACP Registry, which also uses your own Anthropic account rather than JetBrains AI credits
0

As of today, the Claude Agent in the ACP Registry uses JetBrains AI credits.

There used to be separate agents for the built-in and ACP ones, but the ACP one never worked for me and now they're merged(?) and still no way to use the Anthropic subscription. BYOK requires an API key, which is a separate subscription.

4

Couple of days ago it was working well

- orange one was using JetBrains AI credits

- white one was using my Claude subscription

Today they.. merged? And there's only one of them left using AI credits.

2

> I think the only solution is to not upgrade jetbrain to a version before 2025.3.4 might be the solution.

I tried to downgrade the IDE version, but the white Claude Agent can no longer use the subscription and responded with the following error message: “Authentication required: This integration does not support using claude.ai subscriptions.”

By the way, it is a big problem for me too, and I hope they will somehow fix it because it was super useful when you can switch between models with the subscriptions you bought inside just one AI Assistant plugin.

3

For me it works
I Revoked Claude, Closed the IDE, I opened it again, then I tried to use it , and it promote me to login via console , and since then I did link the Claude to my subscription

0

请先登录再写评论。