---
title: "Connect your app to Fireworks AI"
description: "<p><a href=\"https://fireworks.ai/\">Fireworks AI</a> is an inference platform that serves open models through a fast, OpenAI-compatible API."
---

> Documentation Index
> Fetch the complete documentation index at: https://rshift.helpcent.re/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect your app to Fireworks AI

<p><a href="https://fireworks.ai/">Fireworks AI</a> is an inference platform that serves open models through a fast, OpenAI-compatible API. The Fireworks AI connector lets your RShift Sites app run text generation, image generation, and embeddings on models hosted by Fireworks, and fine-tune open models on your own data. It's designed for apps that need a specific open model, a custom endpoint, or a fine-tuned model beyond RShift Sites' built-in AI.</p>
<p>Fireworks AI is available as an <a href="/sites/integrations/app-connectors/">app + chat connector</a>: one shared connection that works in the project chat while you build and in your published apps.</p>
<p>With Fireworks AI, your app can:</p>
<ul>
<li>Generate text and chat replies with open models such as Llama, streamed as they are written</li>
<li>Generate images with models such as FLUX</li>
<li>Create embeddings so your app can search by meaning</li>
<li>See which models your Fireworks account can use</li>
<li>Fine-tune an open model on your own data and use the result in your app</li>
</ul>
<p>Fireworks AI is a good fit when your app needs a specific open model, a custom endpoint you host on Fireworks, or a model fine-tuned on your data. For generic AI features with no provider preference, RShift Sites' built-in AI is the simpler default.</p>
<h2>Common use cases and example apps</h2>
<p>These examples show what you can build with Fireworks AI, each with a prompt to start from.</p>
<table>
<thead>
<tr>
<th style="text-align: left">Example app</th>
<th style="text-align: left">Example prompt</th>
<th style="text-align: left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left"><strong>AI chat assistant</strong></td>
<td style="text-align: left"><em>Use Fireworks AI and build a support chat that answers questions with Llama.</em></td>
<td style="text-align: left"><strong>Answer questions with an open chat model.</strong><br />The app sends the conversation to a Fireworks chat model and streams the reply back.</td>
</tr>
<tr>
<td style="text-align: left"><strong>Text-to-image generator</strong></td>
<td style="text-align: left"><em>Use Fireworks AI and build an app that turns prompts into images with FLUX.</em></td>
<td style="text-align: left"><strong>Generate images from text prompts on demand.</strong><br />The app sends prompts to a Fireworks image model and displays the generated image.</td>
</tr>
<tr>
<td style="text-align: left"><strong>Semantic search</strong></td>
<td style="text-align: left"><em>Use Fireworks AI and build a knowledge base with semantic search over our help articles.</em></td>
<td style="text-align: left"><strong>Find content by meaning instead of keywords.</strong><br />The app embeds articles and queries with a Fireworks embedding model and ranks results by similarity.</td>
</tr>
<tr>
<td style="text-align: left"><strong>Summarization tool</strong></td>
<td style="text-align: left"><em>Use Fireworks AI and build a tool that summarizes long reports into key points.</em></td>
<td style="text-align: left"><strong>Condense long documents into skimmable summaries.</strong><br />The app sends document text to a Fireworks model and returns a structured summary.</td>
</tr>
<tr>
<td style="text-align: left"><strong>Content pipeline</strong></td>
<td style="text-align: left"><em>Use Fireworks AI and build an app that drafts product descriptions from a spec sheet.</em></td>
<td style="text-align: left"><strong>Generate structured content at scale.</strong><br />The app feeds source data to a Fireworks model and produces drafts for review.</td>
</tr>
<tr>
<td style="text-align: left"><strong>Fine-tuning workbench</strong></td>
<td style="text-align: left"><em>Use Fireworks AI and build a tool that uploads our support transcripts, fine-tunes a Llama model on them, and lets us chat with the result.</em></td>
<td style="text-align: left"><strong>Train a model on your own data and serve it from the same app.</strong><br />The app uploads a dataset, starts a fine-tuning job, polls until it finishes, and deploys the tuned model for inference.</td>
</tr>
<tr>
<td style="text-align: left"><strong>Custom endpoint app</strong></td>
<td style="text-align: left"><em>Use Fireworks AI and build an app that runs our fine-tuned model on customer inputs.</em></td>
<td style="text-align: left"><strong>Serve your own models hosted on Fireworks.</strong><br />The app calls the custom endpoint you deployed on Fireworks and shows the output.</td>
</tr>
</tbody>
</table>
<h2>How to connect Fireworks AI</h2>
<p>Who can create Fireworks AI connections depends on your plan and workspace settings. App + chat connectors are available by default on Free, Pro, and Business plans. On Enterprise plans, they are effectively disabled at first: <a href="/sites/integrations/admin-controls/#who-can-create-connections-and-clients">Who can create connections and clients</a> defaults to <strong>No one</strong> until an admin changes it in <strong>Connectors → Admin settings → App + chat connectors</strong>.</p>
<p>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.</p>
<p>When the connection is created, you can <a href="/sites/integrations/app-connectors/#link-a-connection-to-a-project">link it to the projects</a> where you want to use it. Anyone building in a project can ask RShift Sites in the project chat to link their project to it.</p>
<h3>Prerequisites</h3>
<p>Before connecting Fireworks AI, make sure you have:</p>
<ul>
<li>A Fireworks AI account</li>
<li>A Fireworks AI API key</li>
<li>Permission to <strong>create connections</strong> in your RShift Sites workspace (see <a href="/sites/integrations/admin-controls/#who-can-create-connections-and-clients">Who can create connections and clients</a>)</li>
</ul>
<blockquote>
<p><strong>Note</strong></p>
<p>All inference requests, fine-tuning jobs, and deployments made through this connector count toward your Fireworks AI usage. Billing and quota are handled directly by Fireworks AI, not RShift Sites.</p>
</blockquote>
<h3>Step 1: Get a Fireworks AI API key</h3>
<p>A Fireworks AI API key lets your RShift Sites app authenticate with the Fireworks AI API.</p>
<p>To create a Fireworks AI API key:</p>
<p><strong>Open your Fireworks AI account</strong></p>
<p>Sign in to <a href="https://app.fireworks.ai/">Fireworks AI</a>.</p>
<p><strong>Open API keys</strong></p>
<p>Go to <strong>Settings → Users → <a href="https://app.fireworks.ai/settings/users/api-keys">API keys</a></strong>.</p>
<p><strong>Create a key</strong></p>
<p>Click <strong>Create API key</strong> and give it a descriptive name, for example <code>RShift Sites integration</code>.</p>
<p><strong>Copy the key</strong></p>
<p>Copy the key (it starts with <code>fw_</code>) and store it securely.</p>
<blockquote>
<p><strong>Danger</strong></p>
<p>Your API key functions like a password. Keep it secure and never share it publicly. You'll need it in the next step.</p>
</blockquote>
<p>See Fireworks AI documentation for more: <a href="https://docs.fireworks.ai/api-reference/introduction">Fireworks AI API reference</a>.</p>
<h3>Step 2: Connect Fireworks AI to RShift Sites</h3>
<p>You can create multiple connections using different API keys.</p>
<p><strong>Open Fireworks AI in Connectors</strong></p>
<p>Open <a href="https://lovable.dev/dashboard?connectors"><strong>Connectors</strong></a> and select <strong>Fireworks AI</strong>. For the other places to open the catalog from, see <a href="/sites/integrations/introduction/#where-to-find-connectors">Where to find connectors</a>.</p>
<p><strong>Add a connection</strong></p>
<p>Click <strong>Add connection</strong>.</p>
<p><strong>Configure the connection</strong></p>
<ol>
<li><strong>Display name</strong>: name the connection, for example <code>Fireworks AI Prod</code>. This name is only used inside RShift Sites to identify the connection.</li>
<li><strong>API key</strong>: paste your Fireworks AI API key (it starts with <code>fw_</code>). <strong>Get value</strong> next to the field opens the Fireworks AI API keys page.</li>
</ol>
<p><strong>Choose who can use this connection</strong></p>
<p>Under <strong>Sharing</strong>, the connection is private to you by default and shows a <strong>Private</strong> label. To share it, click <strong>Share with others</strong>. Then add workspace members by email, or click <strong>Invite entire workspace</strong> to make the connection available to everyone in your RShift Sites workspace.</p>
<pre><code>See [Who can use connections and clients](/sites/integrations/admin-controls/#who-can-use-connections-and-clients) for more information.
</code></pre>
<p><strong>Connect</strong></p>
<p>Click <strong>Connect</strong>. RShift Sites verifies the key against the Fireworks AI API before saving the connection.</p>
<p>When connected, anyone building in a project can ask RShift Sites in the project chat to link their project to Fireworks AI (based on configured connection-level access). Your RShift Sites apps can then run text generation, image generation, embeddings, and fine-tuning through Fireworks AI.</p>
<h2>Working with fine-tuning</h2>
<p>Fine-tuning jobs run on Fireworks and take minutes to hours. When you ask RShift Sites to build a fine-tuning flow, the app uploads a dataset, starts the job, and polls until it completes. It then deploys the tuned model so the rest of the app can call it. Fine-tuning jobs and dedicated deployments bill your Fireworks account directly, so ask RShift Sites to show the cost implications in the app before a job starts.</p>
<h2>Limitations</h2>
<p>The Fireworks AI connector cannot:</p>
<ul>
<li>Rotate API keys automatically. To rotate, create a new key in Fireworks and update the RShift Sites connection.</li>
<li>Support per-end-user Fireworks AI login. Each connection represents a single Fireworks account shared across all projects linked to it.</li>
</ul>
<h2>Manage your {connector_0} connection</h2>
<p>Connections are managed from <a href="https://lovable.dev/dashboard?connectors"><strong>Connectors</strong></a>: select <strong>{connector_0}</strong>, then open the connection.</p>
<ul>
<li><strong>Unlink projects</strong> to remove {connector_0} access from specific projects while keeping the connection available for others. See <a href="/sites/integrations/app-connectors/#unlink-projects-from-a-connection">Unlink projects from a connection</a> for the steps.</li>
<li><strong>Delete the connection</strong> to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use {connector_0} stop working until a new connection is added. See <a href="/sites/integrations/app-connectors/#delete-a-connection">Delete a connection</a> for the steps and who can delete.</li>
</ul>
<h2>Related topics</h2>
<ul>
<li><a href="/sites/features/ai/">AI features for your app</a></li>
<li><a href="/sites/integrations/eleven-labs/">Connect ElevenLabs to enable voice AI in your app</a></li>
<li><a href="/sites/integrations/slack/">Connect your app to Slack</a></li>
<li><a href="/sites/integrations/granola/">Connect your app to Granola</a></li>
<li><a href="/sites/integrations/replicate/">Connect your app to Replicate</a></li>
</ul>

Source: https://rshift.helpcent.re/sites/integrations/fireworks/index.mdx
