=============
Organizations
=============

An organization is a group of Anaconda Cloud accounts with a managed set of rights and permissions. Creating an organization for your team in Anaconda Cloud allows you to:

* Provide a common collaboration space
* Ensure consistent tooling
* Manage access and costs

.. note::

    Anaconda Cloud users can create and belong to multiple organizations.

.. _create_org:

Creating an organization
========================

#. |sign_in|.
#. Navigate to your |organizations| page. 
#. Click **Create Organization**.

   .. thumbnail:: /img/create_new_org.png
      :align: center

#. Follow the on-screen instructions to set up your organization. It's okay to skip steps two and three; you can add a description and invite members to the organization later. 

   .. note:: 

      * As the creator, you are the owner and default admin of the organization.
      * The *Name of Organization* is the publicly displayed name of your organization and can be changed at any time after it is created.
      * The *Organization ID* is the organization's Uniform Resource Locator (URL) identifier and must be unique. *Once the Organization ID is assigned, it cannot be changed.*

Subscribing your organization
=============================
      
For information and help with managing the subscription for your organization, see :ref:`Subscriptions <org_subscription>`.

Managing large organizations
============================

Manually adding members to your organization via the UI can be tedious when your user base numbers in the hundreds or more. Expedite the process using the Anaconda Cloud API to add users to your organization, assign them a seat, and issue them a token. 

.. grid:: 1

    .. grid-item::
        
        .. button-link:: https://docs.anaconda.com/api/pro-business-user-token-management/#managing-your-organization-using-the-anaconda-cloud-api
            :color: primary
            :align: center
            
            Automate onboarding your organization members using the API!
            
Managing organization members
=============================

Inviting members to your organization
-------------------------------------

With an organization created and multi-license subscription purchased, you are ready to invite users to your organization and assign them seats (licenses).

#. Navigate to your |organizations| page. 
#. Select your organization.
#. Select |envelope| **Invitations** in the left-hand navigation.
#. Select **Invite Users**, enter your team member's email address, and then press tab. Repeat this process to continue adding members. 

   .. note:: 
      
      Alternatively, you can select **Bulk Upload** and upload a ``.csv`` file containing your team members' email addresses (for larger organizations). 

        .. thumbnail:: /img/nucleus-organization-user-bulk-upload.png
            :align: center

#. Click **Invite Members** to send the invitations. 

Once you invite your member(s), they will receive an email to join the organization. Accepting the invitation in the email redirects them to the Anaconda Cloud login page. Once logged in, they can accept the invitation and join the organization.

.. note::

    If the invited team member does not have an Anaconda Cloud account, they can create one using the email that the invite was sent to, then join the organization.

Reissuing an invitation
-----------------------

Invitations expire after seven days. You can reissue an invitation to a user to provide them with another seven days to accept the invitation.

.. tab-set:: 

    .. tab-item:: Reissue individual invite

        #. Navigate to your |organizations| page. 
        #. Select your organization.
        #. Select |envelope| **Invitations** in the left-hand navigation.
        #. Select the user you need to reissue an invitation for. 
        #. Click |paper-plane| **Resend Email Invite**. 

    .. tab-item:: Reissue multiple invites

        #. Navigate to your |organizations| page. 
        #. Select your organization.
        #. Select |envelope| **Invitations** in the left-hand navigation.
        #. Click **Resend Invitations**.
        #. Select the checkboxes for users whose invitations you want to reissue, then click **Resend Invitations**.
        #. Click **Resend** to confirm you want to reissue the invitations.

Removing an invitation
----------------------

If you have invited someone to your organization in error, you can remove the invitation you sent. This also prevents the invitation recipient from being able to join your organization.

.. tab-set:: 

    .. tab-item:: Remove individual invite

        #. Navigate to your |organizations| page. 
        #. Select your organization.
        #. Select |envelope| **Invitations** in the left-hand navigation.
        #. Select the user whose invitation you need to remove. 
        #. Click |ban| **Remove Invite**. 

    .. tab-item:: Remove multiple invites

        #. Navigate to your |organizations| page. 
        #. Select your organization.
        #. Select |envelope| **Invitations** in the left-hand navigation.
        #. Click **Remove Invitations**. 
        #. Select the invitations you want to remove, then click **Remove Invitations**.
        #. Click **Remove** to confirm you want to remove the invitations.

Assigning organization seats
----------------------------

Once a member has accepted their invitation, you must assign them a seat (license) before they can issue themselves a token and access your org channels. 

.. tab-set:: 

    .. tab-item:: Assign individual seat

        #. Navigate to your |organizations| page. 
        #. Select your organization.
        #. Select |user-check| **Users** from the left-hand navigation. 
        #. Select the user you need to assign a seat to. 
        #. Click |user-plus| **Assign Seat**. 

    .. tab-item:: Assign multiple seats

        #. Navigate to your |organizations| page. 
        #. Select your organization.
        #. Select |user-check| **Users** from the left-hand navigation.
        #. Click **Assign Seats**. 
        #. Select the checkboxes for users you want to assign a seat to, then click **Assign Users**.
        #. Click **Assign** to confirm.

.. note:: 

   Once you assign a member a seat in your organization, they will receive an email with a link to join the organization. Instruct them to open the link and go to the |key| **Token Access** page to issue themself a token. For more information, see :doc:`Tokens <tokens>`.

Changing a member's role
------------------------

A user's role determines their permissions within the organization. 

#. Navigate to your |organizations| page. 
#. Select your organization.
#. Select |user-check| **Users** from the left-hand navigation. 
#. Select the user whose permissions you need to change.
#. Click |user-gear| **Assign as Account Admin**, |user-gear| **Assign as Billing Manager**, or |user-minus| **Assign as Member**. Available options are based on the user's current role.

   .. note:: 

      You must be an administrator to update user roles. Administrators cannot change their own role.

#. Confirm your role assignment to set the user's permissions.

Revoking a member's seat
------------------------

If you have a user who no longer requires a seat in your organization, you can revoke their seat while retaining the user as a member of the organization. Revoking a members seat will invalidate their token and prevent them from accessing your organization channels.

.. tab-set:: 

    .. tab-item:: Revoking individual seat

        #. Navigate to your |organizations| page. 
        #. Select your organization.
        #. Select |user-check| **Users** from the left-hand navigation. 
        #. Select the user whose seat is being revoked.
        #. Click |user-xmark| **Revoke Seat**.
        #. Click **Revoke Seat** to confirm.

    .. tab-item:: Revoking multiple seats

        #. Navigate to your |organizations| page. 
        #. Select your organization.
        #. Select |user-check| **Users** from the left-hand navigation.
        #. Click **Revoke Seats**. 
        #. Select the checkboxes for the users whose seats are being revoked, then click **Revoke Users**.
        #. Click **Revoke** to confirm.

Removing a user from the organization
-------------------------------------

If you want to remove a member from your organization completely:

#. Navigate to your |organizations| page. 
#. Select your organization.
#. Select |user-check| **Users** from the left-hand navigation.
#. Select the user you're removing from the organization.
#. Click |users-slash| **Remove from Organization**.
#. Click **Remove User** to confirm. 

Purchasing additional seats
===========================

You can purchase additional seats for your organization at any time. 

#. Navigate to your |organizations| page. 
#. Select your organization.
#. Select |money-check-dollar| **Subscription** from the left hand navigation. 
#. Click **Manage Subscription** |arrow-up-right-from-square| to purchase additional seats. 

Leaving an organization
=======================

To leave an organization you're a member of:

#. Navigate to your |organizations| page. 
#. Select your organization.
#. Click **Leave <ORG_NAME> Organization**.

   .. thumbnail:: /img/cloud-leave-organization.png
      :align: center

   .. note:: 

      Users with the administrator role cannot leave the organization.

.. _edit_org_settings:

Editing organization settings
=============================

Organization administrators are provided with some control over the access their members have to Anaconda Cloud assets, ensuring that members have appropriate access to the tools and data they need, while safeguarding sensitive information by restricting access where necessary.

#. Navigate to your |organizations| page.
#. Select your organization.
#. From the |building| **Org Profile** page, click |pen-to-square| **Edit Organization Settings** beside the organization name.
#. Toggle settings ``ON`` or ``OFF`` as needed.
#. Click **Save Changes**.

Available organization settings
-------------------------------

* **AI Navigator** - Controls your organization members' ability to access AI Navigator.
* **Cloud Notebooks** - Controls your organization members' ability to access Cloud Notebooks.

.. caution:: 

    Blocking access to these Anaconda Cloud assets prevents your organization members from using them completely, even when working outside of your organization.

.. |money-check-dollar| raw:: html

   <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 576 512"><path d="M64 96c-17.7 0-32 14.3-32 32V384c0 17.7 14.3 32 32 32H512c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zM0 128C0 92.7 28.7 64 64 64H512c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zM272 288H464c8.8 0 16 7.2 16 16s-7.2 16-16 16H272c-8.8 0-16-7.2-16-16s7.2-16 16-16zm-16-80c0-8.8 7.2-16 16-16H464c8.8 0 16 7.2 16 16s-7.2 16-16 16H272c-8.8 0-16-7.2-16-16zm-96-56v17.3c8.5 1.2 16.7 3.1 24.1 5.1c8.5 2.3 13.6 11 11.3 19.6s-11 13.6-19.6 11.3c-11.1-3-22-5.2-32.1-5.3c-8.4-.1-17.4 1.8-23.6 5.5c-5.7 3.4-8.1 7.3-8.1 12.8c0 3.7 1.3 6.5 7.3 10.1c6.9 4.1 16.6 7.1 29.2 10.9l.5 .1 0 0 0 0c11.3 3.4 25.3 7.6 36.3 14.6c12.1 7.6 22.4 19.7 22.7 38.2c.3 19.3-9.6 33.3-22.9 41.6c-7.7 4.8-16.4 7.6-25.1 9.1V360c0 8.8-7.2 16-16 16s-16-7.2-16-16V342.2c-11.2-2.1-21.7-5.7-30.9-8.9l0 0c-2.1-.7-4.2-1.4-6.2-2.1c-8.4-2.8-12.9-11.9-10.1-20.2s11.9-12.9 20.2-10.1c2.5 .8 4.8 1.6 7.1 2.4l0 0 0 0 0 0c13.6 4.6 24.6 8.4 36.3 8.7c9.1 .3 17.9-1.7 23.7-5.3c5.1-3.2 7.9-7.3 7.8-14c-.1-4.6-1.8-7.8-7.7-11.6c-6.8-4.3-16.5-7.4-29-11.2l-1.6-.5 0 0 0 0c-11-3.3-24.3-7.3-34.8-13.7c-12-7.2-22.6-18.9-22.7-37.3c-.1-19.4 10.8-32.8 23.8-40.5c7.5-4.4 15.8-7.2 24.1-8.7V152c0-8.8 7.2-16 16-16s16 7.2 16 16z"/></svg>

.. |envelope| raw:: html

   <i class="fa-regular fa-envelope"></i>

.. |paper-plane| raw:: html

   <i class="fa-light fa-paper-plane"></i>

.. |ban| raw:: html

   <i class="fa-light fa-ban"></i>

.. |user-check| raw:: html
   
    <svg xmlns="http://www.w3.org/2000/svg" width="1.2em" height="1.2em" viewBox="0 0 640 512"><path d="M128 128a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM269.7 336c80 0 145 64.3 146.3 144H32c1.2-79.7 66.2-144 146.3-144h91.4zM224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3zm457-116.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L496 281.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"/></svg>

.. |user-plus| raw:: html
   
   <i class="fa-light fa-user-plus"></i>

.. |user-minus| raw:: html
   
   <i class="fa-light fa-user-minus"></i>

.. |user-xmark| raw:: html
   
   <i class="fa-light fa-user-xmark"></i>

.. |user-gear| raw:: html
   
   <i class="fa-light fa-user-gear"></i>

.. |users-slash| raw:: html
   
   <i class="fa-light fa-users-slash"></i>

.. |key| raw:: html
   
   <i class="fa-light fa-key"></i>

.. |arrow-up-right-from-square| raw:: html

   <i class="fa-light fa-arrow-up-right-from-square"></i> 

.. |building| raw:: html

   <i class="fa-regular fa-building"></i>

.. |pen-to-square| raw:: html

   <i class="fa-solid fa-pen-to-square"></i>

.. |organizations| raw:: html 

    <a href="https://anaconda.cloud/profile/organizations" target="_blank" rel="noreferrer noopener nofollow">Organizations</a>

.. |sign_in| raw:: html

    <a href="https://auth.anaconda.cloud/ui/login/" target="_blank" rel="noreferrer noopener nofollow">Sign in to Anaconda Cloud</a>