Skip to main content
All CollectionsGetting Started
How to connect Shopify
How to connect Shopify

This is a guide on how to connect your Shopify online store to Comet Rocks. You will learn how to install and configure the Shopify app in order to setup your first micro store!

Updated today

You can connect your Shopify account with Comet using one of these two methods:

  1. Shopify App (Recommended): Install the Comet app from the Shopify App Store.

  2. Custom App: Create a custom Shopify app in your Shopify admin panel to connect to Comet.

1. Shopify App

Comet is listed on the Shopify App Store. The easiest way to start working with Comet is by installing the Comet App directly via Shopify.

A. Install App on Shopfiy:

  1. Find the app (Comet: Micro-Store Builder) in the Shopify App Store and click install

  2. Review the access permissions and click install

  3. After installation, select a plan: Starter, Basic or Spark. All plans have a 14 day free trial so you can test out the app before any payment is required.

B. Configure the Storefront API token:

  1. Once a plan is selected, you will be redirected to the Comet dashboard. To complete your setup, you will need a "Storefront API Access Token" from your Shopify account.

  2. Install the "Headless" App:

    1. Click Install app (Skip this steps if its already installed)

    2. Open the app and click on “Add storefront”

    3. Name the storefront e.g.: <Brand name>_Comet_storefront

    4. Under “Storefront API” click “manage”

  3. Copy the “Public access token”

  4. Navigate back to the comet dashboard, paste the token into the “Storefront API Access Token” fields and click "Submit"

Congrats! You are now ready to setup your first micro-store! 🎉


2. Custom App

If you are seeking more granular control on the technical integration, we also offer the option to connect via a custom Shopify app.

A. Configure store details

First, set up your Comet store and provide the details of your Shopify store.

  1. Log in to https://console.comet.rocks/auth and click on Store settings from the Home Page or tabs on the left.

  2. Add Store info to set up Shopify store in the dashboard:

    • Add your store name

    • Add the store URL e.g., the URL of your Shopify store

    • Click next

  3. Connect e-commerce platform: Select Shopify as your e-commerce platform and click next.

    #3_Shopify_Step 3.png

B. Create a custom app in Shopify

Next, switch to your Shopify store admin console, where you will create a custom app and generate API credentials. To connect your store with Shopify, you will need to create an app with Shopify Admin API and Salesfront API permissions.

B1. Create the custom app

  1. From your Shopify main dashboard, navigate to → Settings

    Untitled

  2. From Settings, navigate to → Apps and sales channels

    Untitled

  3. Navigate to → Develop Apps

    Untitled

  4. Click Create an app

    Untitled

  5. In the modal that appears, enter an app name (ex. “Comet Rocks”) and select the user in your system who should be the owner of this app. Typically, this is the default selected user.

    Untitled

B2. Configure Admin API access scopes

Next, we will configure the Admin API access scopes of the custom app.

  1. In your app development settings, navigate to the Configuration tab, find the Admin API integration section and click Configure.

    Untitled

  2. Next, go to Admin API access scopes and select the required scopes.Here look for the list of keywords listed below to validate the relevant necessary scopes - see example screenshot for “Product”:

    #10_Shopify_Step 4_2. b. ii..png

  3. To successfully connect Comet to your Shopify store, find and select the following 7 access scopes:

    • Discounts: read_discounts, read_customers

    • Inventory: read_inventory

    • Locales: read_locales

    • Orders: read_orders

    • Price: read_price_rules

    • Product: read_product_feeds, read_product_listings, read_products

    • Translations: read_translations

  4. Once completed, click Save to apply changes

    Untitled

B3. Configure Storefront API Access Scopes

Next, we will configure the Storefront API access scopes for the custom

  1. Return to the Configuration tab in your app development settings. Find the Storefront API configuration section and click Configure.

    Untitled

  2. Here, find and select the following 2 access scopes:

    • Products: unauthenticated_read_product_listings

    • Selling plans: unauthenticated_read_selling_plans

  3. Click Save to apply changes.

    Untitled

B4. Install app

Once the access scopes are configured, install the app to generate the API credentials. In your app development settings, click on Install app and confirm the modal.

Untitled

You’re now ready to connect your Shopify store to Comet.

C. Submit API credentials in Comet

Finally, it’s time to submit the API credentials from Shopify, to connect your store to Comet.

To get started, go back to Store Settings in Comet, and open the Submit API credentials toggle.

C1. API credentials

First, submit the API credentials of your newly created app.

  1. In Shopify, navigate to the API credentials tab in your app development settings.

    Untitled

  2. Copy the following API credentials and paste them into Comet: Admin API access token, Storefront API access token, API key, and API secret key

    Untitled
    #18_Shopify_Step 4_2. Move to Shopify store admin.png

⚠️ Heads up: The Admin API access token is sensitive, and it will only be shown once. Make sure you’re ready to paste it into Comet before you reveal it.

C2. API config

Next, under the API config section in Comet, provide the following credentials of your Shopify store.

#19_Shopify_Step 4_5. Add Myshopify URL.png

MyShopify URL: Provide your MyShopify URL without the https:// and .myshopify.com. For example, if your URL is https://my-store.myshopify.com, enter my-store into the field.

  • If you have trouble finding your MyShopify URL, go to Shopify -> Settings and it will be shown on the top left.

    Untitled

C3. Submit credentials

Finally, click on Submit credentials and wait for a confirmation message.

#20_Shopify_Step 4_6. Click submit your credentials to apply your changes.png

🎉 Congratulations! You have successfully connected your Shopify store to Comet Rocks. Time to import your products catalog and create your first satellite stores.


Need more help?

If you encounter any issues while connecting your Shopify store to Comet or have questions, we're here to help!

Please contact us at [email protected] for assistance.

Did this answer your question?