- Generate chat and text completions with open models like Llama, with streaming support
- Generate images with models like FLUX
- Create embeddings for semantic search and recommendations
- List the models available to your Fireworks account and pick one at runtime
Common use cases and example apps
How to connect Fireworks AI
Who can create Fireworks AI connections depends on your plan and workspace settings. See Who can create connections and clients. You can create multiple Fireworks AI connections using different API keys, which is useful for separating environments (for example, development and production) or managing rate limits. When the connection is created, you can link it to the projects where you want to use it. Anyone building in a project can ask Lovable in chat to link their project to it.Prerequisites
Before connecting Fireworks AI, make sure you have:- A Fireworks AI account
- A Fireworks AI API key
- Permission to create connections in your Lovable workspace (see Who can create connections and clients)
All inference requests made through this connector count toward your Fireworks AI usage. Billing and quota are handled directly by Fireworks AI, not Lovable.
Step 1: Get a Fireworks AI API key
An API key lets your Lovable app authenticate with the Fireworks AI API. To create a Fireworks AI API key:1
Open your Fireworks AI account
Sign in to Fireworks AI.
2
Navigate to API keys
Go to Settings → Users → API keys.
3
Create a key
Click Create API key and give it a descriptive name, for example
Lovable integration.4
Copy the key
Copy the key (it starts with
fw_) and store it securely.Step 2: Connect Fireworks AI to Lovable
You can create multiple connections using different API keys.1
Open Fireworks AI in Connectors
Open Connectors and select Fireworks AI. For the other places to open the catalog from, see Where to find connectors.
2
Add a connection
Click Add connection.
3
Configure the connection
- Display name: name the connection, for example
Fireworks AI Prod. This name is only used inside Lovable to identify the connection. - API key: paste your Fireworks AI API key (it starts with
fw_).
4
Choose who can use this connection
Under Who can use this connection, decide who in your workspace can use the connection. You start as the only person with access:
- Only you (default): leave the access list as is; only you can use the connection and its associated data.
- Invite specific people: add workspace members by email; only you and the people you add can use the connection and its associated data.
- Invite entire workspace: click Invite entire workspace to make the connection available to everyone in your Lovable workspace.
5
Connect
Click Connect.
Limitations
The Fireworks AI connector covers the inference API and cannot:- Manage your Fireworks account, deployments, or fine-tuning jobs. That functionality lives in a separate management API that the connector does not serve; use the Fireworks dashboard instead.
- Call Fireworks from client-side code. Requests go through Lovable from a server-side endpoint.
- Refresh or rotate API keys automatically. To rotate, create a new key in Fireworks and update the Lovable connection.
- Support per-end-user Fireworks AI login. Each connection represents a single Fireworks account shared across all projects linked to it.
Manage your connection
Connections are managed from Connectors: select , then open the connection.- Unlink projects to remove access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
- Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use stop working until a new connection is added. See Delete a connection for the steps and who can delete.