Skip to content

取得 API Key ​

API Key 是你呼叫 CodyRouter API、設定 Claude Code、Codex、OpenCode、OpenClaw 或其他 API 接入工具時使用的密鑰。

建立步驟 ​

  1. 登入 CodyRouter 控制台。
  2. 打開 API Keys 頁面。
  3. 建立新的 API Key。
  4. 複製產生的 Key,並保存到本機安全位置。
  5. 在工具或程式碼中使用這個 Key。

使用建議 ​

  • 不要把 API Key 提交到 Git 儲存庫。
  • 不要把 API Key 放到前端公開程式碼裡。
  • 本機開發優先使用環境變數。

CodyRouter 整合文件。