You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/generative-apis/reference-content/integrate-with-cursor.mdx
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,31 +12,31 @@ import cursorSettingsImage from './assets/scw-cursor-settings.webp'
12
12
13
13
Cursor is an AI-powered code editor that helps developers write and edit code more efficiently. It can read your existing codebase, help you navigate it, and generate code based on your natural language descriptions. Built on top of Visual Studio Code, it allows you to integrate language models directly into your coding workflows.
14
14
15
-
This guide will help you integrate Scaleway Generative APIs into Cursor. This lets you use models such as `qwen3-coder-30b-a3b-instruct`for code assistance and generation.
15
+
This guide will help you integrate Scaleway Generative APIs into Cursor. This lets you use models such as `qwen3-coder-30b-a3b-instruct` for code assistance and generation.
16
16
17
17
<Requirements />
18
18
19
19
- A Scaleway account logged into the [console](https://console.scaleway.com)
20
20
-[Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
21
21
- A valid [API key](/iam/how-to/create-api-keys/) for API authentication
22
-
- Installed [Cursor](https://cursor.com/) on your local machine, and logged in.
22
+
- Installed [Cursor](https://cursor.com/) on your local machine, and logged in
23
23
24
24
## Configuring Cursor to use Scaleway Generative APIs
25
25
26
26
<Lightboxsrc={cursorSettingsImage}alt="Screenshot of Cursor settings interface showing the configuration for Scaleway Generative APIs, with fields for OpenAI API key and base URL override" />
27
27
28
28
1. Open Cursor in your browser.
29
-
1. Click on the gear icon in the top right corner. The **Cursor Settings** screen displays.
30
-
2. In the left sidebar, click **Models**.
31
-
3. Uncollapse the **API Keys** section, and toggle on the **OpenAI API Key** setting.
32
-
4. Paste the secret part of your [Scaleway API key](/iam/how-to/create-api-keys/) into the **OpenAI API Key** field.
33
-
5. Toggle on the **Override OpenAI Base URL** option.
34
-
6. Enter `https://api.scaleway.ai/v1` as your base URL in the field that displays.
29
+
2. Click on the gear icon in the top right corner. The **Cursor Settings** screen displays.
30
+
3. In the left sidebar, click **Models**.
31
+
4. Uncollapse the **API Keys** section, and toggle on the **OpenAI API Key** setting.
32
+
5. Paste the secret part of your [Scaleway API key](/iam/how-to/create-api-keys/) into the **OpenAI API Key** field.
33
+
6. Toggle on the **Override OpenAI Base URL** option.
34
+
7. Enter `https://api.scaleway.ai/v1` as your base URL in the field that displays.
35
35
<Messagetype="tip">
36
36
If you are using a Project other than your [default Project](/organizations-and-projects/concepts/#default-project), modify the base URL accordingly: `https://api.scaleway.ai/{project_id}/v1`
37
37
</Message>
38
-
7. In the **Models** search bar at the top of the page, paste name of the model you want to use, for example, `qwen3-coder-30b-a3b-instruct`.
39
-
8. Click **Add Custom Model**, then **Add** next to the name of the matching model.
38
+
8. In the **Models** search bar at the top of the page, paste the name of the model you want to use, for example, `qwen3-coder-30b-a3b-instruct`.
39
+
9. Click **Add Custom Model**, then **Add** next to the name of the matching model.
40
40
41
41
The model is added. Close the **Cursor Settings** tab.
0 commit comments