Question
Can I use OAuth (login/password) authentication for Claude Agent (a.k.a. Claude subscription) in JetBrains Air?
Answer
Yes, but at the moment, Claude subscription can only be used in Terminal mode - NOT in Chat/GUI mode.
Reason
Anthropic terms do not allow SDK integration (Chat/GUI mode) for Claude subscription usage. More information and discussion about it can be found in this ticket.
How to switch Claude Session to Terminal Mode
-
Click the dropdown arrow next to New Session and select Manage Agents...
-
Select Terminal to use the Claude Code CLI agent.
-
If you see
Sonnet 5.5 Claude Pro(or your subscription plan) in the terminal, then you are all set:If you prefer not to type directly in the terminal, press Ctrl twice to open a prompt popup. It automatically gathers context for your request as well:
Other options to switch to Terminal mode
-
You can also switch from Chat (GUI) mode to Terminal mode directly within the Agent Sessions tool window:
-
If you launch a Claude session in GUI mode, the interface will prompt you to switch to Terminal UI if needed:
Additional settings for Claude Subscription users
Go to Settings | Tools | Air | Sessions and enable "Show Claude usage in the status bar":
Your usage statistics will be displayed in the status bar at the bottom of the IDE:
For other settings, see official documentation.
Comments
0 comments
Please sign in to leave a comment.