# Shopware

## Configure Shopware

{% hint style="info" %}
The Shopware guide options and screenshots are available in German only :flag\_de:.
{% endhint %}

To set up the Shopware integration:

1. Select **Marketing > Einkaufswelten** in the main menu, and then click **Einkaufswelt Hinzufügen**.<br>

   <div align="left"><figure><img src="/files/QtjmV7m2PL3KhUHNns1L" alt="" width="208"><figcaption></figcaption></figure></div>
2. To create a new page, do the following:\
   a. Click the **Einstellungen** tab.\
   b. Enter the name of the page (in this example, it is "Sendungsverfolgung").\
   c. Select the **Aktiv** and **Landingpage** check boxes.\
   d. Assign the required URL.\
   e. Save the changes.<br>

   <div align="left"><figure><img src="/files/43MRqI9b0kJxzawp57L3" alt="" width="375"><figcaption></figcaption></figure></div>
3. Click the pen icon on the new page.<br>

   <div align="left"><figure><img src="/files/b1Zi5Ejjb5YdjHromCnc" alt="Pen icon highlighted" width="105"><figcaption></figcaption></figure></div>

   The Code Element window will display, where you can directly edit the HTML code.<br>

   <div align="left"><figure><img src="/files/GoMSCfDfzhnzAwdko8xO" alt="" width="375"><figcaption></figcaption></figure></div>
4. Copy the following code into the **HTML Code** section.

```
<link href="https://cdn.parcellab.com/css/v2/parcelLab.min.css" rel="stylesheet">
<link href="https://cdn.parcellab.com/css/font-awesome.min.css" rel="stylesheet">

<script type="text/javascript">
$.getScript('https://cdn.parcellab.com/js/v2/parcelLab.min.js', function () {
    var parcelLab = new ParcelLab('#some-dom-id'); // <~ where the trackings will be rendered...
    parcelLab.initialize();
});
</script>

<div id="some-dom-id"></div>
```

5\. Enter **parcelLab-style** in the **CSS Klasse** field in the **Globale Element-Einstellungen** section.

6\. Save the changes.

The Shopware integration setup is saved.

{% hint style="info" %}
The height of embedded HTML elements can be dynamically adapted to avoid scroll bars.
{% endhint %}


---

# 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.parcellab.com/docs/platform/app-store/shopware.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.
