> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quarkybot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Your Shopify Store to Discord Using Quarky

> Integrate your Shopify store with Discord using Quarky to showcase products, get real-time order notifications, and run an affiliate commission program.

Quarky's Shopify integration lets you bring your store directly into your Discord server. Once connected, you can showcase products, receive real-time order and fulfillment notifications, empower affiliates to earn commissions, and get low-stock alerts — all without leaving Discord.

<Warning>
  The Shopify integration requires a **Premium** plan. [Upgrade at quarkybot.com/premium](https://quarkybot.com/premium) to unlock this feature.
</Warning>

## What you can do

* **Showcase products** — browse and display product details from your store using slash commands
* **Real-time order and fulfillment updates** — receive instant Discord notifications when orders are placed or fulfilled
* **Affiliate commissions** — let community members earn commissions by promoting your products
* **Low and out-of-stock alerts** — get DM notifications before you run out of inventory

## Part I: Shopify setup

Create a custom app in your Shopify admin to generate the API token Quarky needs.

<Steps>
  <Step>
    Go to your Shopify dashboard and click **Settings**.
    ![](https://imgur.com/MTsx3p0.png)
  </Step>

  <Step>
    In the Settings menu, select **Apps and sales channels**.
    ![](https://imgur.com/APAZfYI.png)
  </Step>

  <Step>
    Click **Develop apps**. If prompted, allow custom app development for your store.
    ![](https://imgur.com/zul2URb.png)
  </Step>

  <Step>
    Click **Create an app**
    ![](https://imgur.com/SnhVdSN.png)
  </Step>

  <Step>
    Give the app a name (for example, `Quarky`), then click **Create app**.
    ![](https://imgur.com/3mHvRxa.png)
  </Step>

  <Step>
    Click **Configure Admin API scopes**
    ![](https://imgur.com/MdNHyh9.png)
  </Step>

  <Step>
    In the **Admin API access scopes** search box, find and enable each of the following scopes:

    * `read_customers`
    * `read_orders`
    * `read_products`
    * `read_fulfillments`
    * `read_inventory`
    * `read_third_party_fulfillment_orders`
    * `read_assigned_fulfillment_orders`
    * `read_merchant_managed_fulfillment_orders`
  </Step>

  <Step>
    Switch to the **Selected** tab to confirm all scopes are checked before continuing.
    ![](https://imgur.com/8fDnqwj.png)
  </Step>

  <Step>
    Click **Save**, then click **Install app** at the top of the page and confirm with **Install**.
    ![](https://imgur.com/sDx7EQR.png)
  </Step>

  <Step>
    Click **Reveal token once** and immediately copy the Admin API access token.

    <Info>
      Shopify only lets you reveal this token once. Copy it and store it somewhere safe before closing the page.
    </Info>
  </Step>
</Steps>

## Part II: Discord setup

With your API token ready, run the setup command in your Discord server to connect Quarky to your store and configure notification channels.

<Steps>
  <Step>
    In any channel where Quarky has access, run `/shopify setup` to start the setup flow.
  </Step>

  <Step title="Enter your API key">
    When the bot asks for your **API KEY**, paste the Admin API access token you copied from Shopify and press **Enter**.
    ![](https://imgur.com/s93iZcZ.png)
  </Step>

  <Step>
    When prompted for your **shop name**, enter the subdomain from your Shopify store URL. For example, if your URL is `my-store.myshopify.com`, enter `my-store`.
    ![](https://imgur.com/t6YDcFD.png)
  </Step>

  <Step>
    Quarky will automatically configure the notification webhooks. This takes less than a minute.
    ![](https://imgur.com/QQuYuFe.png)
  </Step>

  <Step>
    Once setup is complete, assign a Discord channel to each notification type:
    ![](https://imgur.com/blDeJJx.png)
    **Orders** — click **Orders** and choose the channel where order notifications should appear, then click **Next**.
    ![](https://imgur.com/QbkjM6m.png)
    **Fulfillments** — click **Fulfillments** and choose the channel for fulfillment updates, then click **Next**.
    ![](https://imgur.com/Zo31kBZ.png)
    **Low and out-of-stock alerts** — click **Stock** and choose whether to enable stock alerts. When enabled, Quarky sends you a DM whenever a product is low or out of stock at a specific location.
    ![](https://imgur.com/qm59g1L.png)
  </Step>
</Steps>

## Slash commands

Use these commands to interact with your Shopify store from Discord.

| Command            | Subcommand | Description                               |
| ------------------ | ---------- | ----------------------------------------- |
| `/shopify setup`   | —          | Connect and configure your Shopify store. |
| `/shopify product` | `get`      | Get product details by ID.                |
| `/shopify product` | `list`     | List all public products.                 |
| `/shopify order`   | `get`      | Get order details by ID.                  |
| `/shopify order`   | `list`     | List all orders.                          |

<Note>
  Need help? Join the [Quarky Support Server](https://discord.gg/Kf4BdwAThQ) and our team will assist you.
</Note>
