Skip to main content

Install and Launch TRAE

1

Download and Install TRAE

Go to TRAE’s website to install TRAE
2

Complete Initial Setup

Click TRAE’s icon to launch it. The following screen appears at TRAE’s first launch
3

Start Setup

Click the Get Started button, TRAE’s setup beginsFor detailed installation steps, please refer to: Trae Setup Guide

Configure MiniMax API

Important: Clear OpenAI Environment Variables Before ConfigurationBefore configuring, ensure you clear the following OpenAI-related environment variables to avoid conflicts with MiniMax API:
  • OPENAI_API_KEY
  • OPENAI_BASE_URL
In TRAE, you can connect to MiniMax M2.1 model using API keys obtained from the MiniMax Developer Platform .
1

Open Settings

At the top right of the side chat box, click Settings icon > Models
2

Select Models Tab

3

Add Model

Click the + Add Model button. The Add Model pop-up appearsEnter Configuration Details:
  • Provider: Select MiniMax-Global
  • Model: Select MiniMax-M2.1
Coding Plan API Key cannot select MiniMax-M2.1-lightning. If you want to use it, please enter a Pay-as-you-go API Key
4

Complete Adding

Click the Add Model button