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

# Centra

The Centra app adds a field type for selecting products and categories from a connected [Centra](https://www.centra.com/) instance and referencing them in Storyblok content. The app reads from Centra’s GraphQL API, and 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 Centra 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

1.  In Centra, [obtain an access token](https://centra.dev/docs/integration-api/authorization#obtaining-access-token-via-ams) with the `Product:read` and `Category:read` scopes.
2.  In the Storyblok **Block Library**, add a field to a block, set its field type to **Plugin**, and set the custom type to `sb-centra`.

The field takes the following options:

| Option | Required | Description |
| --- | --- | --- |
| `endpoint` | Yes | GraphQL API URL, for example `https://sandbox.centra.com/graphql`. |
| `token` | Yes | Centra access token. |
| `limit` | No  | Maximum number of items an editor can select. |
| `selectOnly` | No  | Restricts the field to `product` or `category`. |

## Further resources

[Centra in the app directory](https://www.storyblok.com/apps/storyblok-gmbh@centra)

## Pagination

-   [Previous: Bynder](/docs/apps/bynder)
-   [Next: Clipboard](/docs/apps/clipboard)
