Cursor AI로 OpenAI 연동하기

버무스·2025년 8월 27일
0
post-thumbnail

1. Spring Initializer로 프로젝트 생성 (깃허브)

2. Cursor AI에 샘플 코드 검색(예시)

  • 주의사항 : 임의로 디렉토리 생성해서 반복 거절

3. Maven 라이브러리 검색(예시)

4. OpenAI에서 API Key 등록




5. Jasypt로 암호화(세팅방법)

  • raw 데이터에 " 없이 입력aw 데이터에 " 없이 입력

6. application.yaml 파일에 ENC(암호화된 키값) 적용

7. Postman 테스트

  • You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.
    • 검색해보니 카드 등록하고 최소 금액 5$ 입금해야된다고 합니다.

8. 유료 API임을 감안하고 여기에서 Stop!

profile
듣보잡 개발자

0개의 댓글