# Use CommandCode with 7API

> Connect CommandCode to 7API with /connect and BYOK. Models are discovered automatically from https://7api.st/v1.


CommandCode reads `GET /v1/models`, so every 7API model appears automatically. The steps are the same on Windows, macOS and Linux.

1. Open CommandCode and enter `/connect`.
2. Choose **BYOK**. When asked for **Provider ID**, enter `7api.st`.
3. Choose **OpenAI**.
4. Paste `https://7api.st/v1` as the URL.
5. Paste your 7API key.
6. Pick a model from the list and start chatting.
