Connecting Navigator to other repositories
Navigator integrates with Anaconda’s free, public repository and premium, curated repository through different connection points. For more information, see our pricing page.
You can only be signed into one repository service at a time. However, you can be signed into Anaconda Cloud while also signed into a repository service.
How to connect to other repositories
This guide takes you through the connection setup for Package Security Manager (Cloud and On-prem):
Anaconda Enterprise 4 is deprecated.
The Anaconda Professional sign in is used for both Anaconda Professional and Package Security Manager (Cloud) connections.
-
Click Connect in the top-right corner of the Navigator application.
-
Sign in to Anaconda Professional.
-
Enter your token to log in to your Pro/Package Security Manager instance.
-
Click Set Token. If your token is valid, you will be signed in.
For more information on adding channels from your Package Security Manager (Cloud) repo to Navigator, see Adding an organization channel to your .condarc file in the Package Security Manager (Cloud) documentation.
What happens when you connect to a repository
Navigator performs a few actions for you automatically when you connect to your repository:
- The
conda-token
tool sets your supplied organization token and automatically managesdefault_channels
.
If you have already logged in to your repository using a CLI, Navigator detects that when it opens and shows a connection to that repository automatically. If you log out from your repository connection in Navigator, your CLI session is also affected accordingly.
Anaconda Server token authentication
Your access token for Anaconda Server provides you with the ability to access your own private server channel. The access token is stored locally, which gives conda native access to your remote channel and packages.
To use other’s private channels in Anaconda Server, see Setting/using a token in the Package Security Manager documentation.
The variables anaconda_server_token
and anaconda_server_token_id
in the Navigator config file (anaconda-navigator.ini
) are also updated when you first connect to Anaconda Server. This is mostly system data to help Navigator integrate with Anaconda Server.
The token and token ID config variable names have been updated from team_edition_token
to anaconda_server_token
and team _edition_token_id
to anaconda_server_token_id
as of Version 2.4.0. If you downgrade your Navigator application to a version older than 2.3.0, you will need to manually change these variable names back to their older versions within your anaconda-navigator.ini
file.
Changing the repository connection domain
When you first connect Navigator to a Server repository, you enter a domain URL before your login credentials. To change this domain:
-
Go to Preferences.
-
In Anaconda Server API domain, enter a valid domain name.
The domain must be a full path without a trailing slash. For example:
http(s)://mysite.com
-
Click Apply to save your changes.
How to disconnect from a repository
You can only be connected to one repository at a time.
To disconnect from a repository:
- Click Connect.
- Click Sign out beside the repository you are signing out of.
Channels that you have added to Navigator from Anaconda.org or a professional (repo.anaconda.cloud) repository are not automatically removed when you disconnect from those repositories. Navigator will still search those channels and install packages from them. If you no longer want those channels to be searched:
-
Open Preferences from the File, Anaconda Navigator, or python menus, depending on your setup.
-
Click Configure Conda.
-
Delete any channels in the
channels:
list that you no longer want to be connected to. Anaconda recommends against deletingdefaults
.For example, let’s say you have disconnected from a Package Security Manager repository and have the following
channels:
list:You would delete the first two lines and leave
defaults
in yourchannels:
list. -
Click Save and Restart.
What happens when you disconnect from a repository
Navigator performs a few actions for you automatically when you disconnect from your repository:
- The
conda-token
tool removes your supplied organization token.
Troubleshooting
If you are having issues logging in to Anaconda Server or know you’re logged in but cannot interact with Anaconda Server, see Trouble logging in to the Anaconda Server connection in Navigator.
Was this page helpful?