---
title: JetBrains
---
This example uses **IntelliJ**; same steps apply to other JetBrains IDEs (e.g., PyCharm).
## Install
Install [IntelliJ](https://www.jetbrains.com/idea/).
## Usage with Ollama
To use **Ollama**, you will need a [JetBrains AI Subscription](https://www.jetbrains.com/ai-ides/buy/?section=personal&billing=yearly).
1. In Intellij, click the **chat icon** located in the right sidebar
2. Select the **current model** in the sidebar, then click **Set up Local Models**
3. Under **Third Party AI Providers**, choose **Ollama**
4. Confirm the **Host URL** is `http://localhost:11434`, then click **Ok**
5. Once connected, select a model under **Local models by Ollama**