Skip to main content

Connecting a Shopware 6 Store

How to Connect Shopware 6?

Franz May avatar
Written by Franz May
Updated this week

Connecting a new Shopware 6 Store

  1. In Store Configurator > Data Sources -> Add Data Source select the store you want to add the Shopware data source to and Click on “Connect ”. In the modal window that appears search for or type in “Shopware 6" in the search field.

  2. Enter the 'Shopware API URL' in the regarding field in KLAR!
    If your shop URL is www.my-shop.com it would be www.my-shop.com/api (sometimes with www.)

  3. Go in your Shopware Shop to Settings and Integration.

  4. Press Add Integration and press the Administrator Toggle (or follow the instructions below to create a custom role)

  5. Copy and Paste the Access Key ID and Secret Access Key in the regarding field in the KLAR! App

Custom Role instead of granting admin permissions

First, you must create a new role that contains the exact "Read" permissions for the required entities.

  1. Log in to your Shopware 6 Admin dashboard.

  2. Navigate to Settings > System > Users & Permissions.

  3. Click on Roles in the left-hand menu.

  4. Click the Create role button.

  5. Enter a Name for the role (e.g., "API Read-Only Access").

  6. Click on the Permissions tab.

  7. Grant "View" (Read) permissions for the following entities. You can use the search bar to find each permission set quickly.

    • Category: Check the View box.

    • Country: Check the View box.

    • Currency: Check the View box.

    • Order: Check the View box. (This will cover order, order-delivery, order-transaction, and order/line-items).

    • Payment Method: Check the View box.

    • Product: Check the View box.

    • Sales Channel: Check the View box.

    • Shipping Method: Check the View box.

    • State Machine State: Check the View box.

    • Unit: Check the View box.

  8. Click the Save button to create the new role.

  9. When creating the integration, make sure to assign the newly created role to the integration.

Did this answer your question?