Installation instructions

Install extension via the extension area

OpenAI API key

  1. Go to https://platform.openai.com/.
  2. Log in.
  3. Create a new project.
  4. Go to your profile and go to the "API keys" section https://platform.openai.com/settings/organization/api-keys.
  5. Create a new API key via "Create new secret key".
  6. Top up credit so that the OpenAI API works. https://platform.openai.com/settings/organization/billing/overview
  7. Optional: We recommend that a usage limit is set so that no unnecessary costs are incurred in the event of an error https://platform.openai.com/settings/organization/limits
Create a new API key

Einrichten der Erweiterung in Shopware

API credentials

  • Enter the API key, this should start with "sk-proj".
  • Select your desired AI model.

Frontend Assistant

A selection is only available if a front-end wizard has been created.

Creating a new frontend wizard
Geändertes Farbdesign des Frontend Assistenten (Primärfarbe)
Geändertes Farbdesign des Frontend Assistenten

Settings "All META tags product / category (configured)"

Settings for the creation of SEO data in mass processing. These settings are only for mass processing or for the "All META tags (configured)" button in single mode.

Creating META information for images

  • Automatic generation of selected META information when creating or updating images: this setting allows the META information for images to be inserted directly when uploading or updating. This works automatically, please check your OpenAI limits.
  • Selection of languages to be generated (default language is always generated): a list of the languages in which the META information is generated.
  • Checkboxes which information is processed in mass processing and automated creation.
  • If you have an Htaccess active for your shop, you must enter this login data here so that the image META information can be created. This is necessary because the images are analysed by OpenAI and access is required.

General settings

AI processing single entity

Product description

  • Go to Catalogues -> Products and select your desired product.
  • If there is a product description, this and the product title are used.
  • If no description is available, please enter a text of 50-1000 characters. This will be used to create the description.

Products SEO data

  • Go to Catalogues -> Products and select your desired product.
  • Meta title, meta description and keywords can be created in the SEO area.
  • Use the corresponding button to create your desired SEO data or all three.

Category Description

  • Go to Catalogues -> Categories and select your desired category.
  • If there is a product description, this and the product title are used.
  • If no description is available, please enter a text of 50-1000 characters. This will be used to create the description.

Category SEO data

  • Go to Catalogues -> Categories and select your desired category.
  • Meta title, meta description and keywords can be created in the SEO area.
  • Use the corresponding button to create your desired SEO data or all three.

Bulk text editing

  • Go to Catalogues -> Open AI - Mass update.
  • The desired area to be edited can be selected in "Area".
    • Product description
    • Product META information
    • Image alt and title text
  • Individual settings are available for the various areas
  • Filter specifies whether something should be taken into account when selecting the areas to be processed, such as only processing entities that have not yet been processed by the AI
  • Languages specifies which language is to be edited.
  • Categories offers a category selection. This is used to narrow down the entities to be edited. Select all categories with Shift+click to edit all entities.
  • The entities found, which are processed, are listed below.
  • In the "Currently running bulk jobs" area, it is displayed whether a job is currently running
Selection of available areas

OpenAI - Log

The OpenAI log records every job that has run for the corresponding areas. If a job does not run, the log is the first point of contact.

Go to Catalogues -> OpenAI - Log

Entity Log

Hier werden die einzelnen Entitäten eingetragen, welche von der KI bearbeitet werden und nach Bereichen sortiert.

Bulk Log

Hier werden die Bulk Log – Jobs eingetragen.

Assistant Frontend Log

Hier werden die Nachrichten der Kunden mit dem Frontend Assistenten eingetragen und in der Detailansicht kann nachgesehen werden, wie der Assistent darauf reagiert.

Detailansicht der Nachrichten zwischen Kunde und Frontend Assistent

Häufige Fehler – Einträge im Log:

  • error_no_credits: indicates that no credit is stored in the OpenAI account.

FAQs

AI Shop Assistant: General questions

This can have several causes:

  1. An already installed plugin has used an incorrect database type: https://forum.shopware.com/t/unknown-database-type-enum-requested/98651
  2. You could insert the following once in the Shopware configuration: https://symfony.com/doc/current/doctrine/dbal.html#registering-custom-mapping-types-in-the-schematool

Please ensure that the API key has a credit balance.

In this case, the application has not been installed correctly. Most of the time, this occurs in conjunction with other plugins that cause an error in your database configuration. If you uninstall our app, you should receive an error message from the database that gives an indication of which plugin caused the error. If you cannot interpret the error message, please let us know. (Contact form).

50 AI calls are activated for the test phase. If you are seriously interested in the APP and would like to continue using it after the test phase, you are welcome to contact us. (Contact form)

To configure the app, please follow the steps below:

1. Upload the app in the administration under "Extensions/My Extensions".

2. Install and activate the app.

3. Go to the app configuration and add the required ChatGPT API key.

4. Choose which AI model you use

5. You can specify which metadata should be changed. This option is intended for mass updating.

The GPT4o model is currently the most favourable in terms of price/performance.

For online shops with a wide range of products, a higher temperature setting of 0.6-1 is often beneficial to generate varied and interesting descriptions. For shops with many similar products, a lower temperature setting of 0.2-0.4 should be used to ensure consistency and clarity. It can be useful to test different temperature settings to find out which best suits the specific requirements and style of the online shop.

This is a known problem. It is a Shopware error that prevents the apps from being deactivated in certain situations. Shopware has already been informed about this.

As a workaround, there is currently only the option of setting the "allow_disable" flag to 1 in the "App" table of the database.

Open AI: General questions

The OpenAI account can be accessed via this link: https://platform.openai.com/ .

Here you will find the management of the credit, limitation and the API keys, which are necessary for the extension!

  1. A new project must be created first.
  2. A new API key can be created here and assigned to a project.

This key can be entered in the configuration of the extension.

Credits are required for the OpenAI API to function properly. As with other services, this is a "prepaid" method. You top up the credits and these are automatically "spent" as soon as the extension is used and a request is sent.

To top up credits with OpenAI, a payment method must be set up via your own profile.

The payment methods can be found under: Organisation -> Billing. A new payment method can be added here via "add payment details". If this is done, credits will also be topped up.

Credits are billed in dollars. OpenAI uses "tokens" - one token corresponds to approx. 4 characters.

Overview table from OpenAI https://openai.com/api/pricing/:

If, for example, only a certain budget of credits per month is available or for protection, limits can be set.

Monthly limits can be set via the profile: Organisation -> Limits, as well as an e-mail notification as soon as a certain amount is reached.

OpenAI provides usage in different "tiers". Initially, every user is in the "Free" tier, which severely restricts the use of the AI models to a few requests per minute. As soon as $5 has been paid for, these restrictions are greatly reduced and the extension can be used more efficiently.

Further information on the limitations can be obtained directly from OpenAI: https://platform.openai.com/docs/guides/rate-limits/usage-tiers?context=tier-free

Which current "tier" has been reached can be seen in the account here: https://platform.openai.com/settings/organization/limits

If there is interest in having someone else check settings and limits, members can be invited to join the organisation.

You can find the area here: https://platform.openai.com/settings/organization/members

A new person can be added here via "invite". There are two role options to choose from, here you can specify whether the new member can only view certain data or whether they can contribute to the organisation. As the first option is quite limited and certain tasks cannot be assigned, it is advisable to assign the "Owner" option.

For technical reasons, the extension only works on the domain for which it was purchased.

Staging and test environments are not supported.