> For the complete documentation index, see [llms.txt](https://docs.nftgarden.app/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nftgarden.app/en/webtools/api-key/create.md).

# Generate API key

On this screen, you can generate an API key.

{% hint style="info" %}
Although it is possible to generate collections via the API, the first time you create a collection using the web tool, you will be able to proceed smoothly to NFT generation.
{% endhint %}

## Prerequisite <a href="#prerequisite" id="prerequisite"></a>

* Register an account with NFT Garden

<figure><img src="/files/RgEkuPvltgbPl737ruqy" alt=""><figcaption></figcaption></figure>

## Input items <a href="#items" id="items"></a>

<table><thead><tr><th width="189.33333333333331">Item</th><th width="102">Required</th><th width="457.6666666666667">Description</th></tr></thead><tbody><tr><td>Name</td><td>Yes</td><td>Set the name of the API key.</td></tr><tr><td>Permission</td><td>Yes</td><td>Set the functions to be allowed on a per API key basis. You can choose to <code>Create contract</code> or <code>Create NFT</code>.</td></tr><tr><td>Activation</td><td>No</td><td>Enables the API. Default is Disable.</td></tr></tbody></table>

{% hint style="info" %}
The API key is only displayed immediately after it is generated, so please keep it safe.
{% endhint %}

{% hint style="danger" %}
Please be careful never to disclose your API key externally. A third party could use your API key and generate NFTs for their own collection.
{% endhint %}
