Prerequisites
Before you can connect to Connect AI, you must create OAuth client credentials in MoneyForward Expense. Follow these steps:Set Scopes to office_setting:write user_setting:write transaction:write report:write account:write public_resource:read.
セットアップガイド
以下の手順で、MoneyForward Expense をConnect AI アカウントに接続します。In Connect AI, enter the following connection information:
- OAuth Client Id—the client Id generated in the prerequisites.
- OAuth Client Secret—the client secret generated in the prerequisites.
- Office Id—the Id of the office. This is required for most queries.
Connect AI Connection ページ上部の、Save & Test をクリックします。
- 接続テストに成功すると、コネクションが作成されたことを示すConnection successfully saved というメッセージが表示されます。Edit Connection ページのStatus もAuthenticated に変わります。Edit Connection ページの右ペインにあるData Model タブで、成功したコネクションのデータモデルを表示します。
- 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。Connect AI は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、Sign in ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。
- 失敗したコネクションは下書きとして保存され、Status はNot Authenticated になります。後でコネクションに戻って認証することができます。