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

# 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/admina-sbn/gY33pALIoal5WYsd/images/integrations/oo5n9wd6bu/image-1700096399638.png?fit=max&auto=format&n=gY33pALIoal5WYsd&q=85&s=29926cf0717c35f4555c746a7b1f275a" 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/admina-sbn/gY33pALIoal5WYsd/images/integrations/oo5n9wd6bu/image-1700097383873.png?fit=max&auto=format&n=gY33pALIoal5WYsd&q=85&s=b772eefd64ea948704e90b8fa326d94c" 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/admina-sbn/gY33pALIoal5WYsd/images/integrations/oo5n9wd6bu/image-1700099366417.png?fit=max&auto=format&n=gY33pALIoal5WYsd&q=85&s=f82d23a80f574542a8e3f0bf43773d54" 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/admina-sbn/gY33pALIoal5WYsd/images/integrations/oo5n9wd6bu/image-1700100053470.png?fit=max&auto=format&n=gY33pALIoal5WYsd&q=85&s=8c6b645049ccc55612f4ac7dc6ac675c" alt="Shopify アクセストークン" width="1170" height="592" data-path="images/integrations/oo5n9wd6bu/image-1700100053470.png" />

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

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

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

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

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

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

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

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

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