Skip to main content
Cline is an AI Coding Agent that runs in an IDE and is commonly used in editor environments such as VS Code and Cursor. By configuring the OpenAI Compatible API, Cline can connect to Step models and complete tasks such as code generation, file modification, and project analysis within the IDE. This document explains the prerequisites, configuration steps, and basic test flow for integrating the Step API with Cline.

Overview

Cline is suitable for directly completing multi-turn code collaboration inside the editor. After configuration is complete, you can directly call Step models in the IDE panel to perform development tasks.

Prerequisites

Development Environment

The following IDEs are supported:
  • Cursor
  • VS Code
It is recommended to use the latest IDE version.

Install the Cline Plugin

Search for and install the following in the IDE Marketplace:
Cline
After installation, the Cline panel will appear on the left side of the IDE.

Subscribe to Step Plan

Before you start configuring, make sure your current account has an active Step Plan subscription. Only accounts with the required plan or calling permissions can use model calls and quotas normally. To subscribe or purchase, visit Step Plan subscription

Obtain a Step API Key

Visit the Step Open Platform Console to create an API Key and keep it safe:

Configuration Steps

Open the Cline settings page and configure the API Provider as follows.

Connection Configuration

Fill in the following parameters:
  • API Provider: OpenAI Compatible
  • Base URL: https://api.stepfun.ai/step_plan/v1
  • API Key: enter the Step API Key
  • Model ID: <model_id>
Note: In the examples below, replace <model_id> with either step-3.5-flash-2603 or step-3.5-flash.

Test the Integration

After configuration is complete, you can enter a simple task for verification:
Create a hello world script in Python
If the integration is successful, the model will usually return content similar to:
print("Hello, world!")

Common Issues

Connection error

If a connection error occurs, please check:
  1. Whether the Base URL is https://api.stepfun.ai/step_plan/v1.
  2. Whether the API Key is valid.
  3. Whether the Model ID exists.
Recommended model:
<model_id>

API Key Error

If the following error occurs:
401 Incorrect API key
Please check:
  • Whether the key was copied completely
  • Whether the key belongs to the current English-site account environment (.ai)

Summary

After completing the configuration through the OpenAI Compatible interface, Cline can directly call Step models in the IDE to perform tasks such as code generation, file editing, and project analysis. It is recommended to first verify with a minimal example, then gradually add your own development scenarios.