Bolt.new Integration
Bolt.new is an AI web development agent that builds, runs, and deploys full-stack apps in the browser.
Using LLM.kiwi in Bolt Apps
When Bolt generates an application for you, instruct it to use LLM.kiwi as the backend for any AI features.
Prompt Example
"Build a chat application. Use the OpenAI SDK but configure it to point to 'https://api.llm.kiwi/v1' as the base URL. Use an environment variable 'LLM_API_KEY' for authentication."
Manual Configuration
If you are editing the code generated by Bolt:
import OpenAI from 'openai';
export const openai = new OpenAI({
apiKey: process.env.LLM_API_KEY,
baseURL: 'https://api.llm.kiwi/v1',
dangerouslyAllowBrowser: true // Only if calling from client-side (not recommended)
});