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

# Genesys Cloud

> Genesys Cloud との連携手順です。

## サポートする機能

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

## 事前準備

### ログイン方法

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

<img src="https://mintcdn.com/moneyforwardi/tJkXXxBZH7Ty4mGf/images/integrations/c9aoxr2cu7/2025-04-04-13-27-39.png?fit=max&auto=format&n=tJkXXxBZH7Ty4mGf&q=85&s=7435915eb2f24f61309397691602e3e0" alt="ログイン画面" width="1016" height="1372" data-path="images/integrations/c9aoxr2cu7/2025-04-04-13-27-39.png" />

### クライアントID / クライアントシークレットの取得方法

OAuth app の作成方法に関しては、[Neeraja Prabhakaran Create an OAuth client - Genesys Cloud Resource Center](https://help.mypurecloud.com/articles/create-an-oauth-client/) をご確認ください。

Admin > Integrations > OAuth > Add Client より設定画面を開きます。

<img src="https://mintcdn.com/moneyforwardi/tJkXXxBZH7Ty4mGf/images/integrations/c9aoxr2cu7/screenshot-2024-11-08-at-13-57-25.jpg?fit=max&auto=format&n=tJkXXxBZH7Ty4mGf&q=85&s=ab45fde1c4aef020a661d7e063633a64" alt="OAuth Client設定画面" width="2048" height="747" data-path="images/integrations/c9aoxr2cu7/screenshot-2024-11-08-at-13-57-25.jpg" />

下記を参考に設定を行なってください。

* App name: 任意
* Grant Types: Code Authorization
* Authorized redirect URIs: `https://itmc.i.moneyforward.com/oauth/callback`
* Scope: `authorization`, `license:readonly`, `organization:readonly`, `users`

各スコープの説明:

* `authorization`: to assign roles
* `license:readonly`: to obtain license data
* `organization:readonly`: to obtain organization name
* `users`: to list/create/delete user

その後、クライアントID及びクライアントシークレットをコピーしてください。

### ドメインの確認方法

ログインURLの末尾部分がドメインとなります。

URL: `https://login.{domain}`

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

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

前の手順で取得した**クライアントID、クライアントシークレット、ドメイン**を入力し、**連携する**をクリックします。

<img src="https://mintcdn.com/moneyforwardi/tJkXXxBZH7Ty4mGf/images/integrations/c9aoxr2cu7/2025-04-04-13-51-47.png?fit=max&auto=format&n=tJkXXxBZH7Ty4mGf&q=85&s=ed04bea4df94646abe3d90ebea0ebfde" alt="Admina連携設定画面" width="884" height="1320" data-path="images/integrations/c9aoxr2cu7/2025-04-04-13-51-47.png" />

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

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

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