# Configuration

Once the extension is installed successfully, go to **Stores > Configuration** to configure the extension for use.

<figure><img src="/files/1RC3zZf6NfqatcoVM77G" alt=""><figcaption></figcaption></figure>

**Google Map:** Enable and disable the extension from here.

**Width:** Admin needs to add the width of the map in Pixel.

**Height:** Admin needs to add the height of the map in Pixel.

**Googlemap Api key:** Enter your Google API key here.

**Get Current Location:** Click here to get your current location loaded.

**Locations:** Add longitude and latitude if you have multiple locations in your store.

After this navigate to **Content>Pages** and click to edit the **Contact us** page:

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

Explore the content section and click on **Edit with Page Builder:**

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

Click on the **Settings** button:

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

Click on the Insert **widget** and select **Google Map** from the **Widget Type dropdown**.

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

**Widget Potions:**

**Longitude:** Insert the longitude as per your location.

**Latitude:** Insert the latitude as per your location

**Width:** Add the width to display on frontend

**Height:** Add the height to display on frontend

<figure><img src="/files/JsrbEXdyE8C27MsoRHt4" 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://docs.magecomp.com/magento-2-google-maps-extension/configuration.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.
