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

# Codecov

> Codecovへの、管理者のログインから、連携方法まで一連の手順を解説します。

<Info>
  現在、**Github連携のみサポート**しています。
</Info>

## 事前準備

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

1. [Codecov](https://about.codecov.io/)のトップページ右上のLoginの所にカーソルオーバーをし、**GitHub**をクリックします。

   <Info>
     連携にはGoogleやSSOなど外部認証アカウントはご利用いただけません。詳細は[［制限事項］Google 認証やSSOなど外部認証アカウントによる連携失敗](/it-management/faq/7gbneu0vz5-auth-error#authentication-error)をご覧ください。
   </Info>

   <img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/1656395850139-image.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=3df3d490c36cb4feb07de2ca1581c9ae" alt="Codecovのトップページ" width="626" height="512" data-path="images/integrations/39wtowrizi/1656395850139-image.png" />

2. つぎに、Login with Githubをクリックします。

   <img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/1656395937847-image.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=4f37dc3611f0f7fee1f0075b0401721a" alt="Login with Githubボタン" width="654" height="501" data-path="images/integrations/39wtowrizi/1656395937847-image.png" />

3. GitHubのログイン用ユーザー名またはメールアドレス、パスワードを入力し、ログインします。

   <img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/1656396280213-image.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=4529c673353dc3e43a9b652ba0d9403e" alt="GitHubログイン画面" width="500" height="814" data-path="images/integrations/39wtowrizi/1656396280213-image.png" />

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

Codecovにログイン後、URL一部が**ワークスペースキー**となるので保存します。

app.codecov.io/gh/`{ワークスペースキー}`

<img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/2022-03-07-183316.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=70d90b88f0e473e9209a05f9ab286b1b" alt="ワークスペースキーの取得" width="1447" height="422" data-path="images/integrations/39wtowrizi/2022-03-07-183316.png" />

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

1. インテグレーション画面にて、**Codecov**を検索、選択します。

2. 前の手順で取得した**ワークスペースキー**、**Githubのユーザー名** と **パスワード**を入力し、**連携する**をクリックします。

   <img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/8.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=598d1295221f2c5990b947f9ce31bce4" alt="Codecov連携設定画面" width="472" height="702" data-path="images/integrations/39wtowrizi/8.png" />

3. Codecovとの連携が成功すると、アカウント一覧に登録済みのユーザー情報が表示されます。正常に完了しない場合は、まず [SaaSとの連携に失敗する場合の対処法](/it-management/saas-management/93nahw45is-trouble) に記載のステップをお試しください。それでも解決しない場合は、[ご提供いただきたい情報](/it-management/saas-management/93nahw45is-trouble#info-to-provide) をご確認のうえ、[サポート窓口](/contact-support)までお問い合わせください。
