> For the complete documentation index, see [llms.txt](https://sl-guide.storeify.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sl-guide.storeify.app/google-map-api-key/generating-and-setting-api-keys.md).

# Generating and Setting API Keys

## S**TEP 1: Create your first Google Cloud Console**

* Log in to the [Google Maps Platform Console](https://cloud.google.com/maps-platform/).
* Select [**Get Started**](https://console.cloud.google.com/google/maps-apis/start)**.**
* Create new project if you didn't have one.

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

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

## **STEP 2: Create the Billing Account**

* Go to the [Google Cloud Platform Console](https://console.cloud.google.com/getting-started?_ga=2.11775924.1445112601.1599583344-2118790495.1599583344).
* Click the menu button and select **Billing**.
* Set up your billing account.
  * If this is your first billing account, select **Add billing account.**
  * If you already have a billing account, select **Manage billing accounts.**
* Select **Create account,** then follow the instructions to set up your next billing account.

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

<mark style="background-color:red;">Don't worry about the cost when using Google Maps service,, currently Google Map has free caps for each plan, only when you exceed these caps, you have to pay (</mark><mark style="background-color:red;">**about 10k maploads**</mark><mark style="background-color:red;">):</mark>

| **API**                        | **Free Tier/Month** | **Overage Cost (USD/1,000 requests)** | **Plan**   |
| ------------------------------ | ------------------- | ------------------------------------- | ---------- |
| **Geocoding API**              | 10,000 requests     | $5.00                                 | Essentials |
| **Geolocation API**            | 10,000 requests     | $5.00                                 | Essentials |
| **Maps JavaScript API**        | 10,000 requests     | $7.00                                 | Essentials |
| **Places API - Autocomplete**  | 10,000 requests     | $2.83                                 | Essentials |
| **Places API - Place Details** | 10,000 requests     | $5.00                                 | Essentials |
| **Places API - Nearby Search** | 5,000 requests      | $32.00                                | Pro        |
| **Street View Static API**     | 10,000 requests     | $7.00                                 | Essentials |

## STEP 3: Enable 5 Google Map APIs

Please follow the below steps :&#x20;

* Go to **API & Services** > **Library** and choose **Maps** category

<figure><img src="/files/6Kc2oOkUzq1bGAkBzAjn" alt=""><figcaption></figcaption></figure>

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

* Search for:&#x20;
  * <mark style="background-color:blue;">**Geocoding API**</mark><mark style="background-color:blue;">,</mark>
  * <mark style="background-color:blue;">**Geolocation API**</mark>
  * <mark style="background-color:blue;">**Maps JavaScript API**</mark>
  * <mark style="background-color:blue;">**Places API (Old version)**</mark>
  * <mark style="background-color:blue;">**Street View Static API**</mark> <br>
* Click to each and **Enable** it.**​​**

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

* **Note: In case, all APIs are enabled but the issue still remains, please try to disable and re-enable all of them.**&#x20;

## **STEP 4: Get API Access and enter it to the App**

* Select the menu button, then navigate to **APIs and services**.
* Select **Credentials**.
* Select **Create Credentials,** then select **API Key.**
* Add this API Key to the app, under **Your Google API Key**
* Select **Save.**

<figure><img src="/files/6UpNWju0e70z1FVOJDeD" alt=""><figcaption></figcaption></figure>

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

* Go to **Settings** -> **General** -> **Google map API key** -> Enter the API Key.

\****Important Note***: API keys are unique identifiers that allow you to connect to a specific service that an application program provides. Because these keys are unique to a specific user, it's important to always keep your API key safe and secure.

In case you want support from Google, you can go to the tab **Support**, read support articles, or create a case to have a conversation with Google.

Or you can go to this tab directly by the link: [**https://console.cloud.google.com/google/maps-apis/support**](https://console.cloud.google.com/google/maps-apis/support)

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

You can follow the instruction in the video below:

{% embed url="<https://youtu.be/O-o8xSacFPY>" %}
