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

# n8n Self-Hosted

> n8n Self-Hosted連携手順：管理者権限で、Base URLとAPIキー取得後、Adminaと連携

## サポートする機能

<Badge color="blue">プロビジョニング</Badge> <Badge color="blue">アカウント削除</Badge>

<Info>
  連携には管理者権限のアカウントが必要です。
</Info>

## 事前準備

### ログイン方法

**n8n Self-Hostedログインページ**にて、必要情報を入力し、ログインします。

### Base URLの確認方法

n8n Self-Hostedログイン後のURLが、**Base URL**です。

例：`https://my-n8n-server.com`

### APIキーの取得方法

**Settings** > **n8n API** > **Create an API key** をクリックします。

<img src="https://mintcdn.com/moneyforwardi/0ySy00K4rFJnnltO/images/integrations/gc8vrmg0n1/cs-20251223-004831-2-x.png?fit=max&auto=format&n=0ySy00K4rFJnnltO&q=85&s=02449848b13d1d3a8d4cdcb0689dba92" alt="APIキー作成画面" width="2918" height="1738" data-path="images/integrations/gc8vrmg0n1/cs-20251223-004831-2-x.png" />

**Label**、**Expiration**を設定します。

エンタープライズプランを利用している場合は、**Scopes**で付与する項目を選択します。

ユーザーの一覧取得・作成・削除するために、**user:read、user:list、user:create、user:delete は**選択必須です。

<img src="https://mintcdn.com/moneyforwardi/0ySy00K4rFJnnltO/images/integrations/gc8vrmg0n1/cs-20251223-004832-2-x.png?fit=max&auto=format&n=0ySy00K4rFJnnltO&q=85&s=edb55be4aeab68941922653892a3f06c" alt="Scopes設定画面" width="2914" height="1738" data-path="images/integrations/gc8vrmg0n1/cs-20251223-004832-2-x.png" />

**Save**をクリックし、作成された**APIキー**をコピーします。

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

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

任意のワークスペース名、前の手順で取得した**Base URL**、**APIキー**を入力し、**連携する**をクリックします。

<img src="https://mintcdn.com/moneyforwardi/0ySy00K4rFJnnltO/images/integrations/gc8vrmg0n1/2025-12-24-154401.png?fit=max&auto=format&n=0ySy00K4rFJnnltO&q=85&s=82ecef84fcb428fcf390e21c43c8435d" alt="連携設定画面" width="468" height="612" data-path="images/integrations/gc8vrmg0n1/2025-12-24-154401.png" />

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

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

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