---
title: Shopware
description: The Shopware app adds a field type for referencing products and categories from a connected Shopware instance.
url: https://www.storyblok.com/docs/apps/shopware
---

# Shopware

The Shopware app adds a field type for selecting products and categories from a connected [Shopware](https://www.shopware.com/) instance and referencing them in Storyblok content. The selection is part of the API response.

Read more about connecting a store in the [e-commerce concept](/docs/concepts/e-commerce).

## Features

-   Select Shopware products and categories in the Visual Editor.
-   Limit how many items an editor can select.
-   Restrict the field to products only or categories only.

## Setup for Shopware API v3

In the **Block Library**, add a field to a block, set its field type to **Plugin**, and set the custom type to `sb-shopware-64`.

The field takes the following options:

| Option | Required | Description |
| --- | --- | --- |
| `endpoint` | Yes | URL of the Shopware API. |
| `salesChannelKey` | Yes | Shopware access key of the sales channel. |
| `limit` | No  | Maximum number of items an editor can select. |
| `selectOnly` | No  | Restricts the field to products or categories. |

## Setup for earlier API versions

For a Shopware instance older than API v3, set the custom type to `sb-shopware` instead.

The field takes the following options:

| Option | Required | Description |
| --- | --- | --- |
| `endpoint` | Yes | URL of the Shopware API. |
| `salesChannelKey` | Yes | Shopware access key of the sales channel. |
| `accessKey` | Yes | Access key of the API user. |
| `secretAccessKey` | Yes | Secret access key of the API user. |
| `limit` | No  | Maximum number of items an editor can select. |
| `selectOnly` | No  | Restricts the field to products or categories. |

## Further resources

[Shopware Store API authentication](https://shopware.stoplight.io/docs/store-api/38777d33d92dc-quick-start-guide#authentication-and-setup)

[Shopware in the app directory](https://www.storyblok.com/apps/storyblok-gmbh@shopware-fieldstypes)

## Pagination

-   [Previous: Shopify V2](/docs/apps/shopify-v2)
-   [Next: Slack Connect](/docs/apps/slack-connect)
