← All applications · Connect apps section on /docs
OpenAIconfigure grok-build
Grok Build
xAI Grok Build TUI coding agent.
Base URL to paste
Paste exactly one of two formats — wrong URL yields 404 (not 401).
https://vietrouter.com.vn/v1Prerequisites
- Cài grok build CLI
- API key
Recommended model: grok-4.6
Quick way — command / config
api-cli configure grok-build -k 'sk-mtm-...'Where to place file / fill Settings
Filemacos
~/.grok/config.toml
Trỏ endpoint Vietrouter /v1.
Filelinux
~/.grok/config.toml
Giống macOS.
Filewindows
%USERPROFILE%\.grok\config.toml
Tạo file TOML.
Verify connection
- grok build chat
- api-cli doctor
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| model unavailable | Model id không có trên Vietrouter. | GET /v1/models chọn id grok có sẵn. |