> ## 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.

# Huntress

> Huntressとの連携方法です。マネーフォワードAdminaからHuntressへの、管理者のログインから、連携方法まで一連の手順を解説します。

## 事前準備

### Huntressへのログイン方法

[Huntressログインページ](https://huntress.io/login)にて、メールアドレス・パスワードなどを入力しログインします。

<img src="https://mintcdn.com/moneyforwardi/QzbS1Vmxd8p6iTrg/images/integrations/xv1b8gmfg5/1665019324656-image.png?fit=max&auto=format&n=QzbS1Vmxd8p6iTrg&q=85&s=f25671752a9d8b9e352038a76e58e3ab" alt="ログイン画面" width="1023" height="607" data-path="images/integrations/xv1b8gmfg5/1665019324656-image.png" />

### ワークスペースキーの取得方法

Huntressにログイン後、上部メニュータブから**Organization > 連携するOrganization**を選択します。

<img src="https://mintcdn.com/moneyforwardi/QzbS1Vmxd8p6iTrg/images/integrations/xv1b8gmfg5/1666234118749-image.png?fit=max&auto=format&n=QzbS1Vmxd8p6iTrg&q=85&s=7843e45b80fe818155c0ec1685edc182" alt="Organization選択" width="1056" height="583" data-path="images/integrations/xv1b8gmfg5/1666234118749-image.png" />

連携するOrganizationページの**URLの一部がワークスペースキー**となるので、保存します。

https\://＊＊＊＊.huntress.io/org/ **`{ワークスペースキー}`**

### 2段階認証（QRコード、秘密鍵）の取得方法

**右上のメニューアイコン > Preferences**と進み、Two-Facter Authenticationの**Google Authenticator** の **編集** ✎をクリックします。

<img src="https://mintcdn.com/moneyforwardi/QzbS1Vmxd8p6iTrg/images/integrations/xv1b8gmfg5/1666235597211-image.png?fit=max&auto=format&n=QzbS1Vmxd8p6iTrg&q=85&s=0be88d9f9ac494875a1b6bb88cb2ab1e" alt="Preferences画面" width="888" height="631" data-path="images/integrations/xv1b8gmfg5/1666235597211-image.png" />

**QRコードとSecret Key**が表示されますので、

* QRコードで連携する場合は、表示されている**QRコードをスクリーンショットし保存**します。
* 秘密鍵で連携する場合は、**Secret Key を保存**します。

<img src="https://mintcdn.com/moneyforwardi/QzbS1Vmxd8p6iTrg/images/integrations/xv1b8gmfg5/1666236611774-image.png?fit=max&auto=format&n=QzbS1Vmxd8p6iTrg&q=85&s=a025b146fbc717428522b52633a11a2d" alt="QRコードとSecret Key" width="726" height="522" data-path="images/integrations/xv1b8gmfg5/1666236611774-image.png" />

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

インテグレーション画面にて、**Huntress**で検索します。

<img src="https://mintcdn.com/moneyforwardi/QzbS1Vmxd8p6iTrg/images/integrations/xv1b8gmfg5/1666163148393-image.png?fit=max&auto=format&n=QzbS1Vmxd8p6iTrg&q=85&s=f1b8cf974173e4ebf4c11f911804a5e8" alt="インテグレーション検索画面" width="1114" height="558" data-path="images/integrations/xv1b8gmfg5/1666163148393-image.png" />

前の手順で取得した**ワークスペースキー** と **2段階認証**、Huntressログイン用の**メールアドレス・パスワード**を入力し、**連携する**をクリックします。

<img src="https://mintcdn.com/moneyforwardi/QzbS1Vmxd8p6iTrg/images/integrations/xv1b8gmfg5/1666163170210-image.png?fit=max&auto=format&n=QzbS1Vmxd8p6iTrg&q=85&s=d421c4f7f0b89f3ee7ca661190f30ae2" alt="連携設定画面" width="572" height="894" data-path="images/integrations/xv1b8gmfg5/1666163170210-image.png" />

Huntressとの連携に成功すると、アカウント一覧に登録済みのユーザー情報が表示されます。

正常に完了しない場合は、インテグレーション画面のステータスタブから**編集**し、再度連携をお試しください。

解決しない場合はチャットにてお問い合わせください。

Huntressの連携概要については[連携ページ](http://admina.moneyforward.com/jp/integrations/huntress)をご覧ください。

## 補足

サインアップ直後では、Organizationにサインアップしたアカウント自身が含まれていません。

マネーフォワードAdminaはOrganizationのアカウントを取得しますが、サインアップしたアカウントが取得されないため、手動でOrganizationにサインアップアカウントを追加し、再度同期を実行ください。
