# Get Google Search Key

### Step 1: Go to [https://programmablesearchengine.google.com/about](https://programmablesearchengine.google.com/about/) and click "Get Started"

<figure><img src="https://2130568151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxe3N3qPZEhbHGWOpdQfl%2Fuploads%2FztKhdGyacEb01sdjblQS%2Fgoogle-search-1.jpg?alt=media&#x26;token=d791a00a-4fd9-4433-89df-70dad56db143" alt=""><figcaption></figcaption></figure>

### Step 2: Create new search engine

<figure><img src="https://2130568151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxe3N3qPZEhbHGWOpdQfl%2Fuploads%2FzKWVT76jd3Ghyb64rkM8%2Fgoogle-search-2.jpg?alt=media&#x26;token=a8a0d855-82f0-418e-9a23-dcda74dabaf8" alt=""><figcaption></figcaption></figure>

### Step 3: Click "Customize"

<figure><img src="https://2130568151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxe3N3qPZEhbHGWOpdQfl%2Fuploads%2FVssLxNXaEKoRky5vYZcy%2Fgoogle-search-3.jpg?alt=media&#x26;token=2ee8659f-a545-412c-85f1-8255f2bc7752" alt=""><figcaption></figcaption></figure>

### Step 4: Copy Search Engine ID

<figure><img src="https://2130568151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxe3N3qPZEhbHGWOpdQfl%2Fuploads%2F2s3enbucGRE1SNA8VU0a%2Fgoogle-search-4.jpg?alt=media&#x26;token=759aaea9-13e4-492a-9e02-4d510d2e84ad" alt=""><figcaption></figcaption></figure>

### Step 5: Keep scrolling to "Programmatic Access" section and click "Get Started" of "Custom Search JSON API"

<figure><img src="https://2130568151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxe3N3qPZEhbHGWOpdQfl%2Fuploads%2Fvkt2ADJIuGebD1Huns0I%2Fgoogle-search-5.jpg?alt=media&#x26;token=0687d8a6-491a-41b7-ab53-e34d27f0028b" alt=""><figcaption></figcaption></figure>

### Step 6: Click "Get a Key"

<figure><img src="https://2130568151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxe3N3qPZEhbHGWOpdQfl%2Fuploads%2FFHbKxBfwAw6YR2tENdjm%2Fgoogle-search-6.jpg?alt=media&#x26;token=ef57645a-54d9-4773-b576-bf6da1005d9a" alt=""><figcaption></figcaption></figure>

### Step 7: Select a project and click "Next"

<figure><img src="https://2130568151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxe3N3qPZEhbHGWOpdQfl%2Fuploads%2F5lqA84NdicxHD4OINgki%2Fgoogle-search-71.jpg?alt=media&#x26;token=56a2e468-9b8d-45c0-b980-dbba3563ed5b" alt=""><figcaption></figcaption></figure>

### Step 8: Click "Show Key"

<figure><img src="https://2130568151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxe3N3qPZEhbHGWOpdQfl%2Fuploads%2FOgS8qaLXTD6nkqd16oYG%2Fgoogle-search-8.jpg?alt=media&#x26;token=48033787-0ad5-4636-8d5a-21a9ed34ea82" alt=""><figcaption></figcaption></figure>

### Step 9: Copy API key and keep it secret

<figure><img src="https://2130568151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxe3N3qPZEhbHGWOpdQfl%2Fuploads%2FqmqattPtUIftB1Nt8Q5S%2Fgoogle-search-9.jpg?alt=media&#x26;token=ff0a97c2-a1b2-4aa4-b934-2af684b67cc9" alt=""><figcaption></figcaption></figure>

Now you have Search Engine ID in step 4 and API key in step 9 to configure search provider for MindMac.


---

# 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.mindmac.app/how-to.../internet-browsing/get-google-search-key.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.
