# Configuration

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

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

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

* **Instagram Shoppable:** Enable or Disable the extension from here.
* **Generate TSV File:** Generate TSV file to upload products on Facebook catalog.
* **Data Source TSV file URL:** URL of your TSV file shows here after you generate it.
* **User Access Token:** Enter the User Access Token.
* **Get Application Information:** Authenticate your Instagram App.

<figure><img src="/files/9pdrFbDOyAKeXXSxqJeO" alt=""><figcaption></figcaption></figure>

A TSV file will be generated with all the product details that you can use to quickly upload all your products on Facebook.

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

* **Show Images on Home Page:** Select Yes to show Instagram Images on your Magento store home page.

**Note –** For Hyva you need to put below code on CMS Home Page to show images

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

* **No. of Images to show on Home Page:** Mention the number of images to be displayed on Home Page. Keep it blank to show unlimited images.
* **Show Images on Product Pages:** Select Yes to show Instagram Images on your Magento store product pages.
* **No. of Images to show on Product Page:** Mention the number of images to be displayed on Product Page. Keep it blank to show unlimited images.
* **In More View Section:** Select Yes to show Instagram Images on the product more view section.
* **In Product Detail Section:** Select Yes to show Instagram Images on the product detail section.

<img src="https://magecomp.com/support/wp-content/uploads/2020/02/Configuration-3.png" alt="Configuration" height="533" width="1205">

* **Update Images By:** Option to update Images feed by User or Hashtags.
* **Hashtags:** Selecting Hashtags option in the previous field, will provide this option to add hashtags here.
* **No. of Images to Fetch:** Select here the number of images to fetch at once.
* **Show Navigation in Image Popup:** Enable the Navigation in feed images popup.
* **Show Popup With:** Select preferred show images by product block or title with a link to show in popup.
* **No. of Images to Show on Instagram Page:** Mention the number of images to be displayed on Instagram Gallery page. Keep it blank to show 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-shop-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.
