Integration with Team Edition


Anaconda Navigator has everything a user needs to setup the Team Edition API domain and login with credentials. It is easy to add channels and install/update packages from Anaconda Team Edition with Anaconda Navigator.

Set Team Edition API domain

To set the Team Edition API domain, go to the navigation bar and click on Preferences. In the text field labeled Team Edition API domain, enter the valid domain name:

../../../../_images/nav-team-edition.png

Alternatively, this API domain can be set through the Configure Conda action:

  1. Click the button Configure Navigator:
../../../../_images/nav-team-edition-2.png

  1. In the popup find the option team_edition_api_url in the section [main] and enter your domain name (by default, the value is set to None):
../../../../_images/nav-team-edition-3.png

  1. Click Save and Restart. The application will restart and the setting will be set.

Yet another option for users is to change this setting directly where the anaconda-navigator.ini file is located by default.

Note

The domain must be a full path without a trailing slash, for example: http(s)://ate-mysite.com

Login Action

To integrate with Team Edition, click Sign in in the top right corner of the Navigator application. In the popup, click on the Team Edition tab, enter the credentials you use to log in to your Team Edition instance, and then click Login.

../../../../_images/nav-team-edition-4.png

If all credentials are correct, you will be signed in. If the Team Edition API domain is not set, however, an error message like the following will appear:

../../../../_images/nav-team-edition-5.png

Login Mechanism

A few things happen “under the hood” when you successfully log in:

  • Your access token is created for Team Edition. This provides you with the ability to access private/authenticated/public channels, create environments, and download packages.

    ../../../../_images/nav-team-edition-6.png

  • logged_api_url, team_edition_token, and team_edition_token_id in the Navigator config file (anaconda-navigator.ini) are updated. This is mostly system data to help Navigator integrate with the Team Edition server.

    ../../../../_images/nav-team-edition-7.png

  • The Conda configuration file (.condarc) is modified:
    1. channels is set to an empty list so you can set appropriate channels
    2. default_channels, if present, will be removed
    3. channel_alias is set to the login used to access your Team Edition instance.
    ../../../../_images/nav-team-edition-8.png
  • The access token is stored locally, which gives Conda ‘native’ access to remote channels and packages.

Integration

Once signed in, you will be able to add private channels in the “Manage Channels” popup using the <my_channel_name> format, rather than t/<token>/<my_channel_name>.

Click update index to gain access to all packages located in private/authenticated/public channels in the Team Edition instance.

Logout Action

A few things happen “under the hood” when you successfully log out:

  • The Conda configuration file (.condarc) returns to the state it was in before the login. (Navigator saves a copy of the .condarc file before a login in attempted.)
  • logged_api_url, team_edition_token, and team_edition_token_id are set to None in the Navigator config file (anaconda-navigator.ini).
  • The access token created in the Team Edition instance is removed.
  • The access token that was stored locally is removed.

Troubleshooting

If you are having issues logging in or know you’re logged in but cannot interact with Team Edition, see Trouble logging in to Team Edition from Navigator.