# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nftgarden.app/en/webtools/api-key/create.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
