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

# Claude Desktop 第三方推論閘道設定指南

> Claude AI 整合指南 - Ace Data Cloud

本指南設定 Claude Desktop 的 **Third-Party Inference Gateway**，不是 Claude Code，也不是 Claude Desktop 的 MCP Connector。

## 1. 取得 API Key

開啟 [Ace Data Cloud 應用程式列表](https://platform.acedata.cloud/console/applications)，進入可用的應用程式並複製 API Key。

![取得 Ace Data Cloud API Key](https://cdn.acedata.cloud/dvc3cg.jpg)

## 2. 開啟第三方推論設定

在 Claude Desktop 登入頁面依序開啟 **Help → Troubleshooting → Enable Developer Mode**，再選擇 **Developer → Configure Third-Party Inference…**。

![Claude Desktop 開啟 Third-Party Inference](https://cdn.acedata.cloud/713ffd7104a3.png)

> 圖片來自 Bifrost Apache-2.0 儲存庫，僅用於定位 Claude Desktop 選單；不同版本的介面可能略有差異。

## 3. 設定 Gateway

選擇 **Gateway**，然後填寫：

| 欄位 | 值 |
| - | - |
| Gateway base URL | `https://api.acedata.cloud` |
| Gateway API key | 剛剛複製的 API Key |
| Gateway auth scheme | `bearer` |
| Credential kind | `Static API key` |

![Claude Desktop Gateway 設定介面](https://cdn.acedata.cloud/68d41fe682cb.png)

點擊 **Apply Changes**，再點擊 **Save & Restart**。

## 4. 驗證

重新啟動後選擇可用模型，建立新對話並傳送 `Reply only OK`，再執行一個簡單工具任務。呼叫紀錄可在 [使用歷史](https://platform.acedata.cloud/console/usages) 查看。

Ace Data Cloud Gateway 支援 Claude Desktop 使用的 `/v1/models`、Bearer 驗證串流 `/v1/messages`、工具呼叫和 `tool_result` 續寫。提示快取欄位會保留；快取寫入與讀取值均為 0 時，不代表發生了快取命中。

401 通常表示 Key 不正確；找不到模型時，重新檢查設定並完整重新啟動 Claude Desktop。回報問題時提供呼叫紀錄中的 trace ID，不要提供 API Key。

## 官方參考

* [Claude Desktop 第三方推論安裝與單機設定](https://claude.com/docs/third-party/claude-desktop/installation)
* [Claude Desktop 第三方推論設定參考](https://claude.com/docs/third-party/claude-desktop/configuration)

返回 [Claude App 整合指南](https://platform.acedata.cloud/documents/mcp-tutorials-claude-desktop)。


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