# How to License the groundSwXtch > [!NOTE] > **WHAT TO EXPECT** > > In this article, users will learn how to license a groundSwXtch with a license file provided by swXtch.io. ## Locating the Fingerprint and Requesting a License To receive a license file from swXtch.io Support, users need to provide the groundSwXtch fingerprint, which is shown in the groundSwXtch User Interface. 1. Open the groundSwXtch User Interface. Replace `` with the IP address of the groundSwXtch: ```shell http:/// ``` 2. Select the **Configure** tab and select the groundSwXtch that needs a license (if it does not appear, see [Add groundSwXtch](../../using-groundswxtch-user-interface/how-to-add-edit-and-remove-groundswxtches.md#add-groundswxtch)). ![Configure tab with the groundSwXtch selected at the top and the Copy button next to the license fingerprint highlighted](../../assets/document360/b92bbab531-image-424.png) 3. Select **Copy** and send the groundSwXtch fingerprint to [support@swxtch.io](mailto:support@swxtch.io). ## Adding the License File to the groundSwXtch After receiving the license file from swXtch.io, users need to add it to their groundSwXtch. 1. Copy the contents of the license file. 2. Open the groundSwXtch User Interface. Replace `` with the IP address of the groundSwXtch: ```shell http:/// ``` 3. Select the groundSwXtch and select the **Configure** tab (if it does not appear, see [Add groundSwXtch](../../using-groundswxtch-user-interface/how-to-add-edit-and-remove-groundswxtches.md#add-groundswxtch)). 4. Paste the license into the **Install/replace license** section and select **Preview & apply**: ![License & capacity section of the Configure tab with a license pasted into the Install / replace license box, above Preview & apply](../../assets/document360/1202eb9796-image-425.png) 5. The **Review license entitlements** window opens, showing the current and proposed license entitlements. ![Review license entitlements window comparing the current and new expiry date and customer, with Apply license highlighted](../../assets/document360/a624adc927-gs-licence-3.png) 6. If the changes are acceptable, select **Apply license**; otherwise, select **Cancel**. 7. The license entitlements are now shown. 8. On the main groundSwXtch page, a green icon also shows that the groundSwXtch is licensed. ## Alternative: License from the Command Line Without a browser (for example, on an air-gapped host), run these commands on the groundSwXtch host: 1. Get the fingerprint and send it to [support@swxtch.io](mailto:support@swxtch.io): ```shell curl http://127.0.0.1/api/v1/license/fingerprint ``` 2. Copy the license file received from swXtch.io into place: ```shell sudo cp license.key /var/lib/groundswxtch/license.key ``` 3. Load the license. No container restart is needed: ```shell curl -X POST http://127.0.0.1/api/v1/license/reload ``` The installer can also add the license during the installation with `--license-dir `: it copies `/license.key` into `/var/lib/groundswxtch` when no license is installed yet.