Back to knowledge base

How to install in Magento

Tags: Magento installation, Install WriteText, Magento extension setup

If you’re looking for a simple AI integration for Magento, this guide walks you through the complete process of how to install a Magento 2 extension from a Zip file using WriteText.ai. Follow the instructions below to install and activate the extension properly.

Minimum Requirements

  • Magento version 2.4.4 or above. Tested up to version 2.4.8.
  • PHP version 8.1 or above. Tested up to version 8.4.

How to install WriteText.ai using Zip file

  1. Download the extension as a compressed file (.zip format).
  2. In your command line interface, go to the app/code/WriteTextAI directory. Then, unzip the extension file you downloaded by running the unzipcommand followed by the file name, e.g., unzip WriteTextAI.zip

    unzip

    In the Magento folder, it will look like this:

    in magento

  3. After unzipping the file, navigate to the root directory of the Magento installation.
    Run the command php bin/magento module:enable WriteTextAI_WriteTextAI to enable the extension.

    enable-wt
    This step ensures the AI integration for Magento is successfully recognized by your system.
  4. Run the following commands to upgrade, deploy, and clean the cache:

    • php bin/magento setup:upgrade --keep-generated

      keep-generated

    • php bin/magento setup:di:compile

      compile

    • php bin/magento setup:static-content:deploy -f

      deploy

    • php bin/magento cache:clean

      clean-cache

  5. Log in to the Magento admin panel, navigate to Writetext.ai Module and proceed to the Extension setup guide.

    wt-module
CONTENTS