> ## 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 との連携方法です。マネーフォワードAdminaから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>

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

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

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

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" />

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

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

<img src="https://mintcdn.com/moneyforwardi/UxP4XsmkLgMFT8qv/images/integrations/oo5n9wd6bu/image-1700100137006.png?fit=max&auto=format&n=UxP4XsmkLgMFT8qv&q=85&s=0d7d96cfa00f4e1ffdf662b3d73f7ebc" alt="Admina インテグレーション画面で Shopify を検索" width="950" height="542" data-path="images/integrations/oo5n9wd6bu/image-1700100137006.png" />

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

<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" />

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

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

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

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