# Create a feed

To transfer your product data to the Google merchant center you need to create a feed and connect it with the Google API. This guide will show you how to to this in Shopware.

Navigate to **Settings > Extensions > Google Merchant Feed API** and choose tab **Feed List** and click on the **Add** button.

{% hint style="info" %}
Some of the settings will be only available after saving the **Base settings**.
{% endhint %}

<figure><img src="/files/7t0pYYidWCsAm8B5Sbzi" alt=""><figcaption></figcaption></figure>

### Base settings

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

| Field                   | Type      | Description                                                                                                                                                                                                                          |
| ----------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Active                  | Toggle    | Enable or disable the feed.                                                                                                                                                                                                          |
| Internal name           | Textfield | Define a name (only for internal use).                                                                                                                                                                                               |
| Dynamic product group   | Dropdown  | Choose a dynamic product group. This group defines all products you want to export to Google. For more information about dynamich products groups visit <https://docs.shopware.com/en/shopware-6-de/Catalogues/Dynamicproductgroups> |
| Storefront Saleschannel | Dropdown  | Define the sales channel for which you want to export the product data.                                                                                                                                                              |
| Storefront domain       | Dropdown  | Define the domain of the sales channel for which you want to export the product data.                                                                                                                                                |
| Storefront currency     | Dropdown  | Define your storefront currency.                                                                                                                                                                                                     |
| Language                | Dropdown  | Define your storefront language.                                                                                                                                                                                                     |
| Customer group          | Dropdown  | Define the default customer group of your sales channel.                                                                                                                                                                             |

### Google

At tab **Google** you can enter your credentials to connect your feed with the Google API.

{% hint style="info" %}
Please ensure that you have already prepared your [Google account](/en/plugins/google-merchant-feed-api/installation/prepare-your-google-account.md) and that you have your credentials at hand.
{% endhint %}

<figure><img src="/files/3Qy61rPwvMksSn9NUnHV" alt=""><figcaption></figcaption></figure>

| Field                | Type      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| -------------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Developer E-Mail     | Textfield | Enter your e-mail address you use for <https://console.cloud.google.com/>                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Data-Source ID       | Textfield | The ID from the Google Merchant center data source.                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Merchant ID          | Textfield | The merchant ID from the Merchant center.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Project ID           | Textfield | The project ID from the JSON file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Private Key ID       | Textfield | The private key ID from the JSON file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Private Key          | Textarea  | The private key from the JSON file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Client E-Mail        | Textfield | The client e-mail from the JSON file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Client ID            | Textfield | The client ID from the JSON file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Client X509 Cert URL | Textfield | The cert URL from the JSON file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Template             | Editor    | The template determines the structure of the product export. Our extension is shipped with a draft with the most common code. The product comparison is written in the PHP template engine TWIG. The default template already provides you with the most important information about your products. With the TWIG syntax, you have the option to completely customize the template. For al list of available variables check <https://docs.shopware.com/en/shopware-6-en/Productcomparison#variables> |

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

{% hint style="info" %}
Don't forget to use the **Check credentials** button after saving your credentials. The button is located bellow the credential form.
{% endhint %}

### Queue

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

At the tab **Queue** you can find all products that are currently in progress. That are the products that are flagged to be transfered to the Google merchant center.\
By clicking on the three **...** and choosing **Delete** you can remove an entry from the **Queue** before it is transfered to Google.


---

# 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.premsoft.de/en/plugins/google-merchant-feed-api/installation/create-a-feed.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.
