Configure agent authorization
To work on a task, an agent needs an available authorization source. Air in IDEs offers the following options:
Agent login – the authorization that the agent manages itself. Air in IDEs reuses an existing login when it detects one on your machine; otherwise, the agent's own authorization method can be selected from the list of supported authorization sources.
JetBrains AI – an eligible JetBrains AI license or organization workspace associated with your JetBrains Account.
Junie Lite – a free model tier of Junie that requires only a JetBrains Account.
Configured provider – a third-party AI provider that you configure in Air in IDEs with the credentials that it requires.
The source that you select also determines how the work of an agent is billed. When an agent works through JetBrains AI, your JetBrains AI access and subscription cover the usage. When an agent works through a configured provider or through its own authorization, the subscription, billing, and terms of that provider apply.
Use the agent login
Air in IDEs detects the agents installed on your machine together with the configuration that they already use. If an agent is already authorized, for example, because you have logged in to it in its desktop app or CLI, a session reuses that authorization, so you do not need to configure anything in the IDE.
To check that a session uses the existing authorization, click below the prompt field. The agent login is the entry marked with the same
icon. The name of the entry and the details under it depend on the agent, for example, it can be the email of your account or the Managed by title followed by the agent name. Another indicator that the agent login is selected, is that the list also contains the Repeat agent login option.
If the agent has no authorization yet, the Choose AI Provider list appears upon the session start. The list contains the login methods that the agent supports, including the agent-specific ones.

The names of these methods depend on the agent, for example:
OpenAI Codex: ChatGPT or ChatGPT (device code)
Claude Agent: Claude Subscription or Anthropic Console
GitHub Copilot: Sign in with GitHub (OAuth) or Sign in with GitHub (Device Code)
Select the corresponding agent login option from the list, and complete the authorization flow to start using the agent.
If the session already uses another source, you can switch it to the agent login at any time.
Use JetBrains AI
If your JetBrains Account has an eligible JetBrains AI license or organization workspace assigned to it, you can use it with the agents that support JetBrains AI authorization. Currently, these are the following agents:
The JetBrains account entry at the top of the page holds this authorization. To use JetBrains AI:
Press Ctrl+Alt+S and select .
On the JetBrains account entry, click Log in.

Complete the login in the browser. The entry shows the name of your account, the JetBrains AI license or organization workspace in use, and how many of your monthly credits are left.
If several licenses or organization workspaces are available, click
on the JetBrains account entry and select the one to use. If only one is available, it is selected automatically.
For an account with a subscription of its own, the list holds the eligible JetBrains AI licenses of that account.

For an account that belongs to organizations which supply credits to it, the list holds the organization workspaces of these organizations.

In a session with an agent that supports JetBrains AI, click
below the prompt field and select JetBrains AI. If the agent has no authorization yet, select JetBrains AI in the Choose AI Provider list.
Use Junie Lite
If you do not have a subscription with a specific agent or a provider yet, try Junie Lite: it is free with a JetBrains Account. Junie Lite is a free model tier of Junie, JetBrains' coding agent. It does not require a JetBrains AI license: access to the model is granted automatically.
To use Junie Lite:
Press Ctrl+Alt+S and select .
On the JetBrains account entry, click Log in and complete the login in the browser.
Once logged in, click
on the JetBrains account entry and select Junie Lite Only.

Start a session with Junie. The free Lite model is automatically selected for the agent.

For more information about Junie Lite, such as its usage limits and how your data is handled, refer to the Junie Lite documentation.
Use a configured AI provider
Air in IDEs supports several third-party AI providers. You can configure a provider using the credentials and settings that it requires, such as an API key, and switch between the configured providers as your tasks require.
The following providers are available:
Anthropic – provides the Claude family of models through the Anthropic API. Create a key on the API keys page of the Claude Console.
OpenAI – provides the GPT family of models through the OpenAI API. Create a key on the API keys page of the OpenAI platform.
Gemini – provides the Gemini family of models through the Gemini API. Create a key in Google AI Studio.
OpenRouter – provides models from many vendors through a single API key. Because OpenRouter supports both the Anthropic and the OpenAI API, agents that use either API can work through it. Create a key in your OpenRouter account, or click Authorize in browser in the provider dialog to sign in to OpenRouter and get a key automatically.
Each provider works only with the agents that support its API.
Add an AI provider
Press Ctrl+Alt+S and select .
Click More Providers and select the provider that you want to add.

In the dialog that opens, enter the credentials that you obtained from the provider and configure any additional settings required to finish the configuration.
Click OK to save the settings. The configured provider appears in the AI Providers list.
In a session with an agent that supports the provider, click
below the prompt field and select the provider. If the agent has no authorization yet, select the provider in the Choose AI Provider list.
Edit or remove a provider
To change or delete the configuration of a provider, click on its entry in the AI Providers list and select the action that you need.

Switch the authorization source during a session
You can switch to another authorization source at any time, for example, to spend credits of another provider. The session uses the new source starting from the next request, and new sessions with the same agent use it as well.
Click
below the prompt field. The list shows the sources available to the agent, and the current source is marked with a checkmark.

Select the source that you want to use: the agent login, JetBrains AI, or a configured provider.
To add a provider that is not in the list yet, select Accounts and configure the provider as described in Add an AI provider.
Log in to the agent again
When the agent login is selected, the list also contains the Repeat agent login option. Select it to open the login methods that the agent provides again, for example, to switch to another account of the agent, to use another login method, or to refresh your credentials.

The login starts only after you select a method. To keep the current authorization, close the list of login methods without selecting one.

