# Sonatype Nexus Repository + Lutril: setup guide

> Lutril connects to your self-hosted Nexus Repository with a user token used as Basic auth. You provide the base URL, the token name code as the username, and the token passcode as the password.

Source: https://www.lutril.com/integrations/nexus
Category: Developer tools
Auth: api_key
Last verified: 2026-06-17

---

## Setup

1. In Nexus Repository, select your username at the top right of the toolbar to manage your account.
2. Open the User Token tab in the left navigation, then click Access User Token.
3. Re-enter your credentials and Authenticate; copy the token name code (username) and token passcode (password).
4. In Lutril, connect Nexus, enter your Nexus base URL, then the token name code as the username and the passcode as the password.

## Access requested

- The permissions of the Nexus user the token belongs to (an administrator role is needed to manage users)

## References

- [Sonatype Nexus Repository documentation](https://help.sonatype.com/en/user-tokens.html)
- [User tokens API reference](https://help.sonatype.com/en/user-tokens-api.html)
