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

# Sentry

> Sentryとの連携手順です。

## サポートする機能

<Badge color="blue">アカウント削除</Badge> <Badge color="blue">アカウント作成</Badge>

## 事前準備

### Sentryへのログイン方法

[Sentryログインページ](https://sentry.io/auth/login/)にて、メールアドレス・パスワードを入力しログインします。

<img src="https://mintcdn.com/moneyforwardi/H1U6E2frRcGDFDpD/images/integrations/jqu7mdxcdu/1661755303223-image.png?fit=max&auto=format&n=H1U6E2frRcGDFDpD&q=85&s=8aafbb52703e6a6ded9e5dea9fd1f1ba" alt="Sentryログイン画面" width="929" height="523" data-path="images/integrations/jqu7mdxcdu/1661755303223-image.png" />

### ワークスペースキーの取得方法

Sentryにログイン後、左のメニューより**Settings ＞ General Settings**と進みます。

以下のようにOrganization Setting画面に移ります。**Organization Slug**が**ワークスペースキー**となりますので、保存しておきます。

<img src="https://mintcdn.com/moneyforwardi/H1U6E2frRcGDFDpD/images/integrations/jqu7mdxcdu/1648544946025-image.png?fit=max&auto=format&n=H1U6E2frRcGDFDpD&q=85&s=6bec0668f45c08ca999dd3a9082d904b" alt="Organization Setting画面" width="1760" height="525" data-path="images/integrations/jqu7mdxcdu/1648544946025-image.png" />

### アクセスキー（Auth Token）の取得方法

Sentryにログイン後、左のメニューアカウントを選択し、**User Auth Tokens**をクリックします。

\[**Create New Token**] ボタンをクリックします。

<img src="https://mintcdn.com/moneyforwardi/H1U6E2frRcGDFDpD/images/integrations/jqu7mdxcdu/1698738890077-image.png?fit=max&auto=format&n=H1U6E2frRcGDFDpD&q=85&s=7aca9241e1db98e3714eae6eb0d41ab9" alt="User Auth Tokens画面" width="3018" height="980" data-path="images/integrations/jqu7mdxcdu/1698738890077-image.png" />

画面のとおり、`team:read`, `member:admin`, `org:read`, にチェックを入れ、\[Create Token]ボタンをクリックします。

<img src="https://mintcdn.com/moneyforwardi/H1U6E2frRcGDFDpD/images/integrations/jqu7mdxcdu/1664450857624-image.png?fit=max&auto=format&n=H1U6E2frRcGDFDpD&q=85&s=e68e449d1ab6a8186e52fc1a21c6bf4f" alt="トークン作成画面" width="2416" height="1024" data-path="images/integrations/jqu7mdxcdu/1664450857624-image.png" />

Auth Tokenが表示されるので、コピーします（アクセスキーになります）

<img src="https://mintcdn.com/moneyforwardi/H1U6E2frRcGDFDpD/images/integrations/jqu7mdxcdu/1664450961624-image.png?fit=max&auto=format&n=H1U6E2frRcGDFDpD&q=85&s=0760ea7306059ba0767a9bea43464d75" alt="Auth Token表示" width="2372" height="404" data-path="images/integrations/jqu7mdxcdu/1664450961624-image.png" />

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

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

<img src="https://mintcdn.com/moneyforwardi/H1U6E2frRcGDFDpD/images/integrations/jqu7mdxcdu/1648544988794-image.png?fit=max&auto=format&n=H1U6E2frRcGDFDpD&q=85&s=b8e2bfbbc642601cc4c13f7f9a08e284" alt="Admina連携画面検索" width="684" height="343" data-path="images/integrations/jqu7mdxcdu/1648544988794-image.png" />

**前の手順で取得したワークスペースキー、アクセスキー**を入力し、**連携する**をクリックします。

<img src="https://mintcdn.com/moneyforwardi/H1U6E2frRcGDFDpD/images/integrations/jqu7mdxcdu/1664450349541-image.png?fit=max&auto=format&n=H1U6E2frRcGDFDpD&q=85&s=6f878a5a78c2111d22c14a057c96571d" alt="連携情報入力画面" width="952" height="926" data-path="images/integrations/jqu7mdxcdu/1664450349541-image.png" />

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

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

また、次の制限事項に該当していないかどうかも併せてご確認ください。[\[制限事項\]Google 認証やSSOなど外部認証アカウントによる連携失敗](/it-management/faq/7gbneu0vz5-auth-error)

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

Sentryの連携概要については[連携ページ](http://admina.moneyforward.com/jp/integrations/sentry)をご覧ください。
