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

# Incident.io 統合

> Incident.io を Devin に接続して、Incident.io のアラートやインシデントをきっかけに自動化や Devin Oncall をトリガーします。

Incident.io を接続すると、アラートの発生やインシデントの起票と同時に Devin が作業を開始できます。Incident.io のアラートとインシデントによって、Devin の[自動化](https://docs.devinenterprise.com/ja/product-guides/automations.md)と [Devin Oncall](https://docs.devinenterprise.com/ja/product-guides/devin-oncall.md) がトリガーされます。

## 統合のセットアップ

1. Incident.io で、データの閲覧が可能な APIキーを作成します。Devin が検出結果をアラートのノートとして投稿できるように「create and manage on-call resources」権限を追加し、非公開インシデントをルーティングする場合は「act in private incidents」権限も追加してください。
2. Devin で [設定 > 接続 > Incident.io](https://app.devin.ai/settings/connections/incident-io) に移動し、「接続」をクリックしてキーを貼り付けます。
3. **Webhook** セクションで Webhook URL をコピーします。
4. Incident.io で **Settings > Webhooks** に移動し、コピーした URL で Webhook を作成して、**Webhook** セクションに記載されているイベントをサブスクライブします。
5. Webhook の署名シークレットを Devin に貼り付け、「保存」をクリックします。

> [!NOTE]
>
> 接続を解除すると、アラートイベントとインシデントイベントの受信が停止します。再接続すると新しい Webhook URL が発行されるため、Incident.io で Webhook を再設定してください。

## Incident.io から Devin をトリガーする

[自動化](https://docs.devinenterprise.com/ja/product-guides/automations.md)でトリガーを追加し、**Incident.io** を選択してイベントを選びます。

| イベント | 条件 |
| - | - |
| インシデントの作成、ステータスの変更、重要度の変更、フォローアップの作成 | Team、重要度、ステータス、インシデントの種類 |
| アラートの作成、アラートの解決 | アラートのソース、アラートの優先度、タイトル |

非公開のアラートとインシデントは、**Include private alerts** または **Include private incidents** をオンにしない限り、条件に一致することはありません。これらの設定をオンにできるのは、Incident.io の管理者またはオーナーのみです。

> [!NOTE]
>
> Incident.io トリガーを保存するには、Devin で使用しているメールアドレスが、接続先の Incident.io ワークスペースのユーザーとして登録されている必要があります。

## Devin Oncall

* **レスポンダー**は、Incident.io のアラートまたはインシデントを調査します。詳しくは[トリガー](https://docs.devinenterprise.com/ja/product-guides/devin-oncall.md#triggers)を参照してください。
* **インシデント**は、Incident.io が作成する Slackチャンネルから開始されます。詳しくは[インシデント](https://docs.devinenterprise.com/ja/product-guides/devin-oncall.md#incidents)を参照してください。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.