Skip to content

Commit c66c0b3

Browse files
authored
feat(genapi): add quickstart for bolt diy
1 parent 72fe3d9 commit c66c0b3

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

pages/generative-apis/reference-content/integrating-generative-apis-with-popular-tools.mdx

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The following table compares AI tools and libraries supported by Scaleway's Gene
2424
| [LlamaIndex](#llamaindex-advanced-rag-applications) | Library for building advanced AI RAG applications | Knowledge graph building, document retrieval, data indexing | Medium |
2525
| [Continue Dev](#continue-dev-ai-coding-assistance) | IDE extension for AI-powered coding assistance | Code completion, code review | Low |
2626
| [Zed AI](#zed-ai-coding-assistance) | IDE including AI-powered coding assistance | Code completion, code review | Low |
27+
| [Bolt.diy](#boltdiy-code-generation) | Software to create applications | Code generation, code edition| Low |
2728
| [Chatbox AI](#chatbox-ai) | Desktop client for generative APIs, available on Windows, Mac, Linux | AI copilot for documents, images, or code| Low |
2829
| [cURL/Python](#custom-http-integrations) | Direct HTTP API calls for custom integrations | Custom applications, data processing | High |
2930

@@ -194,6 +195,38 @@ Chatbox AI is a powerful AI client and smart assistant, compatible with Scaleway
194195
Refer to our dedicated documentation for [installing and configuring Chatbox AI with Generative APIs](/tutorials/configure-chatboxai-with-generative-apis/)
195196
</Message>
196197

198+
## Bolt.diy (code generation)
199+
200+
Bolt.diy is a software enabling user to create applications from prompt.
201+
202+
To use Bolt.diy with Scaleway's Generative APIs, you can:
203+
- [Install and launch Bolt.diy locally](https://github.com/stackblitz-labs/bolt.diy?tab=readme-ov-file#setup)
204+
- In Bolt interface, click on **Settings** in the bottom left corner.
205+
- Then, click on **Local Providers**.
206+
- Enable **OpenAILike** and add your API endpoint: `https://api.scaleway.ai/v1` by default.
207+
- In Bolt main menu, you can now select `OpenAILike` and add your **Scaleway Secret Key** as `OpenAILike API Key`.
208+
- You can now also select one of the supported models from Scaleway Generative APIs. We suggest you start with `llama-3.1-8b-instruct` as Bolt requires significant amount of output tokens (8000 by default), which can take a long time to generate and may not be supported by bigger models.
209+
210+
You can now enter a prompt and see your application being generated.
211+
212+
Alternatively, you can also setup your Scaleway Secret Key by editing `.env.production` corresponding environment variables values and restarting Bolt.diy:
213+
```bash
214+
OPENAI_LIKE_API_BASE_URL=https://api.scaleway.ai/v1
215+
OPENAI_LIKE_API_KEY=###SCW_SECRET_KEY###
216+
```
217+
218+
<Message type="tip">
219+
If you want to limit access to a specific Scaleway Project, replace API endpoint with `https://api.scaleway.ai/###PROJECT_ID###/v1/` since the default URL `https://api.scaleway.ai/v1/` can only be used with the default project.
220+
</Message>
221+
222+
## Chatbox AI
223+
224+
Chatbox AI is a powerful AI client and smart assistant, compatible with Scaleway's Generative APIs service. It is available across multiple platforms, including Windows, macOS, Android, iOS, Web, and Linux.
225+
226+
<Message type="tip">
227+
Refer to our dedicated documentation for [installing and configuring Chatbox AI with Generative APIs](/tutorials/configure-chatboxai-with-generative-apis/)
228+
</Message>
229+
197230
## Custom HTTP integrations
198231

199232
You can interact with Scaleway's Generative APIs directly using any HTTP client.
@@ -237,4 +270,4 @@ print(response.json()["choices"][0]["message"]["content"])
237270
```
238271
<Message type="tip">
239272
Make sure to replace `<API secret key>` with your actual API key.
240-
</Message>
273+
</Message>

0 commit comments

Comments
 (0)