.. _fleets-compositions: ====================== Compositions ====================== *This chapter describes how to use compositions within a fleet.* Adding the first composition ------------------------------ When you click the **Compositions** tab in the navigation bar, you will see an empty list of compositions and an **Add first composition** button. .. image:: ../images/fl-compositions-empty-list.png :alt: List of compositions :align: center :width: 100% Press the **Add first composition** button and choose one of the existing compositions. If you don't have any compositions yet, see **REFERENCE TO THE COMPOSITION PAGE**. .. figure:: ../images/fl-adding-composition.png :alt: Adding a composition :align: center :width: 100% Adding a composition Press the **Add** button and your composition will be added to your fleet. .. note:: Adding the composition doesn't automatically deploy the application(s) to the devices, see :ref:`fleets-releases` for more details. Adding more compositions --------------------------------- Your fleet now has its first composition, but a fleet can contain several. To add a new composition, click on the dropdown menu that shows the name of the composition you added earlier. .. image:: ../images/fl-adding-second-composition.png :alt: Finding the Add composition button :align: center :width: 100% Press **Add composition** and choose the required composition. After you have added a new composition, you can use the dropdown menu to switch between compositions. Detaching a composition ------------------------ If a composition is no longer needed in your fleet, it can be detached from the fleet. .. note:: You cannot detach a composition if its release has not been fully deployed. To detach a composition, press the **Detach** button shown below: .. image:: ../images/fl-detaching-cmposition.png :alt: Detaching composition button :align: center :width: 100% .. important:: Detaching a composition that was released removes all associated applications from the devices. Deploying compositions -------------------------- Deploying a composition is called a release. To learn how to create and manage releases, see :doc:`../fleets-releases/fleets-releases`.