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

# ServiceNow 統合: Iru Endpoint の構成

> OAuth とサービスアカウントを使用して Iru Endpoint を ServiceNow に接続し、SAM Pro のライセンスがある場合は、必要に応じて Mac アプリケーションのインベントリと使用状況データを送信します。

### 始める前に

ここに進む前に、[ServiceNow 統合: ServiceNow の構成](/ja/endpoint/integrations/servicenow/servicenow-integration-servicenow-configuration)に従って、Kandji ServiceNow アプリをテナントにインストールしてください。

### ServiceNow 統合を設定する

<Note>
  Iru Endpoint で **Connect to ServiceNow** を選択する前に、ServiceNow ストアから Kandji ServiceNow アプリをインストールしてください。
</Note>

<Steps>
  <Step title="Iru Endpoint にログインする">
    Iru Endpoint にログインします。
  </Step>

  <Step title="インテグレーションを開く">
    サイドバーで [**アカウントメニューボタン**](/ja/iru/platform-overview/account-menu) を選択し、**インテグレーション** を選択します。

    <Frame>
      <img src="https://mintcdn.com/iru/8BYPjuKZa-zyEEf_/assets/media/images/iru-nav-integrations.png?fit=max&auto=format&n=8BYPjuKZa-zyEEf_&q=85&s=e89fa7e9b81ac504a6f519608e10b8a3" alt="Integrations オプションが強調表示されたアカウントメニューのスクリーンショット" width="562" height="1040" data-path="assets/media/images/iru-nav-integrations.png" />
    </Frame>
  </Step>

  <Step title="すべての統合を参照する">
    Integrations ページの右上にある **すべてのインテグレーションを参照** を選択します。
  </Step>

  <Step title="ServiceNow を選択する">
    **ServiceNow** タイルを選択します。
  </Step>

  <Step title="ServiceNow テナントを入力する">
    ServiceNow テナントのプレフィックス、つまり `.service-now.com` の前の部分のみを入力します (例: `acme.service-now.com` の場合は `acme`)。
  </Step>

  <Step title="クライアント ID を入力する">
    先ほど作成した ServiceNow OAuth アプリの Client ID を入力します。
  </Step>

  <Step title="クライアントシークレットを入力する">
    先ほど作成した ServiceNow OAuth アプリの Client Secret を入力します。
  </Step>

  <Step title="サービスアカウントのユーザー名を入力する">
    先ほど作成したサービスアカウントのユーザー名を入力します。
  </Step>

  <Step title="サービスアカウントのパスワードを入力する">
    先ほど作成したサービスアカウントのパスワードを入力します。
  </Step>

  <Step title="Kandji ServiceNow アプリをインストールする">
    Kandji ServiceNow アプリをまだインストールしていない場合は、Iru Endpoint でセットアップを完了する前に、ServiceNow ストアからインストールし、[ServiceNow の構成](/ja/endpoint/integrations/servicenow/servicenow-integration-servicenow-configuration)を完了してください。
  </Step>

  <Step title="ServiceNow に接続する">
    **Connect to ServiceNow** を選択します。
  </Step>

  <Step title="アプリケーションのインベントリと使用状況データを送信する (任意)">
    Software Asset Management Professional (SAM Pro) のライセンスがある場合は、**編集** を選択し、Mac アプリケーションのインベントリと使用状況データを毎晩 ServiceNow に送信するオプションをオンにして、**保存** を選択します。

    <Frame>
      <img src="https://mintcdn.com/iru/r8mG6Pt5YOvmQxXl/assets/media/images/servicenow-prism-usage-setting.png?fit=max&auto=format&n=r8mG6Pt5YOvmQxXl&q=85&s=1aa83468bbd005050aa1894e5204db3d" alt="Send Mac application inventory and usage data from Prism to ServiceNow (requires SAM Pro) が有効になった設定モーダル" width="1024" height="242" data-path="assets/media/images/servicenow-prism-usage-setting.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  セットアップが完了すると、Iru Endpoint は Apple デバイスのデータの ServiceNow への同期を開始します。
</Note>

### 統合を管理する

統合が接続されたら、Iru Endpoint で ServiceNow 統合の詳細ページを開いて、接続状況、テナント情報、使用中の OAuth アプリを確認します。

#### 再認証

統合の構成に使用した ServiceNow の資格情報を更新する必要がある場合は、Iru Endpoint の統合の詳細ページから再認証します。

<Note>
  ServiceNow 統合で再認証が必要な場合、Iru Endpoint は再認証が完了するまでテナントにバナーを表示します。また、ServiceNow OAuth 資格情報の有効期限が切れる 30 日前から、Admin または Account Owner の権限を持つチームメンバーにメールでリマインダーを送信します。
</Note>

<Steps>
  <Step title="インテグレーションを開く">
    サイドバーで **アカウントメニューボタン** を選択し、**インテグレーション** を選択します。

    <Frame>
      <img src="https://mintcdn.com/iru/8BYPjuKZa-zyEEf_/assets/media/images/iru-nav-integrations.png?fit=max&auto=format&n=8BYPjuKZa-zyEEf_&q=85&s=e89fa7e9b81ac504a6f519608e10b8a3" alt="Integrations オプションが強調表示されたアカウントメニューのスクリーンショット" width="562" height="1040" data-path="assets/media/images/iru-nav-integrations.png" />
    </Frame>
  </Step>

  <Step title="ServiceNow 統合にアクセスする">
    Asset Management セクションで **ServiceNow** を選択します。
  </Step>

  <Step title="統合メニューを開く">
    右上隅にある**省略記号** (⋯) を選択します。
  </Step>

  <Step title="再認証 を選択する">
    **再認証** を選択します。
  </Step>

  <Step title="資格情報を更新する">
    ServiceNow テナントのドメインとクライアント ID がまだ正確であることを確認し、新しいアカウントの資格情報を入力します。
  </Step>

  <Step title="ServiceNow に接続する">
    **Connect to ServiceNow** を選択します。
  </Step>

  <Step title="接続を確認する">
    資格情報が受け入れられると、ServiceNow の統合の詳細ページに戻ります。
  </Step>
</Steps>

#### 統合を削除する

Iru Endpoint で ServiceNow 統合を削除するには、次の手順を使用します。

<Warning>
  この操作は元に戻せません。統合を削除するとすぐに、デバイスの資産データの ServiceNow への同期が停止します。
</Warning>

<Steps>
  <Step title="インテグレーションを開く">
    サイドバーで **アカウントメニューボタン** を選択し、**インテグレーション** を選択します。

    <Frame>
      <img src="https://mintcdn.com/iru/8BYPjuKZa-zyEEf_/assets/media/images/iru-nav-integrations.png?fit=max&auto=format&n=8BYPjuKZa-zyEEf_&q=85&s=e89fa7e9b81ac504a6f519608e10b8a3" alt="Integrations オプションが強調表示されたアカウントメニューのスクリーンショット" width="562" height="1040" data-path="assets/media/images/iru-nav-integrations.png" />
    </Frame>
  </Step>

  <Step title="ServiceNow 統合にアクセスする">
    Asset Management セクションで **ServiceNow** を選択します。
  </Step>

  <Step title="統合メニューを開く">
    右上隅にある**省略記号** (⋯) を選択します。
  </Step>

  <Step title="Delete Integration を選択する">
    **Delete Integration** を選択します。
  </Step>

  <Step title="削除を確認する">
    **Delete Integration** を選択する前に、確認メッセージをよく読んでください。
  </Step>
</Steps>

## 考慮事項

<CardGroup cols={2}>
  <Card title="前提条件" icon="store">
    Iru Endpoint でこの統合を完了する前に、ServiceNow ストアから Kandji ServiceNow アプリをインストールしてください。
  </Card>

  <Card title="資格情報" icon="key">
    OAuth アプリの資格情報は安全に保管し、組織のスケジュールに従ってローテーションしてください。
  </Card>

  <Card title="再認証のアラート" icon="bell">
    ServiceNow OAuth 資格情報の有効期限が近づくと、Iru Endpoint はテナントにバナーを表示し、有効期限の 30 日前から Admin または Account Owner の権限を持つチームメンバーにメールでリマインダーを送信します。プロンプトが表示されたら、ServiceNow 統合の詳細ページから再認証してください。
  </Card>

  <Card title="テスト" icon="clipboard-check">
    統合を広くロールアウトする前に、少数のデバイスでテストしてください。
  </Card>

  <Card title="データ同期" icon="arrows-rotate">
    統合が接続されると、デバイスのインベントリが自動的に同期されます。
  </Card>
</CardGroup>

### 関連記事

<CardGroup cols={2}>
  <Card title="ServiceNow 統合: 概要" icon="book-open" href="/ja/endpoint/integrations/servicenow/servicenow-integration-overview">
    Iru Endpoint から ServiceNow のステージングテーブルとターゲットテーブルにデバイスのインベントリが同期される仕組みと、有効な場合に SAM Pro のアプリデータが同期される仕組みについて説明します。
  </Card>

  <Card title="ServiceNow 統合: ServiceNow の構成" icon="wrench" href="/ja/endpoint/integrations/servicenow/servicenow-integration-servicenow-configuration">
    Kandji ServiceNow アプリをインストールし、OAuth とサービスアカウントを作成して、Kandji が表示されない場合は検出ソースを修正します。
  </Card>
</CardGroup>
