# 2.8 – Integrating a license

To integrate a license file into SparkView, please note the following steps:

1. Stop SparkView service
2. Copy the license file into the SparkView root directory
    - Windows default: `C:\Program Files\Remote Spark\SparkGateway`
    - Linux/macOS default: `/usr/local/bin/SparkGateway`
4. Rename the license file to `license`. **Important: no file extension!**
5. Start SparkView Service

You can then check the license status via config.html at the bottom:
<img style="width: 100%; max-width: 500px; border: 1px solid #0075bf; border-radius: 5px; margin-top: 5px;" src="https://docs.sparkview.info/uploads/images/gallery/2024-03/scaled-1680-/bildschirmfoto-2024-03-13-um-11-46-53.png" alt="SparkView license status"/>

If the license file is in a different location, please specify this via the corresponding parameter in the gateway.conf file:
```bash
# Example for Windows
license = C:\\Program Files\\Remote Spark\\SparkGateway\\licensefile

# Example for Linux/macOS
license = /usr/local/bin/SparkGateway/licensefile
```