Developer tools
How to let an AI agent log into JetBrains with 2FA (authenticator app)
JetBrains supports authenticator-app codes (TOTP). That means your agent can pass JetBrains's 2FA prompt by itself: store the secret in OTPilot once, and the agent fetches the current 6-digit code when it needs it — it never sees the seed.
Set it up in four steps
Step 1
Turn on authenticator-app 2FA in JetBrains
Sign in to JetBrains (jetbrains.com) as the account your agent will use, open the account's security or two-factor settings and choose an authenticator app (sometimes called TOTP or “Google Authenticator”). JetBrains's own guide: official 2FA documentation.
Step 2
Copy the secret, not just the QR code
When JetBrains shows the QR code, look for a link such as “Can't scan it?”, “Enter this key manually” or “Show secret”. Copy that key (letters A–Z and digits 2–7). Or take a screenshot of the QR code — OTPilot reads it in your browser. You can still scan the same QR into your phone app so a human keeps access too.
Step 3
Save it to OTPilot and confirm the code
Paste the key into your OTPilot vault as “JetBrains”. Type the 6-digit code OTPilot shows back into JetBrains to finish enabling 2FA. The seed is encrypted and never shown again.
Step 4
Give your agent a scoped key
Create an agent key that can read only
jetbrains. When the JetBrains login asks for the authenticator code, the agent callsget_code(MCP) orGET /api/v1/codes/jetbrains(REST) and types the result. Turn on approval if a human should tap first.
The call your agent makes
curl -s https://otpilot.vibiz.app/api/v1/codes/jetbrains \
-H "Authorization: Bearer otp_live_YOUR_KEY"claude mcp add --transport http otpilot https://otpilot.vibiz.app/mcp \
--header "Authorization: Bearer otp_live_YOUR_KEY"JetBrains 2FA with your framework
- JetBrains + Browser Use→
- JetBrains + Stagehand→
- JetBrains + Playwright→
- JetBrains + Claude computer use→
- JetBrains + OpenAI Agents SDK→
- JetBrains + n8n→
- JetBrains + Make→
- JetBrains + Puppeteer→
Try it with your own secret — no signup
Paste a TOTP secret on the home page and get a live code plus a working API call in seconds.
More developer tools guides
Use OTPilot only for JetBrains accounts you own and are allowed to automate; check JetBrains's terms about automated access. 2FA support data from 2fa.directory. JetBrains is a trademark of its owner; OTPilot is not affiliated with it.