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- Log in to the JetBrains Account portal as a user with the role you chose above.
- In the Licenses table, select the customer you want to connect.
- In the left navigation, choose Administration and click Enable API.
- When the page reloads, click Generate Token. The token is shown only once, so copy it and save it securely.
- Note your Customer Code: the Company Profile ID shown on the JetBrains Account portal next to the company name.
- In Lumos, go to Integrations and click the JetBrains card.
- Enter the API Token and Customer Code from Phase 1.
- 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.