---
title: Link your Claude organization 按鈕
url: https://platform.claude.com/docs/zh-TW/manage-claude/oauth-apps/linked-billing/link-button
description: 新增可將客戶從您的產品帶往 Claude 核准頁面以啟動 Linked billing 的按鈕。
featureMetadata:
  status: beta
  betaHeader: user-profiles-billing-2026-10-01
  supportedModels:
    - claude-fable-5-2
    - claude-mythos-5-2
    - claude-fable-5-1
    - claude-mythos-5-1
    - claude-fable-5
    - claude-mythos-5
    - claude-mythos-preview
    - claude-opus-5-5
    - claude-opus-5
    - claude-sonnet-5-5
    - claude-sonnet-5
    - claude-haiku-5-5
    - claude-haiku-4-5-20251001
    - claude-opus-4-8
    - claude-opus-4-7
    - claude-opus-4-6
    - claude-sonnet-4-6
    - claude-opus-4-5-20251101
    - claude-sonnet-4-5-20250929
  supportedPlatforms:
    Claude API:
      availability: beta
      note: 只有傳送 `billing_policy` 的請求才需要 beta 標頭。
---

<Warning>
  Claude Platform OAuth 是一項 Beta Service：依據您與 Anthropic 之間的協議（例如[商業服務條款](https://www.anthropic.com/legal/commercial-terms)）以及[特定服務條款](https://www.anthropic.com/legal/service-specific-terms)所提供的預發布軟體。在 Beta 期間，端點、參數與行為可能會變更。它可能不適合用於正式環境。
</Warning>

本頁列出 [Linked billing](https://platform.claude.com/docs/zh-TW/manage-claude/oauth-apps/linked-billing) 所用 **Link your Claude organization** 按鈕的 HTML、CSS、色彩、尺寸和標誌。

<Frame caption="淺色與深色的按鈕">
  ![淺色與深色的 Link your Claude organization 按鈕，文字前方有 Claude 標誌](https://platform.claude.com/docs/images/claude-link-button.svg)
</Frame>

## HTML 與 CSS

按鈕外觀中您唯一可以變更的部分，是其尺寸，以及您要使用淺色或深色按鈕。字型、色彩，以及標誌相對於文字的大小，都應維持[色彩與尺寸](https://platform.claude.com/docs/zh-TW/manage-claude/oauth-apps/linked-billing/link-button#colors)中所示的樣式。

按鈕的 CSS 和 HTML 會以下列方式放入您的頁面：

* **CSS：**&#x5C07; **按鈕 CSS** 中的 `<style>` 區塊放入您頁面的 `<head>`。如果您的「Content Security Policy」（內容安全政策）不允許內嵌樣式，請改將其規則放入您的樣式表。
* **HTML：**&#x5C07; **範例 HTML** 中的 `<a>` 元素放在按鈕要出現的位置。它內含標誌，因此按鈕不需要在您的 Content Security Policy 中加入任何 Anthropic 主機。
* **路由：**&#x5143;素的 `href`（範例中為 `/claude/billing/link`）指向您後端中[啟動核准流程的路由](https://platform.claude.com/docs/zh-TW/manage-claude/oauth-apps/linked-billing/link-and-bill-a-customer#send-them-to-approve)。
* **深色按鈕：**&#x5728;元素上的 `claude-button` 旁加入 `claude-button-dark` 類別，即可產生深色按鈕。
* **尺寸：**&#x82E5;要調整按鈕大小，請只變更 **按鈕 CSS** 中的 `font-size` 這一行，而不要變更 `font` 這一行中的大小。

關於您可以如何使用 Claude 名稱和標誌，請參閱 [Linked Billing Beta Terms](https://www.anthropic.com/legal/linked-billing-terms)。

<Accordion title="按鈕 CSS">
  ```html claude-button.html
  <style>
    /* Each size is written as calc(Nem / 14), where N is its size in pixels
       when the text is 14 pixels. To make the button larger, change only font-size. */
    .claude-button {
      --claude-button-fill: #FFFFFF;
      --claude-button-fill-hover: #F5F4ED;
      --claude-button-text: #141413;
      --claude-button-border: #87867F;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: calc(10em / 14);
      box-sizing: border-box;
      min-height: calc(40em / 14);
      padding: calc(8em / 14) calc(12em / 14);
      border: 1px solid var(--claude-button-border);
      border-radius: calc(8em / 14);
      background: var(--claude-button-fill);
      font: 500 0.875rem/1.4286 ui-sans-serif, system-ui, -apple-system, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
      font-size: 0.875rem;
      letter-spacing: normal;
      text-transform: none;
      cursor: pointer;
    }
    .claude-button-dark {
      --claude-button-fill: #141413;
      --claude-button-fill-hover: #262624;
      --claude-button-text: #FAF9F5;
      --claude-button-border: #73726C;
    }
    .claude-button,
    .claude-button:link,
    .claude-button:visited,
    .claude-button:hover,
    .claude-button:focus,
    .claude-button:active {
      color: var(--claude-button-text);
      text-decoration: none;
    }
    .claude-button:hover {
      background: var(--claude-button-fill-hover);
    }
    .claude-button:focus-visible {
      outline: 2px solid var(--claude-button-text);
      outline-offset: 2px;
      box-shadow: 0 0 0 2px var(--claude-button-fill);
    }
    .claude-button svg {
      flex: none;
      width: calc(20em / 14);
      height: calc(20em / 14);
    }
    .claude-button path {
      fill: #D97757;
      stroke: none;
    }
  </style>
  ```
</Accordion>

<Accordion title="範例 HTML">
  ```html link-your-claude-organization.html
  <a class="claude-button" href="/claude/billing/link">
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" aria-hidden="true">
      <path fill="#D97757" d="M11.376 24L10.776 23.544L10.44 22.8L10.776 21.312L11.16 19.392L11.472 17.856L11.76 15.96
        L11.928 15.336L11.904 15.288L11.784 15.312L10.344 17.28L8.16 20.232L6.432 22.056
        L6.024 22.224L5.304 21.864L5.376 21.192L5.784 20.616L8.16 17.568L9.6 15.672L10.536 14.592
        L10.512 14.448H10.464L4.128 18.576L3 18.72L2.496 18.264L2.568 17.52L2.808 17.28L4.704 15.96
        L9.432 13.32L9.504 13.08L9.432 12.96H9.192L8.4 12.912L5.712 12.84L3.384 12.744L1.104 12.624
        L0.528 12.504L0 11.784L0.048 11.424L0.528 11.112L1.224 11.16L2.736 11.28L5.016 11.424
        L6.672 11.52L9.12 11.784H9.504L9.552 11.616L9.432 11.52L9.336 11.424L6.96 9.84L4.416 8.16
        L3.072 7.176L2.352 6.672L1.992 6.216L1.848 5.208L2.496 4.488L3.384 4.56L3.6 4.608
        L4.488 5.304L6.384 6.768L8.88 8.616L9.24 8.904L9.408 8.808V8.736L9.24 8.472L7.896 6.024
        L6.456 3.528L5.808 2.496L5.64 1.872C5.576 1.656 5.544 1.416 5.544 1.152L6.288 0.144001
        L6.696 0L7.704 0.144001L8.112 0.504001L8.736 1.92L9.72 4.152L11.28 7.176L11.736 8.088
        L11.976 8.904L12.072 9.168H12.24V9.024L12.36 7.296L12.6 5.208L12.84 2.52L12.912 1.752
        L13.296 0.840001L14.04 0.360001L14.616 0.624001L15.096 1.32L15.024 1.752L14.76 3.6
        L14.184 6.504L13.824 8.472H14.04L14.28 8.208L15.264 6.912L16.92 4.848L17.64 4.032
        L18.504 3.12L19.056 2.688H20.088L20.832 3.816L20.496 4.992L19.44 6.336L18.552 7.464
        L17.28 9.168L16.512 10.536L16.584 10.632H16.752L19.608 10.008L21.168 9.744L22.992 9.432
        L23.832 9.816L23.928 10.2L23.592 11.016L21.624 11.496L19.32 11.952L15.888 12.768
        L15.84 12.792L15.888 12.864L17.424 13.008L18.096 13.056H19.728L22.752 13.272L23.544 13.8
        L24 14.424L23.928 14.928L22.704 15.528L21.072 15.144L17.232 14.232L15.936 13.92H15.744
        V14.016L16.848 15.096L18.84 16.896L21.36 19.224L21.48 19.8L21.168 20.28L20.832 20.232
        L18.624 18.552L17.76 17.808L15.84 16.2H15.72V16.368L16.152 17.016L18.504 20.544
        L18.624 21.624L18.456 21.96L17.832 22.176L17.184 22.056L15.792 20.136L14.376 17.952
        L13.224 16.008L13.104 16.104L12.408 23.352L12.096 23.712L11.376 24Z"/>
    </svg>
    Link your Claude organization
  </a>
  ```
</Accordion>

如果您的路由需要表單提交（例如 `POST`），請在表單內使用 `<button type="submit" class="claude-button">` 來取代 `<a>` 元素。它包含相同的標誌和文字。表單的 action 為您的路由，並套用相同的樣式。

您自己樣式表中的規則（例如針對 `.nav a` 的規則）可能會覆寫按鈕的樣式。如此一來，按鈕就會與[色彩與尺寸](https://platform.claude.com/docs/zh-TW/manage-claude/oauth-apps/linked-billing/link-button#colors)中的圖片和表格不符。若要保留其設計，請將此類規則撰寫為略過具有 `claude-button` 類別的元素。

## 色彩與尺寸

| 部分 | 淺色按鈕 | 深色按鈕 |
| ----- | ----- | ----- |
| 背景 | `#FFFFFF` | `#141413` |
| 文字 | `#141413` | `#FAF9F5` |
| 邊框 | `#87867F` | `#73726C` |
| 滑鼠懸停時的背景 | `#F5F4ED` | `#262624` |
| 標誌 | `#D97757` | `#D97757` |

在預設字型大小 14 像素、且頁面根字型大小為 16 像素的情況下，按鈕具有以下尺寸：

| 部分 | 尺寸 |
| ----- | ----- |
| 高度 | 40 像素 |
| 內距 | 上下各 8 像素，左右各 12 像素 |
| 圓角半徑 | 8 像素 |
| 邊框 | 1 像素 |
| 標誌 | 20 × 20 像素 |
| 標誌與文字之間的間距 | 10 像素 |
| 文字 | 14 像素，字重 500，使用系統的無襯線字型 |
| 焦點外框 | 以文字色彩繪製的 2 像素外框，距按鈕 2 像素，並在按鈕周圍有一圈以填滿色彩繪製的 2 像素環 |

除了邊框和焦點外框之外，所有尺寸都會隨按鈕的字型大小縮放。

## 標誌檔案

對於不以 HTML 建構的按鈕（例如在行動或桌面應用程式中），標誌為以下檔案 `claude-logo.svg`。該按鈕採用[色彩與尺寸](https://platform.claude.com/docs/zh-TW/manage-claude/oauth-apps/linked-billing/link-button#colors)中的色彩和尺寸，若您變更其大小，則依該節所述一同縮放。與範例 HTML 相同，也請在該按鈕中對螢幕閱讀器隱藏標誌，因為文字已經說明了它。

<Accordion title="claude-logo.svg">
  <File filename="claude-logo.svg" size="sm">
    ```xml
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
      <path fill="#D97757"
        d="M11.376 24L10.776 23.544L10.44 22.8L10.776 21.312L11.16 19.392L11.472 17.856L11.76 15.96
          L11.928 15.336L11.904 15.288L11.784 15.312L10.344 17.28L8.16 20.232L6.432 22.056
          L6.024 22.224L5.304 21.864L5.376 21.192L5.784 20.616L8.16 17.568L9.6 15.672L10.536 14.592
          L10.512 14.448H10.464L4.128 18.576L3 18.72L2.496 18.264L2.568 17.52L2.808 17.28L4.704 15.96
          L9.432 13.32L9.504 13.08L9.432 12.96H9.192L8.4 12.912L5.712 12.84L3.384 12.744L1.104 12.624
          L0.528 12.504L0 11.784L0.048 11.424L0.528 11.112L1.224 11.16L2.736 11.28L5.016 11.424
          L6.672 11.52L9.12 11.784H9.504L9.552 11.616L9.432 11.52L9.336 11.424L6.96 9.84L4.416 8.16
          L3.072 7.176L2.352 6.672L1.992 6.216L1.848 5.208L2.496 4.488L3.384 4.56L3.6 4.608
          L4.488 5.304L6.384 6.768L8.88 8.616L9.24 8.904L9.408 8.808V8.736L9.24 8.472L7.896 6.024
          L6.456 3.528L5.808 2.496L5.64 1.872C5.576 1.656 5.544 1.416 5.544 1.152L6.288 0.144001
          L6.696 0L7.704 0.144001L8.112 0.504001L8.736 1.92L9.72 4.152L11.28 7.176L11.736 8.088
          L11.976 8.904L12.072 9.168H12.24V9.024L12.36 7.296L12.6 5.208L12.84 2.52L12.912 1.752
          L13.296 0.840001L14.04 0.360001L14.616 0.624001L15.096 1.32L15.024 1.752L14.76 3.6
          L14.184 6.504L13.824 8.472H14.04L14.28 8.208L15.264 6.912L16.92 4.848L17.64 4.032
          L18.504 3.12L19.056 2.688H20.088L20.832 3.816L20.496 4.992L19.44 6.336L18.552 7.464
          L17.28 9.168L16.512 10.536L16.584 10.632H16.752L19.608 10.008L21.168 9.744L22.992 9.432
          L23.832 9.816L23.928 10.2L23.592 11.016L21.624 11.496L19.32 11.952L15.888 12.768
          L15.84 12.792L15.888 12.864L17.424 13.008L18.096 13.056H19.728L22.752 13.272L23.544 13.8
          L24 14.424L23.928 14.928L22.704 15.528L21.072 15.144L17.232 14.232L15.936 13.92H15.744
          V14.016L16.848 15.096L18.84 16.896L21.36 19.224L21.48 19.8L21.168 20.28L20.832 20.232
          L18.624 18.552L17.76 17.808L15.84 16.2H15.72V16.368L16.152 17.016L18.504 20.544
          L18.624 21.624L18.456 21.96L17.832 22.176L17.184 22.056L15.792 20.136L14.376 17.952
          L13.224 16.008L13.104 16.104L12.408 23.352L12.096 23.712L11.376 24Z"/>
    </svg>
    ```
  </File>
</Accordion>

## 後續步驟

<CardGroup cols={2}>
  <Card title="您的客戶會看到什麼" icon="browser" href="https://platform.claude.com/docs/zh-TW/manage-claude/oauth-apps/linked-billing/what-your-customers-see">
    您的客戶會看到的核准頁面、支出上限和電子郵件，讓您能夠為他們提供支援
  </Card>

  <Card title="測試並發布您的應用程式" icon="rocket" href="https://platform.claude.com/docs/zh-TW/manage-claude/oauth-apps/linked-billing/test-and-publish">
    新增測試使用者、發布您的應用程式，以及變更或刪除它
  </Card>
</CardGroup>
