# Manage your Buttons license

> Assign a license seat to a machine, release it to move it to new hardware, and recover an assignment after a reset or reinstall.

Buttons lets you move a license between machines as your hardware changes: assign it where it's needed, release it when it's not, and get it back in one click if a machine's local setup ever gets reset. This page covers assigning a license to a machine, moving one between machines, recovering a license after a reset, and what to do if a licensed machine is gone for good.

## Before you begin

- A Bitfocus account that owns an available license seat. Purchase or manage seats at the [Bitfocus user portal](https://bfoc.us/5rxzwa76bg).
- Access to **Settings → License** on the machine you're licensing.

## Assign a license to this machine

1. Open **Settings → License** and select **Sign in**, using the Bitfocus account that owns the license.

![Settings → License before signing in, showing the Sign in button, No active base license under Current Base License, and the Machine ID at the bottom](https://bitfocus.io/api/docs-media/file/license-page-signed-out.png?prefix=docs-media)

![The Bitfocus account sign-in form on the License page, with email and password fields and a Login button](https://bitfocus.io/api/docs-media/file/sign-in-form.png?prefix=docs-media)

2. Under **Assigned Licenses**, each of your available licenses shows its seat count, renewal date, and validity window. Select **Assign** on the one you want.

![The signed-in License page listing the account's licenses with their available-of-total seat counts and an Assign button on each row](https://bitfocus.io/api/docs-media/file/available-licenses.png?prefix=docs-media)

3. Assigning doesn't apply immediately: it stages the change and opens a preview showing the resulting surface count for this machine. Review it, then select **Confirm**.

![The staged assignment panel showing the licenses to be assigned, a New State summary with the renewal and validity dates and resulting surface count, and Cancel and Confirm buttons](https://bitfocus.io/api/docs-media/file/assign-preview.png?prefix=docs-media)

The license is now active on this machine.

![The License page after confirming, with the assigned base licence shown in green under Current Base License and the account's available seat counts reduced](https://bitfocus.io/api/docs-media/file/license-active.png?prefix=docs-media)

## Example: moving a license to a new machine

A machine is being replaced, and its license needs to move to the new one instead of sitting on hardware that's being retired.

1. On the **old** machine, open **Settings → License**, sign in, and select **Release License** on the license you want to free up.

![The overflow menu open on an assigned license, offering Release 1 License and Release All Licenses](https://bitfocus.io/api/docs-media/file/release-license-menu.png?prefix=docs-media)

2. This is also staged rather than immediate. If the old machine has more surfaces attached than the license would allow after release, **Confirm** stays disabled and Buttons tells you how many surfaces to disable first: release those surfaces' connections before continuing.

![The staged release panel with a warning reading that six surfaces are enabled and four must be disabled to continue, and the Confirm button greyed out](https://bitfocus.io/api/docs-media/file/release-blocked-by-surfaces.png?prefix=docs-media)

3. Select **Confirm** to release the license back to your account's pool.

![The staged release panel with the surface count within the limit, showing New State as No active base license and an enabled Confirm button](https://bitfocus.io/api/docs-media/file/release-preview.png?prefix=docs-media)

![The License page after release, with the seat counts returned to the account pool and No active base license under Current Base License](https://bitfocus.io/api/docs-media/file/licenses-after-release.png?prefix=docs-media)

4. On the **new** machine, follow **Assign a license to this machine** above using the same license.

## Recover a license after a reset

If a machine's local database was wiped or Buttons was reinstalled, your account may still hold that machine's license assignment even though the machine no longer shows it as active.

![The Free badge shown beside Settings in the lower-left corner of an unlicensed system](https://bitfocus.io/api/docs-media/file/free-badge.png?prefix=docs-media)

1. Open **Settings → License** and sign in with the account that holds the license.
2. If your account has a license assigned to this machine that isn't installed locally, a banner appears telling you how many licenses are in that state.
3. Select **Recover** to reapply them without releasing and reassigning from scratch.

![A banner on the License page reading that one licence is associated with this user and assigned to this machine but not installed, with a Recover button](https://bitfocus.io/api/docs-media/file/recover-banner.png?prefix=docs-media)

## If the machine is gone

If a licensed machine is broken or lost and you can't sign in to release it yourself, email `support@bitfocus.io` (or open a [support request](https://support.bitfocus.io/hc/en-us/requests/new)) from the address associated with the Bitfocus account that holds the license, and include the machine's hostname. Support can return the license to your account's pool from their side.

## If you get stuck

| What you see | What to try |
| --- | --- |
| **Confirm** stays disabled after selecting Release. | The machine has more surfaces attached than the remaining license allows. Disconnect or disable enough surfaces first, then try again. |
| A license row shows a lock icon instead of an action. | The license is owned by a different Bitfocus account than the one you're signed in with. Sign in with the account that owns it. |
| You're not sure whether a machine already has a license, or expected one to still be there. | Check **Settings → License**: if there's no active **Current Base License**, sign in with the account that should hold it and look for a recovery banner before assigning a new one. |

## Where to go next

- [Activate Buttons offline](/docs/buttons/v1.10/getting-started/license-buttons-offline), if the machine doesn't have internet access.
