Firebase Studio provides an agentic development experience,
directly in your workspace using Gemini.

You can use Gemini within Firebase Studio
through two types of workspaces:

- **Coding workspace (Code view):**
  Firebase Studio provides a full coding workspace that offers
  AI assistance to streamline your coding
  workflow---inline within your code editor and using
  chat. Gemini can provide code
  suggestions, generate code, explain code concepts, update project files,
  run terminal commands, and interpret command output. Learn more at
  [Try Gemini within Firebase Studio](https://firebase.google.com/docs/studio/try-gemini.md.txt).

- **App Prototyping workspace (Prototyper
  view):**
  Firebase Studio provides this agent to assist you in prototyping
  apps without writing code. Generate Next.js web apps and publish to
  Firebase App Hosting with Genkit-powered agentic AI flows.
  Learn more at [Get started with
  the App Prototyping agent](https://firebase.google.com/docs/studio/get-started-ai) and
  [Develop, publish, and monitor a full-stack web app with
  the App Prototyping agent](https://firebase.google.com/docs/studio/solution-build-with-ai).

**Important:** Gemini can
generate output that seems plausible but is
factually incorrect. It may respond with inaccurate information
that doesn't represent Google's views. Validate all output from
Gemini before you use it and do not use untested
generated code in production. Do not enter personally-identifiable
information (PII) or user data into the chat.

## How Gemini uses your data

Your use of Firebase Studio is governed by the [Google Terms of
Service](https://policies.google.com/terms).

However, note that your use of generative AI features within
Firebase Studio is governed by the [Generative AI Prohibited Use
Policy](https://policies.google.com/terms/generative-ai/use-policy) and the
[Gemini API Additional Terms of
Service](https://ai.google.dev/gemini-api/terms) (specifically governed by
[Gemini API Additional Terms of Service: Unpaid
Services](https://ai.google.dev/gemini-api/terms#unpaid-services)).

To block the use of your *prompts and responses* for model training, do not
use the App Prototyping agent, and do not use assistance from
Gemini within Firebase Studio. To block the use of
your *code* for model training, turn off
[code completion](https://firebase.google.com/docs/studio/set-up-gemini.md.txt#adjust-code-complete) and
[code indexing](https://firebase.google.com/docs/studio/set-up-gemini.md.txt#adjust-code-indexing)
in your Firebase Studio settings.

## Set up Gemini

For detailed setup steps, see [Set up Gemini](https://firebase.google.com/docs/studio/set-up-gemini.md.txt).

## Pricing

Gemini is available at no-cost while Firebase Studio
is in preview. Learn more at [Gemini
pricing](https://firebase.google.com/docs/gemini-in-firebase#pricing).

## Next steps

- [Set up Gemini](https://firebase.google.com/docs/studio/set-up-gemini.md.txt)
- [Try Gemini](https://firebase.google.com/docs/studio/try-gemini.md.txt)