Install a license key
You can use the System Console or the mmctl tools to add or change a Mattermost license key.
- Use System Console
- Use mmctl
- Go to System Console > About > Edition and License.
- Upload your license key file.
Once the key is uploaded and installed, the details of your license are displayed.
Use the mmctl license upload command to upload a new license or replace an existing license file with a new one. When complete, restart the Mattermost server. If you're running in a High Availability environment, the new license file must be updated to every node.
mmctl license upload [license] [flags]
Change an existing license key
You don't need to wait for your current license key to expire before replacing it with a new license from Mattermost. The server only checks for seat count and license end date, not the start date, so you can apply a new license as soon as you receive it. However, ensure your new license is for a seat count that's greater than or equal to your current total number of Mattermost users.
Follow these steps to change your license key:
- Go to System Console > About > Edition and License.
- From Mattermost v6.7, simply upload your new license key file.
License key storage
Once you've uploaded your license key to your Mattermost server, it's stored in your SQL database at mattermost.Licenses. You can check what keys are on your server by running select * from mattermost.Licenses;.
Book a live demo or talk to a Mattermost expert to explore tailored solutions for your organization's secure collaboration needs. Or try Mattermost yourself with a 1-hour preview for instant access to a live sandbox environment.