> [!NOTE]
> **Note:** You can get higher rate limits by subscribing to [Google One](https://one.google.com/intl/en_us/about). Or, you can [add a Gemini API key](https://developer.android.com/studio/gemini/add-api-key) to expand your context window and pay per token.

To get started with AI in Android Studio, follow these steps:

1. [Download Android Studio](https://developer.android.com/studio). Note that some features are under active development and only available through [Studio Labs](https://developer.android.com/studio/gemini/labs) or a [preview
   version of Android Studio](https://developer.android.com/studio/preview).
2. To launch an agent, open or start an Android Studio project and click **Agent** ![](https://developer.android.com/static/studio/images/agent-icon.png). Alternatively, click **View \> Tool Windows \> Agent**.
3. Use the **Agents** drop-down to add, configure, and select agents.
4. To use a Gemini model, click the model menu. Sign in to your Google Account if needed, and then click **Set up Gemini** .
   1. Select **Individuals** when given the choice of product tier. You can now select a Gemini model to use.
   2. To configure settings for AI in Android Studio, click **File** (**Android Studio** on macOS) **\> Settings \> Tools \> AI**.

## Next steps

- See the [best practices](https://developer.android.com/studio/gemini/best-practices) for tips on how to use the agent.
- Explore the [guides](https://developer.android.com/studio/gemini/agent-mode) to learn more about the agent's features.
- Browse the [Prompt Gallery](https://developer.android.com/studio/prompt-gallery) for inspiration for what to ask the agent.