# Configuring Sonatype Nexus

After installing Sonatype Nexus, you need to create and configure the required repositories in Nexus manually.

## Before you begin

Download and install Sonatype Nexus. For more information, see the official [Download](https://help.sonatype.com/repomanager3/download/download-archives---repository-manager-3) page.

## Configuring Nexus manually

You can create the roles, users, and repositories manually.

### Procedure

1. Start by running Nexus.
2. Go to the Sonatype Nexus Repository Manager interface.
3. Go to the Repositories tab to create the following repositories:
   * talend-updates
   * talend-custom-libs-snapshot
   * talend-custom-libs-release
   1. Click Create repository.
   2. Select maven2 (hosted) from the list.
   3. Name your repository talend-updates.
   4. Under the sub-section version policy, select Release.
   5. Click Create repository to save your changes.
   6. Create another maven2 (hosted) repository named talend-custom-libs-snapshot.
   7. Under the sub-section version policy, select snapshot.
   8. Click Create repository to save your changes.
   9. Create the last maven2 (hosted) repository and name it talend-custom-libs-release.
4. Under the sub-section version policy, select Release.
5. Go to the Roles tab, click Create role &gt; Nexus role and create the following roles with the following privileges added to the Given list:
   | Option | Description |
   | --- | --- |
   | **Role ID** | **Privileges** |
   | talend-updates-admin | nx-repository-view-maven2-talend-updates-add<br><br>nx-repository-view-maven2-talend-updates-browse<br><br>nx-repository-view-maven2-talend-updates-edit<br><br>nx-repository-view-maven2-talend-updates-read<br><br>nx-script-\*-run |
   | talend-updates-read-only | nx-repository-view-maven2-talend-updates-read<br><br>nx-repository-view-maven2-talend-updates-browse<br><br>nx-script-\*-run |
   | talend-custom-libs-admin | nx-repository-view-maven2-talend-custom-libs-release-add<br><br>nx-repository-view-maven2-talend-custom-libs-release-browse<br><br>nx-repository-view-maven2-talend-custom-libs-release-edit<br><br><br>nx-repository-view-maven2-talend-custom-libs-release-read<br><br>nx-repository-view-maven2-talend-custom-libs-snapshot-add<br><br>nx-repository-view-maven2-talend-custom-libs-snapshot-browse<br><br>nx-repository-view-maven2-talend-custom-libs-snapshot-edit<br><br>nx-repository-view-maven2-talend-custom-libs-snapshot-read<br><br>nx-script-\*-run |
   | talend-custom-libs-snapshot-read-only | nx-repository-view-maven2-talend-custom-libs-snapshot-browse<br><br><br>nx-repository-view-maven2-talend-custom-libs-snapshot-read<br><br>nx-script-\*-run |
   | talend-custom-libs-release-read-only | nx-repository-view-maven2-talend-custom-libs-release-browse<br><br>nx-repository-view-maven2-talend-custom-libs-release-read<br><br>nx-script-\*-run |
6. Under the Users tab, create the following users:
   * talend-updates-admin: this user is used in Talend Administration Center Configuration &gt; Software Update group. Talend Administration Center downloads the patch from Talend Update Server and uses this account to upload the patch to Nexus. Talend Studio can download the patch from Nexus without credentials.
   * talend-custom-libs-admin: this user is used in Talend Administration Center Configuration &gt; User Libraries group. Talend Studio gets the configuration information from Talend Administration Center to upload and download third-party libraries.
   1. Click Create local user.
   2. Write talend-updates-admin as the ID and fill the other required fields.
   3. Go to the Roles sub-section and add talend-updates-admin to the Granted list.
   4. Click Create local user.
   5. Create the user with the talend-custom-libs-admin ID.
   6. Go to the Roles sub-section and add talend-custom-libs-admin to the Granted list.
   7. Open the admin user.
   8. Add the nx-admin role to the Granted list.
   9. Open the anonymous user.
   10. Add the nx-anonymous, talend-custom-libs-release-read-only, talend-custom-libs-snapshot-read-only and talend-updates-read-only roles to the Granted list.

       Information noteImportant: The anonymous user is not secure and not used in Talend Administration Center or Talend Studio. It is recommended to disable the anonymous user in Nexus.

### What to do next

Once the Nexus repository is installed and launched, you can go to the Configuration page of Talend Administration Center and add the configuration settings for the created repositories. For more information, see [Setting up Software Update parameters](https://help.qlik.com/talend/en-US/administration-center-user-guide/8.0/setting-up-software-update-parameters), [Setting up the artifact repository parameters](https://help.qlik.com/talend/en-US/administration-center-user-guide/8.0/setting-up-artifact-repository-parameters), and [Setting up the user library location](https://help.qlik.com/talend/en-US/administration-center-user-guide/8.0/setting-up-user-library-location).