Skip to content

Creating an API key

At Build Day you will run Claude Code with an API key created in your own Claude Platform account. The API credits you receive are consumed through this key.

API keys are issued per “workspace”. Right after creating your account, only the Default workspace exists, but Default won’t let you create an API key unless you change an organization setting — so we’ll create a new workspace for Build Day instead.

  1. Click the workspace selector in the top left of the screen, then click 「ワークスペースを作成」 (Create workspace).

  2. Enter a name (for example build-day — any name works) and click 「ワークスペースを作成」 (Create workspace). You can leave the color and workspace region at their defaults.

  1. Select the 「APIキー」 (API keys) menu in the console and click 「キーを作成」 (Create Key). Make sure the workspace shown in the top left is the one you created in the previous step.

  2. If a screen saying 「ID連携を使用すれば、APIキーは不要です」 (You don’t need API keys if you use identity federation) appears, click 「APIキーで続ける」 (Continue with API key) at the bottom. The prominent 「ID連携を設定する」 (Set up identity federation) button above it is not used at Build Day.

  3. Enter a name and click 「キーを作成」 (Create Key). 「スコープ」 (Scope) is filled in with the workspace you currently have selected. 「有効期限」 (Expiry, 30日間 / 30 days by default) and 「リンクされたアカウント」 (Linked account) can be left as they are.

  4. Make a note of the API key that is shown (a string starting with sk-ant-). It is only shown at creation time.

Once you have created a key, install Claude Code.

Installing Claude Code