Shopify Connector Setup Guide

Prev Next

Connect your Shopify store to Tugger and start asking questions of your data in plain English with AI Insights - or pull it into Power BI, Tableau, or Excel. Setup takes around 15 minutes.

What you'll need

  • A Tugger account (sign up free)
  • A Shopify store, with an account that can create apps in the Shopify Dev Dashboard
  • About 10 minutes in Shopify to create your app, then a couple of minutes in Tugger

Why do I need to create an app? Tugger's Shopify App Store listing is going through Shopify's review process at the moment. Until it's approved, you connect using a custom app that you create in your own Shopify account - it takes a few minutes and gives you exactly the same data. When the App Store app goes live you'll be able to move your connector across to it and keep everything you've already synced.

Connecting more than one store? Each Shopify store counts as one connector on your Tugger plan. You can connect as many as your plan allows, and each one needs its own app.

Step 1: Create your app in Shopify

  1. Go to the Shopify Dev Dashboard and sign in with the account that owns your store. You can also get there from your store admin under Settings > Apps and sales channels > Develop apps. The app must be created in the same Shopify organisation that owns the store. If you're an agency or a staff member with your own Shopify login, check the organisation shown in the Dev Dashboard before you create the app, or Shopify will refuse the connection.
  2. On the Apps page, look for the Get API credentials banner at the bottom and click Create app. You can ignore the Shopify CLI instructions - you won't need any of that.

Screenshot: Shopify Dev Dashboard Apps page with the Get API credentials banner

  1. On the Create an app screen, use the Start from Dev Dashboard option on the right. Give the app a name you'll recognise, such as Tugger, and click Create.

Screenshot: Create an app screen with the Start from Dev Dashboard option

Step 2: Give your app access to your data

Your app needs permission to read each area of your store. Without a permission, Tugger simply receives nothing for that area, so it's worth getting them all in.

Scroll down to the API access section and paste this list straight into the Scopes box - there's no need to tick them one at a time:

read_assigned_fulfillment_orders, read_cart_transforms, read_checkout_branding_settings, read_checkouts, read_content, read_customer_events, read_customer_merge, read_customers, read_discounts, read_draft_orders, read_files, read_fulfillments, read_gift_cards, read_inventory, read_legal_policies, read_locales, read_locations, read_marketing_events, read_markets, read_merchant_managed_fulfillment_orders, read_metaobject_definitions, read_metaobjects, read_order_edits, read_orders, read_all_orders, read_payment_terms, read_price_rules, read_privacy_settings, read_product_listings, read_products, read_publications, read_purchase_options, read_reports, read_resource_feedbacks, read_returns, read_script_tags, read_shipping, read_shopify_payments_disputes, read_shopify_payments_payouts, read_store_credit_account_transactions, read_store_credit_accounts, read_themes, read_third_party_fulfillment_orders, read_translations

Leave Optional scopes and Redirect URLs empty, and leave Use legacy install flow unticked.

About read_all_orders. This permission lets Tugger read your full order history rather than just the last 60 days. Shopify sometimes rejects it when it's pasted in, showing Contains invalid scopes: read_all_orders. If that happens:

  1. Refresh the page.
  2. Paste the list again without read_all_orders.
  3. Click Select scopes, find read_all_orders and add it there.

If Shopify still won't accept it, leave it out and carry on. Tugger will connect and sync the last 60 days of orders, with everything else in full. You can add read_all_orders later and Tugger backfills your older orders automatically - see Adding read_all_orders later.

Screenshot: Shopify rejecting read_all_orders with a Contains invalid scopes message

Don't worry about getting this exactly right first time. When you save your connector at the end, Tugger checks the permissions and tells you if any are missing.

Step 3: Add an app address and publish your changes

Just below, in the URLs section, Shopify asks for an App URL. Nothing in the connection uses it - it's only where Shopify sends you if you click the app in your admin - so point it at your Tugger connector list:

https://tuggerapp.com/Integration/MyTuggers

Leave Embed app in Shopify admin unticked, leave Preferences URL empty, and leave Webhooks API version as it is.

Screenshot: URLs section with the App URL filled in

Now click Release at the top right of the page.

Screenshot: Release button at the top of the app version page

Confirm in the Release this new version? box. The version name and message are optional, so you can leave them blank.

Screenshot: Release this new version confirmation box

Nothing saves until you release. Your permissions only take effect once the version is released, and that applies to any future change too - each one needs a new version created and released.

Step 4: Install the app on your store

  1. Go to your app's Overview page by clicking its name at the top of the left-hand menu, then click Install app in the Installs panel.

Screenshot: App Overview page with the Install app button

  1. Choose your store from the list.

Screenshot: Choosing which store to install the app on

  1. Look over the summary of what the app can access, then click Install.

Screenshot: Install screen showing what the app will be able to access

Shopify shows a "This app hasn't been reviewed" message here. That's normal for any app you build yourself rather than install from the App Store, and the app you're installing is your own.

Step 5: Copy your app's credentials

  1. Click Settings in your app's left-hand menu. The Credentials panel at the top has what you need.
  2. Copy the Client ID using the copy icon next to it.
  3. The Secret is hidden to start with. Click the eye icon to show it, then copy it.

Screenshot: App Settings page showing the Credentials panel

Keep both to hand - they go into Tugger next.

Treat the Secret like a password. Tugger stores it securely and it's only ever shown to you here. Take care not to click the red Rotate button next to it: that replaces your Secret, and your connector will stop syncing until you enter the new one.

Step 6: Add the Shopify connector in Tugger

  1. Log in to Tugger at tuggerapp.com
  2. Click Add Connector from the menu
  3. Search for shop, then click Add Connector on the Shopify card

Screenshot: Add connector screen with Shopify found

Step 7: Configure your connector

  1. Connector Name - give it a name that makes sense to you, such as "Acme Ltd Shopify". This is especially helpful if you're connecting more than one store.
  2. Store Name - this is Shopify's name for your shop, not your own web address. You'll find it in the address bar when you're logged in to your Shopify admin, as the part after /store/. So https://admin.shopify.com/store/mystore makes your store name mystore. Older stores show https://mystore.myshopify.com/admin instead, which gives the same name. If your shop uses your own domain, the store name is still the Shopify one - it's also under Settings > Domains, ending in .myshopify.com.

Screenshot: Connector settings showing the Connector Name and Store Name fields

  1. Client ID and Client Secret - paste in the two values you copied in Step 5.

Screenshot: Custom App Credentials section with the Client ID and Client Secret fields

  1. Sync Historical Data From - choose how far back you want Tugger to pull data from. The further back you go, the more data will be stored and the longer your first sync will take. If your app doesn't have read_all_orders, orders only go back 60 days whatever date you choose here - everything else follows this date.

Click Save Settings to finish.

Screenshot: Historic Data section with the date field and Save Settings button

Tugger checks your credentials as it saves, making sure the app is installed on your store and has all the permissions it needs. If anything isn't right it stays on this page and tells you what to fix - including naming any missing permission - so you can put it right and save again. A missing read_all_orders doesn't stop you saving; instead your connector's Summary page shows a note that order history is limited.

Step 8: Your first sync

Once your connector saves, Tugger starts pulling your Shopify data automatically. You can follow along on the Summary page: Tug Status on the left tells you what's happening now, and Last Tug on the right shows when the most recent sync ran, how long it took and how many rows it brought across.

Screenshot: Summary page showing the first sync in progress

Depending on how much data you have, and how far back your start date goes, the first sync may take anywhere from a few minutes to considerably longer. After that, Tugger syncs your data automatically every hour by default. You can change this - see Managing Your Sync Schedule.

You'll receive an email (or SMS, if you've enabled it) once your data is ready. At that point you can start asking questions with AI Insights or building reports.

Screenshot: Summary page showing the completed sync

Adding read_all_orders later

If you connected without read_all_orders, you can add it at any time:

  1. Go to your app in the Shopify Dev Dashboard, click Versions in the left-hand menu, then click Create version at the top right.

Screenshot: Versions page with the Create version button

  1. Add read_all_orders in the Scopes box in the API access section - using Select scopes if pasting it is rejected - and leave everything else as it is.

Screenshot: Scopes box with read_all_orders added to the list

  1. Scroll to the bottom, click Release, and confirm.
  2. Reinstall the app on your store from its Overview page, as in Step 4, and approve the new permission.

You don't need to change anything in Tugger. It notices the new permission on its own, then pulls in your older orders on the next sync, back to your Sync Historical Data From date. That sync takes longer than usual.

If your app is under a Shopify Partner account

If you build apps for clients, your app may live in a Shopify Partner organisation rather than the store's own. Partner apps must request read_all_orders from Shopify before Shopify accepts it in the scopes list:

  1. Go to the Shopify Partner Dashboard and open App distribution > All apps.
  2. Click the name of your app.

Screenshot: Partner Dashboard All apps list with the new app highlighted

  1. Click API access requests in the left-hand menu.
  2. On the Read all orders scope card, click Request access.

Screenshot: API access requests page with the Read all orders scope card

  1. On the Orders page that opens, Shopify asks why your app needs orders older than 60 days. Something like this works well:
This private app connects our store to Tugger so we can report on our full sales history in our own reporting tools. It only reads order data and never changes it.
  1. Click Request access.

Screenshot: Orders page asking why the app needs access to orders older than 60 days

Then add read_all_orders to your app as described above.

Remember the app must belong to the same organisation as the store (Step 1). If the store is in a different organisation from your Partner account, create the app in the store's organisation instead.

What data does Tugger pull from Shopify?

Tugger syncs a comprehensive set of store data from Shopify, including:

  • Orders - your orders with line items, taxes, discounts, and shipping charges
  • Draft orders - draft orders and the items on them
  • Refunds and returns - refunds, returns, exchanges, and the items behind each one
  • Fulfilments - fulfilment orders, fulfilments, and the services and locations handling them
  • Payments - the transactions taken against each order, including fees
  • Customers - your customer records
  • Products - products, their variants, and the collections they sit in
  • Sales channels - where your products and collections are published
  • Locations - your shops, warehouses, and other stock locations
  • Marketing - marketing activities and events
  • Store activity - a log of changes made across your store
  • Store configuration - business details and Shopify's product categories

For a full list of data tables and fields, ask Tugger AI Insights - try "What data is available from my Shopify connector?"

Troubleshooting

"The Shopify credentials look to be invalid" when you save

The Client ID or Secret don't match what's in your app, the app hasn't been installed on your store yet (Step 4), or the store name you've entered isn't the store the app is installed on. Check each in turn, then save again.

"... the app and the store belong to different Shopify organisations" when you save

Shopify only lets a custom app connect to stores in the organisation the app was created in. This usually happens when the app was created under an agency's or a staff member's own organisation rather than the store owner's. In the Dev Dashboard, switch to the organisation that owns the store (or ask the store owner to create the app), create and install the app there, and enter that app's Client ID and Secret.

"Your app is missing these scopes ..." when you save

Tugger names the missing permissions. Add them to the Scopes box in your app (Step 2), release a new version, reinstall the app on your store, then save again in Tugger. Remember that permission changes only take effect once the version is released.

"Contains invalid scopes: read_all_orders" in the Dev Dashboard

Refresh the page, paste the list without read_all_orders, then add it through Select scopes. If Shopify still refuses it, leave it out and carry on - Tugger connects without it. If your app is under a Partner account, request access first (see above).

Your Summary page says order history is limited to 60 days

Your app doesn't have read_all_orders, so Shopify only lets Tugger read orders from the last 60 days. Orders Tugger has already synced are kept. Everything else syncs in full. To lift the limit, follow Adding read_all_orders later.

You've had an email asking you to reconnect

This means Tugger can no longer reach your store - usually because the app was uninstalled, or its Secret was rotated in the Shopify Dev Dashboard.

  1. If the app was uninstalled, reinstall it: in your store admin go to Settings > Apps and sales channels, open the Uninstalled apps list, and reinstall it from there.
  2. If the Secret was rotated, copy the new one from your app's Settings page.
  3. Follow the link in the email and re-enter your Client ID and Secret.

Some of your data is missing

If a whole area of your store is missing - orders, products, customers - the app is most likely missing that permission. Check your Scopes against the list in Step 2, release a new version, reinstall the app, and Tugger will pick the data up on the next sync. If only older orders are missing, see the 60-day limit above.

What's next?

Once you've received the email (or SMS) confirming your data is ready:

AI Insights

Reporting

Manage your sync schedule

Need help? Contact the Tugger team - we're always happy to help you get up and running.