# 구글 검색 API 발급받기

## 구글 검색 API 발급받기

구글 검색결과 크롤링 액션을 사용하기 위한, 구글 검색 API 발급받는 방법을 알려드리겠습니다.\
간단한 클릭만으로 발급이 가능하며 자세한 방법은 아래 순서를 참고해 주세요.

> <mark style="background-color:yellow;">🔎Click! 이미지를 클릭하면 예시 화면을 크게 볼 수 있습니다.</mark>

1. 구글 로그인 후 **API 발급** 페이지에 접속합니다. \
   <https://developers.google.com/custom-search/v1/overview?hl=ko>
2. 페이지 중단의 **키 가져오기**버튼을 클릭합니다.<br>

   <figure><img src="/files/mWGR55HfoHevBHiaMR83" alt=""><figcaption></figcaption></figure>
3. 검색 API 발급 팝업이 실행되면 이용약관에 동의 후 다음 단계로 이동하세요.\
   API KEY 영역에 발급된 KEY 정보가 나타납니다. \
   KEY 정보는 바티에 계정 연동 시 복사해서 붙여 넣어주세요.

   <figure><img src="/files/0MNmtTnWbz4gvzQD9eMB" alt=""><figcaption></figcaption></figure>
4. KEY 발급 후 관리자 페이지에 접속 후 검색엔진 추가 버튼을 클릭해 주세요.\
   <https://programmablesearchengine.google.com/controlpanel/all>
5. 새 검색엔진 만들기 페이지에서 필요한 영역을 아래와 같이 입력하고, 만들기 버튼을 클릭합니다.<br>

   <figure><img src="/files/p8arW9INHQbK8coRpKFb" alt=""><figcaption></figcaption></figure>
6. 엔진이 생성되면 아래와 같이 검색엔진 ID가 나타납니다.\
   검색엔진 ID도 바티 계정 연동 팝업에 복사해서 붙여 넣어주세요.<br>

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

***

## **구글 검색 API 계정 연결하기**

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

* 별칭 : 애플리케이션 생성 시 입력한 이름 또는 계정을 구분할 수 있는 별칭을 자유롭게 입력해 주세요.
* API KEY : 3단계에서 확인한 API KEY를 넣어주세요.
* 검색엔진 ID : 6단계에서 확인한 검색엔진 ID를 넣어주세요.

&#x20;


---

# 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://guide.bati.ai/service/api/googleapi.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.
