> For the complete documentation index, see [llms.txt](https://gunthy.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gunthy.gitbook.io/wiki/setup-and-general-settings/profile-settings/edit-license.md).

# Edit license

All Gunbot licenses use an API slot system. This allows you to update your registered API keys anytime or switch between different supported exchanges.

Manage your API slots on [**Profile** ](http://localhost:5000/profile)**> Edit license**.

{% hint style="info" %}
**Make sure you are actively running at least one pair when trying to edit your license.**

For security reasons you will not see the option to edit your license when it's not actively running on an already registered API key.
{% endhint %}

![Use this page to change which API keys you can use for trading](/files/-MOpcysYGNiLwKEu44p_)

## Register a new API key

On the **Edit license** page you can see how many API slots your license has, and enter up to this number of API keys to be registered for use.

To register a new key, follow these steps:

* **Make sure to have an active trading pair running**, without errors, on an already registered API key
* Go to the **Edit license** page, select the exchange, enter your key and save the changes.
* Refresh the page in case you don't see the form to update your keys.

After registering a key, you can use it as Master Key in your exchange settings.

if you've lost access to your last working API key, contact your reseller to update the registered key.

{% hint style="info" %}
If you regularly switch between exchange accounts, it's easiest to leave your exchange API details in the exchange section for every exchange you plan to use.

Then when you want to switch, just copy the master key from there and enter it on the Swap Licensed exchanges page.
{% endhint %}
