OpenClaw Setup (I): Retrieve ECNU AI API Credentials

Retrieve the API key, base URL, and model name from ChatECNU before connecting OpenClaw.

Haoming Wang · Published March 12, 2026

Overview

This series documents the full process of connecting OpenClaw to the ECNU AI platform. The first post focuses on the three parameters required by every later step: the API Key, the Base URL, and the model name. Once these are recorded correctly, both the local installation and the Feishu integration become much smoother.

OpenClaw × ECNU AI Setup Series
Retrieve ECNU AI API credentials (this post)
② Install OpenClaw and connect it to the model
③ Connect a Feishu bot

View the series overview

On ChatECNU, the required information is mainly split across two sections: My Token and Open Platform. This post follows the actual order of the setup process.

Before you begin:
• Prepare your ECNU single sign-on account
• Sign in to chat.ecnu.edu.cn in a browser
• Reserve 3 to 5 minutes to record the required values

Retrieve the API Key

Step 1: Open the profile menu

After signing in to chat.ecnu.edu.cn, click the avatar in the lower-left corner and locate My Token in the profile menu.

Figure 1. Open the profile menu in the lower-left corner and locate the My Token entry.

Step 2: Generate a new API key

On the token page, click + Add new Key to generate a new API key.

Figure 2. Create a new API key on the token management page.

Step 3: Copy and store the API key

As soon as the key is generated, copy it and store it in a safe place. This is the value you will later paste into OpenClaw, usually beginning with sk-.

Figure 3. Copy the generated API key and store it securely.
Note: The full API key is usually shown only once when it is created. It is best to save it immediately in a password manager or another secure local location. If it is lost later, simply generate a new key.

Retrieve the Base URL and model name

Step 4: Open Open Platform

Return to the main interface and open Open Platform from the left-side menu.

Figure 4. Open Open Platform from the left navigation menu.

Step 5: Record the Base URL and model name

On the Open Platform page, copy the Base URL and note the model name you plan to use. In the screenshot, example models include ecnu-reasoner and ecnu-max; when you configure OpenClaw later, use whichever model names are currently shown in your own account.

Figure 5. Record the Base URL and confirm the available model names on the Open Platform page.

These are the three values worth recording first:

Parameter Purpose Example
API Key Authentication credential sk-...
Base URL Endpoint used by OpenClaw https://chat.ecnu.edu.cn/open/api/v1
Model Name Model identifier passed to the API ecnu-reasoner, ecnu-max, etc.

Outcome

By the end of this post, you should have prepared the core values required for the OpenClaw setup:

Completed:
1. Retrieved and stored the API Key
2. Recorded the Base URL
3. Confirmed the available model name

This step does not involve local installation yet, but it determines whether the later configuration can go through cleanly.


Next

The next post moves on to the actual installation: setting up OpenClaw locally and filling in the parameters collected here during initialization.

OpenClaw Setup (II): Install OpenClaw and Connect ECNU AI

Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • OpenClaw Setup (II): Install OpenClaw and Connect ECNU AI
  • OpenClaw Setup (III): Connect a Feishu Bot
  • OpenClaw × ECNU AI: Setup Series Overview