# Floating Features

### Floating Product Feature Setup

Before creating a floating product feature, set up the product first: [Creating & Configuring Products](https://docs.licensespring.com/getting-started/creating-and-configuring-products).

To create floating feature go to **Product** -> **Features** -> **Add product feature** \[button]

![Create floating feature](https://content.gitbook.com/content/gLzurdfXUuKr9IziZWLz/blobs/LCDVgr7CrSPkDIOH40E3/F%20VZbcMixoUwfgdkhqPIE_scr%2020231025%20mtdc.png)

* Check `Is floating cloud` checkbox
* Enter default value for `Max simultaneous feature users` (in the data model this is the `floating_users` field which determines how many users can use the feature simultaneously)
* Enter default value for `Floating timeout` (after how many minutes of inactivity the license feature device will be released)

{% hint style="info" %}
`Max simultaneous feature users` and `Floating timeout` fields are default values for Product features and they can be overwritten when creating License product feature.
{% endhint %}

### Create License Product Feature

License product feature is created when issuing a license and attaching a feature to it.

This can be done programmatically when creating an order or editing license features using the Management API. See: [Create Product Feature](https://docs.licensespring.com/management-api/product/features/create-product-feature). Floating features will have an orange colored label `floating`.

Here you can also overwrite default values for `Max simultaneous license users` and `Floating timeout`.

![](https://content.gitbook.com/content/gLzurdfXUuKr9IziZWLz/blobs/m5vTSd5Grs9RTsTKM8ns/qi0wvbpb6aFGuXUhF3rs3_image.png)

### License Features View

To see the License product features details go to the **License** -> **Product features** \[tab].

![](https://content.gitbook.com/content/gLzurdfXUuKr9IziZWLz/blobs/VwraSn6wWH9HE8yJxxrt/QDX_lZCVJCAxyPbAZfY7T_image.png)

If a license feature is a floating feature, under the **Floating slots** column you should see information about how many floating slots are available and how many are used in the form `used_slots/max_slots` (e.g. `1/5` = one used slot of five available). Additional floating feature information can be observed when expanding the row by clicking on the `Details` icon on that row. Fields displayed there will be:

* `Is floating cloud`
* `Max simultaneous users`
* `Floating timeout`

The **Devices** column will display all the devices which were used to check the specific feature using the License API endpoint `/api/v4/check_license_feature`. See: [License Feature Check](https://docs.licensespring.com/license-api/license-feature-check).

{% hint style="info" %}
Any license device can check any license feature; it does not have to be a floating feature. This allows displaying a clear connection between license devices and the features they use. It is not required for non-floating features.
{% endhint %}

Clicking on a Devices cell for some feature will open the **License feature devices pop-up** with a list of all feature devices.

![License feature devices popup](https://content.gitbook.com/content/gLzurdfXUuKr9IziZWLz/blobs/oN7AJhiBiJczJRxXtis7/yH_5x1CKmIGLEIRi1wfkc_scr%2020231026%20koan.png)

Floating feature devices will have additional columns:

* `In use` - Boolean representing if this device is using a floating feature slot
* `Revoke` - Action button which opens a confirmation window. On confirm that device will be released and the floating slot will be opened for another device. Only devices which are in use can be revoked using the UI.

![Confirmation popup](https://content.gitbook.com/content/gLzurdfXUuKr9IziZWLz/blobs/fHGijV2nZex0KvgZTGH6/gfoyK1B9V54IaGfEpFK40_scr%2020231026%20kobs.png)

{% hint style="warning" %}
Borrowing for license floating features is not implemented at the moment.
{% endhint %}
