> ## Documentation Index
> Fetch the complete documentation index at: https://nemonist.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Junie

> Use JetBrains Junie CLI with nemonist through a custom model profile.

**1. Add a nemonist model profile**

Save this file as `.junie/models/nemonist.json` in your project, or in `~/.junie/models/` for every project:

```json theme={null}
{
  "displayName": "nemonist",
  "baseUrl": "https://nemonist.com/api/v1/chat/completions",
  "apiType": "OpenAICompletion",
  "apiKey": "${NEMONIST_API_KEY}",
  "id": "anthropic/claude-sonnet-5.5"
}
```

Set `id` to any model ID from the [model list](https://nemonist.com/models). The `baseUrl` is the whole endpoint, ending in `/chat/completions`.

**2. Put your key in your shell profile**

```bash theme={null}
export NEMONIST_API_KEY="sk-nm-..."
```

**3. Start Junie**

```bash theme={null}
junie --model custom:nemonist
```

In a running session, `/model` lists the profile under **Custom**.

> [!WARNING]
>
> Use the custom model profile, not `--provider openrouter` or `--provider litellm`. Those options do not reach nemonist: Junie stops at its own sign-in step.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.