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

# Shopify

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

<Info>
  連携には、Shopify Plus プランが必要です。アクセスキー取得の際に、Shopify Plus サポートに連絡し、アプリの `read_users` [アクセススコープ](https://shopify.dev/docs/api/usage/access-scopes)をリクエストします。
</Info>

## 事前準備

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

[Shopifyログインページ](https://accounts.shopify.com/lookup?rid=a677e1a0-1862-487e-b4d3-78c297a6baa9)にて、メールアドレス・パスワードを入力しログインします。

<img src="https://mintcdn.com/moneyforwardi/UxP4XsmkLgMFT8qv/images/integrations/oo5n9wd6bu/image-1700096399638.png?fit=max&auto=format&n=UxP4XsmkLgMFT8qv&q=85&s=b924dee109c85452365ce2157fd58191" alt="Shopify ログイン画面" width="671" height="767" data-path="images/integrations/oo5n9wd6bu/image-1700096399638.png" />

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

Shopify ログイン後、**Settings**に移動するとサイドメニューの一番上にストア名あります。

ストア名の下に**ストアドメイン**があるので、それが**ワークスペースキー**となります。

**`{workspace key}`**.myshopify.com

<img src="https://mintcdn.com/moneyforwardi/UxP4XsmkLgMFT8qv/images/integrations/oo5n9wd6bu/image-1700097383873.png?fit=max&auto=format&n=UxP4XsmkLgMFT8qv&q=85&s=a44b2c617f61e44922a6f50b0eac15f8" alt="Shopify ワークスペースキー" width="1122" height="1576" data-path="images/integrations/oo5n9wd6bu/image-1700097383873.png" />

### アクセスキーの取得方法

<Info>
  アプリの `read_users` [アクセススコープ](https://shopify.dev/docs/api/usage/access-scopes)をリクエストするには、Shopify Plus サポートに連絡いただく必要があります。
</Info>

1. **Apps and sales channels ＞Develop apps > Create an app > Configure Admin API scopes**と進み、設定していきます。

2. scopeは、**`read_users`** を選択しSaveします。

   <img src="https://mintcdn.com/moneyforwardi/Qb7lZLvS8Hx0Rhjp/images/integrations/oo5n9wd6bu/image-1700099366417.png?fit=max&auto=format&n=Qb7lZLvS8Hx0Rhjp&q=85&s=1a5615c9882c5611db5341d7ab0570c4" alt="Shopify API スコープ設定" width="1920" height="1005" data-path="images/integrations/oo5n9wd6bu/image-1700099366417.png" />

3. API credentials に **Admin API access token** が表示されます。これが**アクセスキー**となるので、コピー・保存します。※Admin API access token は一度限りの表示ですので、ご注意ください。

   <img src="https://mintcdn.com/moneyforwardi/UxP4XsmkLgMFT8qv/images/integrations/oo5n9wd6bu/image-1700100053470.png?fit=max&auto=format&n=UxP4XsmkLgMFT8qv&q=85&s=bec64bd6fe8edf75ce08e6d55d07b5a7" alt="Shopify アクセストークン" width="1170" height="592" data-path="images/integrations/oo5n9wd6bu/image-1700100053470.png" />

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

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

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

   <img src="https://mintcdn.com/moneyforwardi/UxP4XsmkLgMFT8qv/images/integrations/oo5n9wd6bu/image-1700100171011.png?fit=max&auto=format&n=UxP4XsmkLgMFT8qv&q=85&s=6ab3bb614d95ffcd94f7c4e8768e781d" alt="Shopify 連携情報入力" width="448" height="514" data-path="images/integrations/oo5n9wd6bu/image-1700100171011.png" />

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