Recommended Alternative
We recommend using VSCode + Continue for a better experience. Continue is a free, open-source AI coding assistant that works seamlessly with VSCode. Check out the Continue setup guide.
Step 1: Install Cursor
Download and Install
- Visit https://cursor.com to download the installer for your system
- Install and open Cursor
Step 2: Configure API
Configure via Settings UI
- Open Cursor Settings: click the gear icon in the top-right corner, or press
Ctrl+Shift+J(Mac:Cmd+Shift+J) - Select "Models" in the left navigation
- Scroll down to the "OpenAI API Key" section
- Fill in the following settings:
- OpenAI API Key: Enter your API key
- Turn on Override OpenAI Base URL:
https://api.bsf.ai
- Click the "Verify" button to test the connection
- In the model list above, check the models you want to use
NOTE
After configuration, it's recommended to disable Cursor's built-in cloud models (uncheck them) in the Models page and only use the custom API to avoid extra charges.
Step 3: Start Using
Basic Usage
- Inline generate/edit: Press
Ctrl+K(Mac:Cmd+K) to generate or edit code directly in the editor - AI chat panel: Press
Ctrl+L(Mac:Cmd+L) to open the AI chat panel on the right - Composer mode: Press
Ctrl+I(Mac:Cmd+I) to open Composer for multi-file editing - Context menu: Select code and right-click to see AI actions like "Edit" and "Chat"
- Code completion: Cursor automatically provides completion suggestions as you type; press
Tabto accept