> For the complete documentation index, see [llms.txt](https://mgunexcel.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mgunexcel.gitbook.io/doc/self/advanced/api/gpt.md).

# 지피티 API 등록

아래 링크에서\
바로 API 발급 가능하지만\
결제 카드 등록을 해주셔야 동작 됩니다.\
<https://platform.openai.com/api-keys>

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

아래는 상세 설명입니다.

{% hint style="info" %}
[<mark style="color:red;">Chat GPT</mark>](https://chatgpt.com/)와 [<mark style="color:blue;">GPT API</mark>](https://platform.openai.com/settings/organization/billing/overview)는 완전 다른 상품입니다.\
[<mark style="color:red;">Chat GPT</mark>](https://chatgpt.com/)를 유료로 사용하고 계시는 분도\ <mark style="color:blue;">GPT API</mark>는 별개의 상품이니\
아래 메뉴얼처럼 새로 등록이 필요합니다.
{% endhint %}

## 1. 카드 등록

<https://platform.openai.com/account/billing/payment-methods>

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

Setting → Billing → Payment methods → Add payment method

## 2. API key 발급

<https://platform.openai.com/api-keys>

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

Api keys → Create new secret key\
→ GPT API 키 생성\
→ 값 복사

## 3. GPT API 입력

방금 복사한 GPT API 값을\
기관총엑셀 프로그램에 넣어주세요.

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

## 영상 설명

{% embed url="<https://www.youtube.com/watch?v=vaaOFLNdL0I>" %}
