# Configuring

The extension can be configured by navigating to Stores > Configuration > Services > Nosto.

## Image Options

This option determines which of the Magento image types is to be used for the product images in Nosto. By default, it is the "Base Image".

![image](https://user-images.githubusercontent.com/2778820/44143465-6f28b780-a08c-11e8-983f-a530a50e08a7.png)

This panel has tree image version to choose from:

* **Base Image**: The base image is the image version used as the main image on the product detail page.
* **Small Image**: The small image is the image version used as in the product listings such as category pages and search results.
* **Thumbnail**: The thumbnail is the image version used as the small image in shopping carts such the cart page or sidebar cart implementations

### Remove `/pub/` from product images URLs ![2.11.0](https://img.shields.io/badge/nosto-2.11.0-green.svg)

Set this to yes if you have configured the docroot to point to "pub/" directory.

## URL Options

This option removes the trailing `___store` parameter from the product URLs. If you have only a single-store view or would like to enable clean URLs, this can be toggled on.

![](https://user-images.githubusercontent.com/327432/36792597-a1591262-1ca3-11e8-812a-6a5dcdf096b3.png)

## Other Options

The other-attributes section can be used to map custom attributes to the certain Nosto fields. Magento does not have predefined fields for the brand, the GTIN or the supplier cost fields and these can be customised by the retailer.

![Other options](/files/0dJGpVLeX4DE1bbqQk7o)

From version `5.0.0` Nosto extension also supports tagging Google category attribute. Similarly to GTIN attribute described above, select the attribute you wish to map using the selector and confirm on the product tagging using the debug toolbar.

**Note:** A full [reindex of your store](/magento-2/features/indexer.md) is required after this configuration is changed.

## Feature Flags

The feature-flags section can be used to toggle on/off different features. Certain features have a noticeable performance impact and you may need to toggle them off if you aren't leveraging the feature.

![image](https://user-images.githubusercontent.com/2778820/55728238-61542780-5a1c-11e9-84dd-f365745de7b7.png)

### Indexer Memory

If you are running into issues with the indexer not finishing due to out of memory errors, in this flag you can configure the amount of memory that the Nosto Indexer is allowed to use.

### Send Customer Data To Nosto

This option allow the merchant to enable/disable the sending of customer data to Nosto. If this option is disabled no customer tagging is done by Nosto.

### Reload recommendations after reloading cart

This option allows reloading recommendations after updating the cart. If you are using cart based recommendations, it is advised to enable this flag

### Add product published date to tagging

Set this to `Yes` if you want to send the date a product has been added to Magento's catalog to Nosto.

### Enable custom fields

![image](https://user-images.githubusercontent.com/2778820/44519745-9bafc500-a6d6-11e8-91a0-5726b3601280.png)

If the attribute is not a system attribute (user defined attribute) and is either set to be "Visible on Catalog Pages on Storefront" or "Used in Layered Navigation" it will be added to the list of custom fields. If the attribute does not meet the above-mentioned conditions, it can still be tagged by adding it to either of the three `Attributes to tags` columns (See [Attributes To Tags](https://docs.nosto.com/magento-2/configuring#attributes-to-tags) section for more information).

This option comes enabled by default. In case the merchant wants to completely hide, including from the page source code, he can disable using this feature flag.

## Attributes To Tags

The `attributes to tags` section can be used to add certain product attributes into the tags field of the product tagging. Doing so, will allow those properties to be used when building a recommendation template.\
You can select multiple attributes holding control key.

These attributes will be also sent as custom fields to Nosto.

![image](https://user-images.githubusercontent.com/2778820/42555072-be4025be-84ef-11e8-91df-e4328277f2fa.png)

## Currency Setup

If you store view make use of Magento's exchange rates, you may select `Exchange rates` option on the dropdown menu.\
In case the store view uses only one currency, you may set this value to `Single currency`.\
The `Disabled` option will prevent Nosto to do any currency conversion. This option should be used if you have a custom pricing handling setup.

![image](https://user-images.githubusercontent.com/2778820/42555862-4a901824-84f2-11e8-8105-c7a92bf1c25d.png)

## Account Details and Tokens

![image](https://user-images.githubusercontent.com/2778820/53960203-54c37300-40ee-11e9-9740-28a54b4a959e.png)

After version `3.1.0` is now possible to retrieve all tokens and account id's used by Nosto via Magento admin panel.


---

# 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.nosto.com/magento-2/configuring.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.
