# How to Create Google API Key

## **Step 1: Create a Google project and an API key**

Go to <https://console.cloud.google.com/>, and choose **New Project.**

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2FgZGcvEgL0nulomjUfuw1%2Fimage.png?alt=media&#x26;token=01cbdb3c-3a2a-42e3-be97-98e44e2264ff" alt=""><figcaption></figcaption></figure>

Then you name it

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2Fk1M8aGOaPbGkwR5JYS25%2Fimage.png?alt=media&#x26;token=c951463a-6c81-40de-8ef1-b93e298e69f0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2FkD1iMRd25AtIdXQlnpjh%2Fimage.png?alt=media&#x26;token=57b3da59-f6be-4b50-befd-502b369d8368" alt=""><figcaption></figcaption></figure>

Then on dashboard, you choose Explore and enable APIs

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2FdPQu6iXR32puEeiHA3tI%2Fimage.png?alt=media&#x26;token=ffa6d99c-9585-4075-9741-f361e3275890" alt=""><figcaption></figcaption></figure>

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2FeNlOb9BZkstIksDyk6bH%2Fimage.png?alt=media&#x26;token=a0fec515-b551-431b-8288-661587d05221" alt=""><figcaption></figcaption></figure>

Click on **Enable API and Services**

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2FIU1iQFCafhJmuV0zAEJI%2Fimage.png?alt=media&#x26;token=e07fcf73-d758-4932-8631-64c16376669b" alt=""><figcaption></figcaption></figure>

Search for for **“Places API”**

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2FW2TM9zges6TO4IuxsWts%2Fimage.png?alt=media&#x26;token=3a29b92d-c9f3-4c53-81fc-095647b6ba3c" alt=""><figcaption></figcaption></figure>

**Enable it**

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2FCcQueJ0Km1LYWR7MVTLx%2Fimage.png?alt=media&#x26;token=a2e0ee83-a7d0-48c0-a30b-65b1240952c2" alt=""><figcaption></figcaption></figure>

## **Step 2: Set up the Billing account**

At this point, you can be prompted to set up Billing account.

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2Fx20e9MF2fPEJkYI6CZ09%2Fimage.png?alt=media&#x26;token=9321bd44-1a59-4573-a8de-6184d972fc82" alt=""><figcaption></figcaption></figure>

If not prompted, then you can get started with this by clicking on the Billing via the hamburger icon.

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2Flg6lQLF17fIpd8Xw29NV%2Fimage.png?alt=media&#x26;token=3aa4aa1d-4b64-42ed-930c-71768450e81f" alt=""><figcaption></figcaption></figure>

Go here <https://cloud.google.com/billing/docs/how-to/budgets> to set budget $0 so you’ll not be charged.

In case you want more than regular requests (of budget $200 free) and willing to pay, you can set any budget you want.

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2F57xcUrufq4UeakROOZLc%2Fimage.png?alt=media&#x26;token=26c785c5-1e25-45af-bbad-4363cb564f48" alt=""><figcaption></figcaption></figure>

If you want to limit requests, you can refer to this setting

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2FwKOKRnTITZmNqNIFlnkj%2Fimage.png?alt=media&#x26;token=b7c505fd-89e5-495d-b9eb-2a725583cce4" alt=""><figcaption></figcaption></figure>

After that you need to create your **API Credentials** and just choose the **API key**

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2FP4u818CXCF9vYqbONt5Z%2Fimage.png?alt=media&#x26;token=151385f3-f526-4c4b-be97-e5683dab2d03" alt=""><figcaption></figcaption></figure>

## **Step 3: Restrict your API key**

Go to your API key

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2F7ogXQILiGhmF0qm0UrzI%2Fimage.png?alt=media&#x26;token=309190d2-b1a3-4216-993c-4dc934e3c8a5" alt=""><figcaption></figcaption></figure>

Set restrictions like this:

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2Fmrhg5puN5zaDmojc5NwO%2Fimage.png?alt=media&#x26;token=8e902541-0d0a-406e-a43d-4df6a4b90b10" alt=""><figcaption></figcaption></figure>

## **Step 4: Copy API key, and paste to the plugin Settings**

<figure><img src="https://879507659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMlfEEA8UBCx8BnOcJMif%2Fuploads%2F1q17ANC4abIDosDdn7WL%2Fimage.png?alt=media&#x26;token=68c3c415-a4c0-4507-8d6c-ad8d5f851f18" alt=""><figcaption></figcaption></figure>


---

# 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://ninjateam.gitbook.io/google-reviews-wordpress/how-it-works/how-to-create-google-api-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.
