# Setting: `chatbot_grok_api_key`

- **Constant:** `ConfigInterface::CHATBOT_GROK_API_KEY`
- **Category:** `chatbot`
- **Type:** `password`
- **Required:** no
- **Sensitive:** yes
- **Validation:** `string|max:255`
- **Placeholder / default hint:** `xai-...`

## Description

xAI (Grok) API key

## Allowed options

_Free-form / no fixed options_

## Change via CLI

```bash
featherpanel saas getsetting chatbot_grok_api_key
featherpanel saas setsetting chatbot_grok_api_key "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "chatbot_grok_api_key": "<value>" }
```
