# Configuration

Check out the detailed video on [**How to Generate Instagram Access Token?**](https://youtu.be/JAUYe1A2dp0?si=18pdGiJEJDMEWA7d)

The extension now works with the latest Facebook Graph API, which make it to work fast and smooth.

Once you have successfully installed the extension, go to **Stores -> Configuration** to configure the extension for use. Here you can find various settings for the extension.

<figure><img src="/files/4xlXfFLMTYfjW9eid6C0" alt=""><figcaption></figcaption></figure>

* **Instagram Integration:** The option to enable or disable the extension.
* **User Access Token:** Generate Access token from the Facebook business account and paste it here.
* **Get Application Information:** Click to authorize Instagram account.

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

* **Show Images on Home Page:** Select YES to show Instagram images on the home page.

**Note –** For Hyvä, you need to put below code on CMS Home Page to show images.

{{block class=”Magecomp\Instagram\Block\Homepagehyva” template=”Magecomp\_Instagram::hyva/homepage.phtml”}}

* **No. of Images to show on Home Page:** Set the number of Instagram images to show on the home page.
* **Show Images on Product Page:** Select YES to show Instagram images on the product page.
* **No. of Images to show on Product Page:** Set the number of Instagram images to show on the product page.
* **In More View Section:** Set YES to show Instagram images in more view section of product page.
* **In Product Detail Section:** Set YES to show Instagram images in product detail section of product page.
* Redirect URL: Redirect URL for Instagram app registration.
* **Update Images By:** Select option to update Instagram images based on hashtags or username.
* **Hashtags:** Enter comma-separated hashtags using which you want to fetch Instagram images in your Magento 2 stor&#x65;**.**
* **No. of Images to Show on Instagram Page:** Enter the number of images you want to show on Instagram page, leave empty for unlimited images.


---

# 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-instagram-feed-widget-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.
