Trae Setup Guide

Install the Cline extension in Trae, then connect a model through the AI API Proxy's OpenAI-compatible endpoint. The setup is nearly identical to VS Code.

SettingValueNotes
API ProviderOpenAI CompatibleChoose a provider that accepts a custom Base URL.
Base URLhttps://jzstoken.com/api/v1Do not enter a full API endpoint.
API Keysk-xxxxxxxxCopy the complete Key.
Model IDComplete model ID from the model listStart with a fast model for your first test.

1. Prerequisites

2. Install the Cline Extension

  • Open Trae and select Extensions in the left sidebar.
  • Search for Cline and install it.
  • Restart Trae after installation to ensure the extension loads.

If the extension is missing: Trae supports extension management. If the extension is unavailable in its store, follow the Trae extension documentation to download a VSIX from the VS Code Marketplace and install it manually.

3. Open Cline Settings

Select the Cline icon in the left sidebar to open its settings.

4. Configure the API

  • API Provider: Select OpenAI Compatible.
  • Base URL: Enter https://jzstoken.com/api/v1.
  • API Key: Paste your complete Key.
  • Model ID: Enter the complete model ID.
  • Click Done / Save to save the configuration.

5. Verification and Troubleshooting

SymptomResolution
Configuration succeedsYou can select the model and start a chat or coding request.
Cannot enter a URLConfirm that Cline is installed and API Provider is set to OpenAI Compatible.
Connection failsCheck the Base URL, API Key, network proxy, and model ID.
Model unavailableCopy the complete model name from the model list and paste it again.