> ## Documentation Index
> Fetch the complete documentation index at: https://support.i.moneyforward.com/llms.txt
> Use this file to discover all available pages before exploring further.

# バクラクシリーズ

> バクラクシリーズとの連携方法です。バクラクシリーズへの、管理者のログインから、連携方法まで一連の手順を解説します。

## サポートする機能

<Badge color="blue">アカウント無効化</Badge> <Badge color="blue">アカウント作成</Badge>

## 事前準備

### バクラクシリーズとの連携方法

[バクラクのログインページ](https://id.layerx.jp/auth/sign_in)より**メールアドレス・パスワード**を入力しログインします。

<img src="https://mintcdn.com/moneyforwardi/Xi2n4osxO3YA8XjG/images/integrations/r7u4ghb6yi/1708578936349-image.png?fit=max&auto=format&n=Xi2n4osxO3YA8XjG&q=85&s=ae3e40a6d576b6dcbe8927b6a01fdab0" alt="バクラクログイン画面" width="621" height="656" data-path="images/integrations/r7u4ghb6yi/1708578936349-image.png" />

### APIキーの発行

<Info>
  APIキーの発行には事前にLayerX社にお申し込みが必要となります。連携をご希望のお客様は、[【バクラク】SaaS管理ツール連携申込フォーム](https://docs.google.com/forms/d/e/1FAIpQLSct-ZVSsOHbNw1nO9J0nwoCTrXgA6slPGM-XuMLwx5Zl5WL2A/viewform)に記入の上お申し込みください。
</Info>

1. バクラク共通管理にアクセスし、 設定 > API管理よりAPIキータブの\[**新規作成**]をクリックします。
   詳細は[Bakuraku共通管理（外部サイト）](https://bakuraku-login.layerx.jp/hc/ja)をご参照ください。

   <img src="https://mintcdn.com/moneyforwardi/tMe7Ck7tZsW3yk90/images/integrations/r7u4ghb6yi/1724731585359-image.png?fit=max&auto=format&n=tMe7Ck7tZsW3yk90&q=85&s=1659b3c2b2cc08ad2a90f172b7a797ca" alt="APIキー新規作成画面" width="1920" height="624" data-path="images/integrations/r7u4ghb6yi/1724731585359-image.png" />

2. バクラク共通管理にアクセスし、 設定 > API管理よりAPIキータブの\[新規作成]をクリックします。
   APIキーに任意の名称を入力し、スコープには以下のとおりチェックをいれて保存します。

   * ユーザー：`読み取り`、`書き込み`
   * 組織図：`読み取り`、`書き込み`

   <img src="https://mintcdn.com/moneyforwardi/tMe7Ck7tZsW3yk90/images/integrations/r7u4ghb6yi/1724731684504-image.png?fit=max&auto=format&n=tMe7Ck7tZsW3yk90&q=85&s=3c26c8cb36daf50cf41f3d67ada14e4f" alt="APIキースコープ設定画面" width="1580" height="1622" data-path="images/integrations/r7u4ghb6yi/1724731684504-image.png" />

3. APIキーが発行されますので、コピーして保存しておきます。連携に必要なAPIキーの取得は以上です。

   <img src="https://mintcdn.com/moneyforwardi/Xi2n4osxO3YA8XjG/images/integrations/r7u4ghb6yi/1724731293104-image.png?fit=max&auto=format&n=Xi2n4osxO3YA8XjG&q=85&s=3ba7ec2bb938f4f76a09cbc2e284e78b" alt="APIキー発行完了画面" width="1572" height="630" data-path="images/integrations/r7u4ghb6yi/1724731293104-image.png" />

## インテグレーションのセットアップ

1. インテグレーション > インテグレーションで「**バクラクシリーズ**」を検索します。

2. 取得したAPIキーを入力し、\[連携する]をクリックします。

   <img src="https://mintcdn.com/moneyforwardi/Xi2n4osxO3YA8XjG/images/integrations/r7u4ghb6yi/1724731825485-image.png?fit=max&auto=format&n=Xi2n4osxO3YA8XjG&q=85&s=57d75f7627f6fa8f744039bd9a574ca5" alt="APIキー入力画面" width="492" height="531" data-path="images/integrations/r7u4ghb6yi/1724731825485-image.png" />

3. バクラクシリーズとの連携が成功すると、アカウント一覧に登録済みのユーザー情報が表示されます。正常に完了しない場合は、まず [SaaSとの連携に失敗する場合の対処法](/it-management/saas-management/93nahw45is-trouble) に記載のステップをお試しください。それでも解決しない場合は、[ご提供いただきたい情報](/it-management/saas-management/93nahw45is-trouble#info-to-provide) をご確認のうえ、[サポート窓口](/contact-support)までお問い合わせください。

## アカウントライフサイクル

以下のアカウントライフサイクルに対応しています。

* Provisioning（新規・追加登録）
* Deactivate（無効化）

<Info>
  バクラクの管理画面・ディレクトリで従業員ID (employeeCode)が未入力の場合はエラーとなります。Provisioning/Deactivateを行われる場合は、従業員IDをご入力ください。
  ディレクトリ > 対象者を選択 > ユーザー情報 > 社員ID（Employee ID）を設定してください。
</Info>
