Skip to main content
Fireworks AI is an inference platform that serves open models through a fast, OpenAI-compatible API. The Fireworks AI connector lets your Lovable app run text generation, image generation, and embeddings on models hosted by Fireworks. It’s designed for apps that need a specific open model or a custom endpoint beyond Lovable’s built-in AI. Fireworks AI is available as an app + chat connector: one shared connection that works in the chat while you build and in your published apps. With Fireworks AI, your app can:
  • 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
Fireworks AI is a good fit when your app needs a specific open model, a custom endpoint you host on Fireworks, or OpenAI-compatible inference you control. For generic AI features with no provider preference, Lovable’s built-in AI is the simpler default.

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:
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.
Your API key functions like a password. Keep it secure and never share it publicly. You’ll need it in the next step.
See Fireworks AI documentation for more: Fireworks AI API reference.

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

  1. Display name: name the connection, for example Fireworks AI Prod. This name is only used inside Lovable to identify the connection.
  2. 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.
See Who can use connections and clients for more information.
5

Connect

Click Connect.
When connected, anyone building in a project can ask Lovable in chat to link their project to Fireworks AI (based on configured connection-level access). Your Lovable apps can then run text generation, image generation, and embeddings through Fireworks AI.

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.