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

# Sylius

The Sylius app adds a field type for selecting products and categories from a connected [Sylius](https://sylius.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 Sylius products and categories in the Visual Editor.
-   Read product data in a specific language.
-   Restrict the field to products only or categories only.

## Setup

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

The field takes the following options:

| Option | Required | Description |
| --- | --- | --- |
| `endpoint` | Yes | URL of the Sylius API. |
| `token` | Yes | JWT from the [Sylius authentication endpoint](https://v2.demo.sylius.com/api/v2/docs). |
| `language` | No  | Language used to read product data. |
| `selectOnly` | No  | Restricts the field to `product` or `category`. |

## Further resources

[Sylius in the app directory](https://www.storyblok.com/apps/storyblok-gmbh@sylius-fieldtypes)

## Pagination

-   [Previous: Star Rating](/docs/apps/star-rating)
-   [Next: Tags](/docs/apps/tags)
