# General setup

### **Product Index**

In Uccelerate we have provided you with an example definition for an index. It can be found in your App\_Code folder, too hook it up you can simply add this to your Custom.config in Ucommerce:

```markup
  <component
    id="ProductsIndexDefinition"
    service="Ucommerce.Search.IIndexDefinition`1[[Ucommerce.Search.Models.Product, Ucommerce.Search]], Ucommerce.Search"
    type="UccelerateProductIndexDefinition" />
```

For more info about index definitions please visit the Ucommerce documentation <https://docs.ucommerce.net/ucommerce/v9.0/Search-and-indexing/IndexDefinitions.html>.

### **Product Definition**

In Uccelerate we have prepared a few features that are optional and you need to add some fields to your product definition to be able to use them.

| Field Name    | Field Type                |
| ------------- | ------------------------- |
| ExtraImages   | Image Picker Multi Select |
| Stock         | Number                    |
| GlobalContent | Content                   |

**ExtraImages**

ExtraImages will show more images on the product pag&#x65;**.**

**Stock**

Here you can add how many products you have in stock or just use 1 or 0 to toggle out of stock message on the product.

**GlobalContent**

With this you can point toward a GlobalContent block so you can show content widgets on your productpages.


---

# 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://uccelerate-docs.iglootheme.com/getting-started/general-setup.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.
