# DataRobotライセンスの適用

> DataRobotライセンスの適用 - ユーザーインターフェイスまたはDataRobotのAPIを使用してDataRobotのライセンスを適用する方法をご紹介します。

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-07-15T05:55:45.001662+00:00` (UTC).

## Primary page

- [DataRobotライセンスの適用](https://docs.datarobot.com/ja/docs/platform/admin/manage-cluster/license.html.md): Full documentation for this topic (Markdown sidecar).

## Sections on this page

- [DataRobotアプリケーションでのライセンスの適用](https://docs.datarobot.com/ja/docs/platform/admin/manage-cluster/license.html.md#apply-a-license-in-the-datarobot-application): In-page section heading.
- [シートライセンス](https://docs.datarobot.com/ja/docs/platform/admin/manage-cluster/license.html.md#seat-licenses): In-page section heading.
- [APIによるライセンスの適用](https://docs.datarobot.com/ja/docs/platform/admin/manage-cluster/license.html.md#apply-a-license-via-the-api): In-page section heading.

## Documentation content

このページでは、アプリケーションインターフェイスまたはDataRobot APIを使用してDataRobotのライセンスを適用する方法について説明します。 なお、このワークフローは管理者専用で、DataRobotに管理者権限でログインしている必要があります。

## DataRobotアプリケーションでのライセンスの適用

1. ブラウザーでDataRobotクラスターにアクセスします。
2. ページ右上のプロフィールアイコンをクリックし、ライセンスを選択します。
3. ライセンスページで、フィールドにライセンスキーを入力し、検証をクリックします。
4. 検証後、DataRobotはサブスクリプションに含まれる機能を一覧表示します（下の画像ではぼかされています）。
5. 検証後のライセンスに正しいサブスクリプション機能が一覧表示されていることを確認し、送信をクリックします。

### シートライセンス

> [!NOTE] プレミアム機能
> シートライセンスを割り当てる機能はプレミアム機能です。 この機能は、次の場合にのみ利用できます。
> 
> シートライセンスが割り当てられているマルチテナントSaaS組織。
> クラスターレベルのシート割り当てが可能なライセンスキーを持つシングルテナントSaaS/セルフマネージド環境。これにより、当該環境のシステム管理者が組織にシートを割り当てることができます。
> 
> 詳細については、DataRobotの担当者にお問い合わせください。

シートライセンスでは、組織で購入した個々のライセンスの数に基づいて、ユーザーに特定の権限を付与することができます。
ユーザーアカウントにシートライセンスを適用するには：

1. 前のセクションでアクセスしたライセンスページから、シートライセンスセクションをクリックします。
2. 表示されたテーブルでシートを割り当てるをクリックします。
3. シートを割り当てるモーダルで、組織の名前を入力し、割り当てるシート数を指定します。

シートが組織に割り当てられましたが、ユーザーには割り当てられていません。 [シートライセンスをユーザーに割り当てる](https://docs.datarobot.com/ja/docs/platform/admin/manage-entities/manage-users.html.md#assign-seat-licenses-to-users) を参照してください。

## APIによるライセンスの適用

また、管理者はDataRobotのREST APIを使用して、DataRobotのライセンスを検証できます。 そのためには、次のスニペットに情報を入力し、REST APIコールを実行します。

```
# Set the URI of the DataRobot App node
# Ex. https://datarobot.example.com
# Ex. http://10.2.3.4
dr_app_node="http://10.2.3.4"

# If you have a username and password, start here
# Set the initial username
admin_username=localadmin@datarobot.com

# Set the local administrator user password
admin_password=""

# Read the license
ldata=$(cat ./license.txt)

# Apply the license with the following commands

# Log in to the App Node
curl --silent -X POST \
  --cookie "/tmp/cookies.txt" \
  --cookie-jar "/tmp/cookies.txt" \
  -H "Content-Type: application/json" \
  -d '{"username":"'"${admin_username}"'","password":"'"${admin_password}"'"}' \
  ${dr_app_node}/account/login

# Get an API key
api_key=$(curl --silent -X POST \
  --cookie "/tmp/cookies.txt" \
  --cookie-jar "/tmp/cookies.txt" \
  -H "Content-Type: application/json" \
  -d '{"name":"apiKey"}' \
  ${dr_app_node}/api/v2/account/apiKeys/ | cut -d ',' -f 5 | cut -d '"' -f 4)

# Apply the license
curl --silent -w "%{http_code}\n" -X PUT \
  -H "Content-Type: application/json" \
  -H "HTTP/1.1" \
  -H "Authorization: Token ${api_key}}" \
  -d '{"licenseKey":"'"${ldata}"'"}' \
  ${dr_app_node}/api/v2/clusterLicense/

# Expected output: 200 
```
