Skip to main content

After this article

You’ll be able to connect JetBrains to Lumos to sync users, teams, and licenses, and to manage license assignments.

Capabilities

Required plan and roles

  • Credentials: an API Token and your Customer Code.
  • Accounts API: the Accounts API must be enabled for your JetBrains Accounts.
  • Role: the JetBrains Account API doesn’t offer granular scopes, so the token grants access based on the token owner’s role.
    • Organization Admin is the only role where everything works without caveats.
    • Team Admin works for read and write operations, but only for licenses and accounts within their team.
    • Viewer or Primary Contact works for all read operations.

Read-only access vs provisioning

Is read-only possible? Yes. Since the Account API grants access based on the token owner’s role rather than a chosen scope, generating the token from a Viewer or Primary Contact account produces a token that works for all read operations without provisioning access. What read-only requires. An API Token generated by a user with the Viewer or Primary Contact role, then follow the steps below to connect. What full provisioning requires. An API Token generated by an Organization Admin (everything works without caveats) or a Team Admin (read and write, but scoped to accounts and licenses within their team only). Watch out for. Because the JetBrains Account API has no granular scopes, the token’s access is entirely a function of the role of the person who generated it. There’s no way to grant a narrower write scope than the token owner’s own role, if you need broader provisioning coverage later, you have to regenerate the token under a more privileged role (Organization Admin for full coverage, since a Team Admin token is limited to its own team). Only users assigned a license are synced at all, regardless of token role.

Instructions

Phase 1: Enable the Accounts API and generate an API Token in JetBrains
  1. Log in to the JetBrains Account portal as a user with the role you chose above.
  2. In the Licenses table, select the customer you want to connect.
  3. In the left navigation, choose Administration and click Enable API.
  4. When the page reloads, click Generate Token. The token is shown only once, so copy it and save it securely.
  5. Note your Customer Code: the Company Profile ID shown on the JetBrains Account portal next to the company name.
Phase 2: Connect in Lumos
  1. In Lumos, go to Integrations and click the JetBrains card.
  2. Enter the API Token and Customer Code from Phase 1.
  3. Click Connect. Lumos checks the token by listing your licenses, and the card then shows the integration’s sync status. Users should appear after the first sync completes.
💡 Only users assigned a license appear in Lumos. Why licenses come from the Account API. Lumos reads licenses and their assignments from the JetBrains Account API. It doesn’t use the License Vault API, because the License Vault API doesn’t carry the user information Lumos needs. Lumos builds its user list from license assignments, so only users assigned a license appear.

API Endpoints Used

Troubleshooting

Can’t connect the integration. Confirm the Accounts API is enabled for your JetBrains Accounts, and that the API Token and Customer Code are correct. Some accounts or licenses are missing. The token’s access follows the owner’s role. A Team Admin token covers only licenses and accounts within their team, and only users assigned a license appear at all. Use an Organization Admin token for full coverage. License sync fails with 429 “Too many requests”. Lumos paces its requests to the JetBrains Account API to stay under JetBrains’ rate limits. If a sync keeps failing with 429, contact support@lumos.com.