[React] 챗봇 애플리케이션 만들기 1

유은서·2024년 2월 15일

React

목록 보기
12/15

1) 구글 API 사용

=> create google project (developer)
https://console.cloud.google.com/cloud-resource-manager

-> 프로젝트 생성하기

2) dialog flow

https://dialogflow.cloud.google.com/#/getStarted

2-1 ) AGENT 생성

create-Agent 이름, 구글 프로젝트랑 연결 , timezone 변경

2-2 ) service account 생성

Project ID , Service Account 링크 눌러 생성

, Privaten Key 생성(JSON 형태)

secrect 정보 : server -> config -> dev.js에 저장 (하지만, 개인정보 이므로 gitignore를 이용하여 git에는 올리지 않음)

정보들 추가해주기!

set GOOGLE_APPLICATION_CREDENTIALS=/path-to-keys/keys-file.json

0개의 댓글