Quick Setup Guide

Downloading and Importing AI Toolbox

First of all, you need to download and import AI Toolbox into your project.

  • In Unity, go to Window ▶︎ Package Manager;
  • On the top left, please locate the Packages drop down menu. Select My Assets item there. You’ll find AI Toolbox for ChatGPT and DALL·E among your assets. Choose the version you’d like to import;
  • Click Download (if it is not downloaded yet);
  • Click Import.
  • Click Import again.

After the import is complete, you will need to paste your OpenAI API key into the Project Settings.

API Key Generation

To use the AI Toolbox, you must first generate an API key for the ChatGPT API:

  1. Sign up or log in to your OpenAI account: https://platform.openai.com/.
  2. Navigate to the “View API Keys” section in your account dashboard.
  3. Click “Create new secret key” and copy the generated key.

API Key on the OpenAI website

Generate an API key for the ChatGPT API on the OpenAI website

API Key Setup in Unity

Once you have generated the API key, you need to set it up within Unity:

  1. Open your Unity project.
  2. Click on “Edit” in the top menu, then select “Project Settings.”
  3. In the Project Settings window, navigate to the “AI Toolbox” tab.
  4. Paste your API key into the “API Key” field.

API Key in Project Settings

Paste the API key in the Project Settings

⚠️ The API key is stored in encrypted form in the following file: UserSettings/AiToolboxSettings.asset. When sharing your project with others, be sure to exclude the “UserSettings” directory to prevent unauthorized use of your API key.

Welcome Scene

The Welcome scene is a good place to check if your API key is valid, also to see some basic instructions how to start working with AI Script Generator.

Welcome Scene

[Demo] AI Toolbox scene shows that the API key is missing

Welcome Scene

[Demo] AI Toolbox scene shows that after entering the API in the Project Settings, you are ready to go

After you set it all up, you can start using AI Toolbox. You can Generate Scripts, Edit generated or already existing scripts, Generate images, generate shaders and UI Documents.


Please check the FAQs page, where the most common issues and their solutions are described. If you still have issues, please contact us.