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

# Insightly

> How to integrate with Insightly. This explains how to get your API key and region, then complete the integration.

export const IntegrationCapabilities = ({lang = "ja", modes = "", plan = "", lifecycle = "", automation = "", fetch = "", capabilities = "", memo = ""}) => {
  const TEXT = ({
    ja: {
      rows: {
        mode: "連携モード",
        plan: "連携確認プラン",
        lifecycle: "アカウントライフサイクル",
        automation: "自動化",
        fetch: "取得データ",
        capabilities: "対応機能",
        memo: "備考"
      },
      empty: "-",
      more: "各項目の意味は[連携可能SaaS・機能対応一覧](/integrations/supported-saas)をご覧ください。",
      mode: {
        "API Key": "APIキー"
      },
      lifecycle: {
        provisioning: "アカウント作成",
        deactivate: "アカウント無効化",
        delete: "アカウント削除"
      },
      automation: {
        provisioning: "アカウント作成",
        deactivate: "アカウント無効化",
        delete: "アカウント削除"
      },
      fetch: {
        User: "ユーザー名",
        Mail: "メールアドレス",
        Role: "ロール",
        Status: "ステータス",
        "2FA": "二要素認証",
        LastActivity: "最終利用日",
        Licenses: "ライセンス"
      },
      capabilities: {
        "employee-master": "従業員マスター連携",
        "identity-provider": "IDプロバイダー連携",
        "cost-aggregation": "コスト管理",
        "file-aggregation": "ファイル管理",
        "file-permissions": "ファイル権限管理",
        "device-aggregation": "MDM連携"
      }
    },
    en: {
      rows: {
        mode: "Integration mode",
        plan: "Verified plan",
        lifecycle: "Account lifecycle",
        automation: "Automation",
        fetch: "Fetched data",
        capabilities: "Capabilities",
        memo: "Notes"
      },
      empty: "-",
      more: "See [Supported SaaS and Capabilities](/en/integrations/supported-saas) for what each item means.",
      mode: {},
      lifecycle: {
        provisioning: "Account creation",
        deactivate: "Account deactivation",
        delete: "Account deletion"
      },
      automation: {
        provisioning: "Account creation",
        deactivate: "Account deactivation",
        delete: "Account deletion"
      },
      fetch: {
        LastActivity: "Last Activity"
      },
      capabilities: {
        "employee-master": "HR master",
        "identity-provider": "Identity provider",
        "cost-aggregation": "Cost management",
        "file-aggregation": "File management",
        "file-permissions": "File permissions",
        "device-aggregation": "MDM integration"
      }
    }
  })[lang === "en" ? "en" : "ja"];
  const BADGE_COLORS = {
    "ID/Password": "yellow",
    "API Key": "cyan",
    OAuth: "red",
    App: "purple",
    User: "blue",
    Mail: "cyan",
    Role: "orange",
    Status: "teal",
    "2FA": "pink",
    LastActivity: "green",
    Licenses: "purple",
    provisioning: "green",
    delete: "red",
    deactivate: "yellow",
    "employee-master": "blue",
    "identity-provider": "teal",
    "cost-aggregation": "yellow",
    "file-aggregation": "cyan",
    "file-permissions": "orange",
    "device-aggregation": "purple"
  };
  const list = value => String(value || "").split(",").map(item => item.trim()).filter(Boolean);
  const badges = (source, labels) => {
    const values = list(source);
    if (values.length === 0) {
      return <span className="integration-capabilities-empty">{TEXT.empty}</span>;
    }
    return values.map(value => <span key={value} className={"integration-catalog-badge integration-catalog-badge--" + (BADGE_COLORS[value] || "gray")}>
        {labels?.[value] ?? value}
      </span>);
  };
  const text = value => value || <span className="integration-capabilities-empty">{TEXT.empty}</span>;
  const ROWS = [["mode", badges(modes, TEXT.mode)], ["plan", text(plan)], ["lifecycle", badges(lifecycle, TEXT.lifecycle)], ["automation", badges(automation, TEXT.automation)], ["fetch", badges(fetch, TEXT.fetch)], ["capabilities", badges(capabilities, TEXT.capabilities)], ["memo", text(memo)]];
  return <div className="integration-capabilities">
      <dl className="integration-capabilities-list">
        {ROWS.map(([key, value]) => <div className="integration-capabilities-row" key={key}>
            <dt>{TEXT.rows[key]}</dt>
            <dd>{value}</dd>
          </div>)}
      </dl>
    </div>;
};

## Integration Specifications

<IntegrationCapabilities lang="en" modes="API Key" fetch="User, Mail, Status" />

## Prerequisites

### Getting an API key

1. Log in to [Insightly](https://login.insightly.com/).

2. Click the avatar icon at the top right of the screen, then select **User Settings**.

   <img src="https://mintcdn.com/moneyforwardi/52tkKFh5k2_P2Uzw/images/integrations/insightly/user-settings-menu.png?fit=max&auto=format&n=52tkKFh5k2_P2Uzw&q=85&s=1fbbabfb9a6316239a491d22b4264c21" alt="Selecting User Settings from the avatar menu at the top right of Insightly" width="816" height="914" data-path="images/integrations/insightly/user-settings-menu.png" />

3. On the **User Settings** screen, in the **API** section, check the API key shown next to **Your API key is**. Also check the URL shown next to **Your API URL is**. The subdomain in this URL is your region. For example, if the URL is `https://api.na1.insightly.com/v3.1/`, your region is `na1`. For details, see [Find your API key and URL (external site)](https://support.insight.ly/en-US/Knowledge/article/9549/Find_your_API_key_and_url/).

   <img src="https://mintcdn.com/moneyforwardi/52tkKFh5k2_P2Uzw/images/integrations/insightly/api-key.png?fit=max&auto=format&n=52tkKFh5k2_P2Uzw&q=85&s=ebc8db486a17985c2efc8410c6b4f2b9" alt="The location of the API key and API URL on the Insightly User Settings screen" width="1140" height="220" data-path="images/integrations/insightly/api-key.png" />

## Setting up the integration

1. On the integration screen, search for **Insightly**.

2. Enter a workspace name (optional) and the API key from the previous step. Enter the region you checked, then click **Connect**.

   <img src="https://mintcdn.com/moneyforwardi/52tkKFh5k2_P2Uzw/images/integrations/insightly/setup-modal.png?fit=max&auto=format&n=52tkKFh5k2_P2Uzw&q=85&s=e3c15a6cb14cbc3c876be1ff52738eab" alt="Insightly integration setup screen" width="666" height="888" data-path="images/integrations/insightly/setup-modal.png" />

3. Once the integration with Insightly succeeds, registered user information appears in the account list. If it doesn't complete successfully, first try the steps in [Troubleshooting failed SaaS integrations](/en/it-management/saas-management/93nahw45is-trouble). If that doesn't resolve it, check [Information to provide](/en/it-management/saas-management/93nahw45is-trouble#info-to-provide) and contact [support](/en/contact-support).
