Prompt AI Docs
  • Introduction
  • Installation
  • Template Tags
  • License Agreement
Powered by GitBook
On this page
  • Prerequisites
  • Installation Instructions
  • Configuration

Installation

PreviousIntroductionNextTemplate Tags

Last updated 1 month ago

Prerequisites

Make sure your system meets the minimum requirements:

  1. ExpressionEngine 6 or 7

  2. Your server must be running PHP 8.1+

  3. You must have an account with .

Installation Instructions

  1. Place the prompt_ai directory with all files inside to /system/user/addons directory.

  2. Go to the add-ons section in your Control Panel and install Prompt AI.

Configuration

Prompt AI uses . You must create an account with OpenAI and enter payment details, then .

Within the the config.php folder, which is found /system/users/config/config.php you need to enter your Secret Key. This is the only required config item.

$config['openai_secret_key'] = 'sk-xxxxxx';

You can also set which OpenAi model you would like to use. By default we use 'gpt-4o'.

$config['gpt-model'] = 'gpt-4o';

OpenAI
OpenAI
generate a secret key