> ## Documentation Index
> Fetch the complete documentation index at: https://hc.saas-manager.biz.nuro.jp/llms.txt
> Use this file to discover all available pages before exploring further.

# Codecov

> マネーフォワードAdminaからCodecovへの、管理者のログインから、連携方法まで一連の手順を解説します。

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

## 事前準備

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

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

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

<img src="https://mintcdn.com/admina-sbn/gyF1-fkQWT4-4akk/images/integrations/39wtowrizi/1656395850139-image.png?fit=max&auto=format&n=gyF1-fkQWT4-4akk&q=85&s=22d7e7241cf4cf2a5285b32a0bdc1909" alt="Codecovのトップページ" width="626" height="512" data-path="images/integrations/39wtowrizi/1656395850139-image.png" />

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

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

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

<img src="https://mintcdn.com/admina-sbn/gyF1-fkQWT4-4akk/images/integrations/39wtowrizi/1656396280213-image.png?fit=max&auto=format&n=gyF1-fkQWT4-4akk&q=85&s=e6eecb7b1dbfc842b0f22c08a789f084" 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/admina-sbn/gyF1-fkQWT4-4akk/images/integrations/39wtowrizi/2022-03-07-183316.png?fit=max&auto=format&n=gyF1-fkQWT4-4akk&q=85&s=8b487cb689811f5cff34cc212685d918" alt="ワークスペースキーの取得" width="1447" height="422" data-path="images/integrations/39wtowrizi/2022-03-07-183316.png" />

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

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

<img src="https://mintcdn.com/admina-sbn/gyF1-fkQWT4-4akk/images/integrations/39wtowrizi/2022-03-07-180645.png?fit=max&auto=format&n=gyF1-fkQWT4-4akk&q=85&s=b019038af64d3fcd195dd6151efa864b" alt="インテグレーション画面でCodecovを検索" width="930" height="503" data-path="images/integrations/39wtowrizi/2022-03-07-180645.png" />

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

<img src="https://mintcdn.com/admina-sbn/gyF1-fkQWT4-4akk/images/integrations/39wtowrizi/8.png?fit=max&auto=format&n=gyF1-fkQWT4-4akk&q=85&s=7592a7497329de8c81124c69359cdd2b" alt="Codecov連携設定画面" width="472" height="702" data-path="images/integrations/39wtowrizi/8.png" />

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

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

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

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