# APIキー 作成

この画面では、APIキーの生成が行えます。

{% hint style="info" %}
API経由でコレクション生成も可能ですが、初回はWebツールでコレクション作成を行うとスムーズにNFT生成へ進む事ができます。
{% endhint %}

## 前提条件 <a href="#prerequisite" id="prerequisite"></a>

* NFT Gardenへのアカウント登録

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

## 設定項目 <a href="#items" id="items"></a>

<table><thead><tr><th width="189.33333333333331">項目名</th><th width="79">必須</th><th>説明</th></tr></thead><tbody><tr><td>名称</td><td>Yes</td><td>APIキーの名称を設定します</td></tr><tr><td>APIで許可する機能</td><td>Yes</td><td>APIキー単位で許可する機能を設定します。<code>コントラクトの作成</code>と<code>NFTの作成</code>が選択可能です。</td></tr><tr><td>APIの有効化</td><td>No</td><td>APIの有効化を行います。デフォルトはDisableです。</td></tr></tbody></table>

{% hint style="info" %}
APIキーは生成直後しか表示されませんので、しっかり保管してください。
{% endhint %}

{% hint style="danger" %}
APIキーは絶対に外部公開しないよう注意してください。第三者にAPIキーを使用され、自身のコレクションにNFTを生成されてしまう可能性があります。
{% 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/jp/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.
