Guide for Magento 2 ChatGPT AI Extension

Magento 2 ChatGPT Content Generator AI Extension enables store admins to integrate ChatGPT AI into their online stores. The admin can now create content for the website’s product pages automatically with its help.

The store admin can also perform mass action to create content for bulk products. The content gets created for long and short descriptions according to the topic search for the product.

The store admin can also import the description using the page builder by clicking on fill the content with ChatGPT.

In the video below, check how the Magento 2 ChatGPT functionality works:

Features

Install an Extension from Webkul Store

#1 Download Module

Firstly, you need to log in to Webkul Store, go to My Account>My Purchased Products section, verify and then download and extract the contents of this zip folder on the system.

#2 Upload Folder

Once the module zip is extracted, follow path src>app and then copy the app folder into the Adobe Commerce Cloud root directory on the server as shown below:

#3 Run Commands

After uploading the module folder, you need to run the following commands in the Magento 2 root directory:

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy

php bin/magento indexer:reindex

php bin/magento cache:flush

How to Get API Credentials-Magento 2 ChatGPT AI Extension

The user has to first create an OpenAI account and log in to the OpenAI dashboard as shown in the screenshot.

Now the user will have to click on the Personal in the top-right corner and a popup will appear. The user will click on the View API Keys option.

A page will open and a button Create New Secret Key will be visible as shown in the screenshot.

Once, the user clicks on this button a pop-up will display with the API key. The user can copy the key from here with the help of copy button.

Admin Configuration – Magento 2 ChatGPT AI Extension

Create Custom Prompt Templates for Content to be Generated – Custom prompt templates can be used to inform ChatGPT to generate particular required content as required.

The admin can create ChatGPT prompt templates for the product, category, and CMS descriptions.

To create the custom prompt templates, the admin will navigate to the side panel option and tap on the CHATGPT menu option. This brings up the list of already created templates if any. The admin can edit and delete the prompt templates as required.

Originally Published - https://webkul.com/