All docs
Shopware setup
Credential: Integration keys
The Shopware connector writes each article as a blog post of the OpenBlogware plugin through the Shopware 6 Admin API. The same connector can import your products (see Products). Posts are inactive (drafts) by default.
Your shop must be on the internet over https. BirchSeek does not connect to private addresses.
Step 1 - install OpenBlogware
Shopware has no blog of its own. Blog posts need the free OpenBlogware plugin (werkstattl/openblogware, plugin 3.x or 4.x on Shopware 6.6, 5.x on Shopware 6.7).
On a self-hosted shop:
composer require werkstattl/openblogware
bin/console plugin:refresh
bin/console plugin:install --activate WerklOpenBlogware
bin/console cache:clear
Or upload the plugin under Extensions → My extensions → Upload extension, then install and activate it.
Shopware Cloud runs no plugins. On Shopware Cloud, the connector can import products but cannot publish. Publish to the hosted blog or a webhook instead.
Step 2 - create an integration
-
In the Shopware admin, open Settings → System → Integrations and click Add integration.
-
Name it
BirchSeek. -
Turn on Administrator, or give the integration a role with these privileges:
For Privileges Blog posts werkl_blog_entryread, create, update;werkl_blog_author:read;werkl_blog_category:read;tagread, create;cms_page,cms_section,cms_block,cms_slotread, create, update;mediaread, create, update;media_folder:read;seo_url:readProduct import product:read,product_manufacturer:read,product_media:read,product_visibility:read,media:read,category:read,seo_url:readBoth sales_channel:read,sales_channel_domain:read,currency:read -
Click Save and copy the Access key ID and the Secret access key. Shopware shows the secret one time.
Step 3 - connect in BirchSeek
| Setting | Meaning |
|---|---|
| Shop URL | The root of your shop, for example https://shop.example.com. Not /admin |
| Access key ID | From step 2. It starts with SWIA |
| Secret access key | From step 2 |
| Post status | Inactive (draft) (default) or Active. Applies when BirchSeek creates a post |
| Blog author id | Optional. Empty: the author whose display name is your byline, else Anonymous |
| Blog category id | Optional. Empty: the test stores the first blog category |
Step 4 - send a test
Send a test gets a token, then looks for OpenBlogware, the blog category, your storefront sales channel and the product privileges. The result says if blog publishing and product import work, and names each missing privilege. The test passes when one of the two works. The test writes nothing.
What BirchSeek writes
Per article, through the sync API (POST /api/_action/sync):
- the title, the slug, the teaser and meta description, and the meta title
- the body as HTML, without the title heading, in the post’s own layout (one text block), which is what the storefront shows and the admin edits
- the cover image and the in-article images, uploaded to the media library; an image that fails links to BirchSeek’s copy
- your tags (found by name or created), the blog category and the author
- the publish date, as a date
The body ends with the ## Sources block. See Sources and citations.
Shopware removes <script> and <iframe> elements from post bodies. So BirchSeek does not send the JSON-LD, and a video is a link.
Updates
Each post gets an id made from the article id. A retry or a refresh writes the same post again. It never makes a second post. An update never changes the post’s status, its slug or its publish date. A post with the same slug that BirchSeek did not write stops the publish with an error.
Scheduling
OpenBlogware has no job that activates a post, and it stores the publish date without the time. BirchSeek’s calendar times each publish.
Troubleshooting
401: the key pair is wrong. Copy both keys again, or create a new integration.403 missing privileges: the error names each privilege. Add them to the integration’s role, or turn on Administrator.- Blog publishing off: OpenBlogware is not installed or not active. Install it, then test again.
404on the storefront: the sales channel’s Domains must contain the exact address, with the protocol and the port.