Shopify Integration
Setup guide and reference information for connecting Shopify to AccessFuel
Shopify Integration
Connect your Shopify store to AccessFuel to unlock powerful analytics including customer lifetime value (LTV), retention analysis, order tracking, and product performance insights.
Prerequisites
Before you begin, you'll need:
- A Shopify store with admin or staff access
- Your Shopify store URL (e.g.,
mystore.myshopify.com)
Note: AccessFuel works with all Shopify plans, including Basic, Shopify, Advanced, and Shopify Plus.
Connection Methods
AccessFuel supports two ways to connect Shopify:
- OAuth Connection (Recommended) - Quick and secure, no technical setup required
- Custom App Setup - For advanced users who need custom API configurations
Setup Guide: OAuth Connection (Recommended)
The OAuth method is the fastest and most secure way to connect Shopify to AccessFuel. It takes less than 2 minutes and requires no technical configuration.
Step 1: Navigate to Integrations
- Log in to AccessFuel Console
- Go to Settings → Integrations → Shopify
- Enter your Shopify store URL (e.g.,
mystore.myshopify.com) - Click the Connect button
Step 2: Authenticate with Shopify
- A popup window will open showing Shopify's authorization page
- Review the permissions requested (read-only access to your store data)
- Click Install app to grant AccessFuel access
AccessFuel only requests read-only access to your store data. We cannot modify your products, orders, or store settings.
Step 3: Verify Connection
- You should see a green "Connected" status
- Data sync will begin automatically
- Initial data may take a few hours to appear in your dashboard
Reconnecting: If your connection shows as expired or needs reauthorization, simply click the Reconnect button and re-authenticate. Your data will continue syncing seamlessly.
Setup Guide: Custom App (Alternative)
The Custom App method is useful when you need to manage credentials at the organization level or when OAuth authentication isn't suitable for your organization.
When to use Custom App: Choose this method if you need to share access across multiple services, require custom API scopes, or if your IT policy requires direct app management.
Follow these steps to connect using a Custom App:
Custom App Step 1: Access Shopify Admin
- Log in to your Shopify Admin Dashboard
- Make sure you have admin permissions for your store
Custom App Step 2: Create a Custom App
To connect AccessFuel to your Shopify store, you'll need to create a custom app:
- From your Shopify admin, go to Settings → Apps and sales channels
- Click Develop apps (you may need to enable custom app development first)
- Click Create an app
- Name your app "AccessFuel" and select yourself as the app developer
- Click Create app
Custom App Step 3: Configure Admin API Scopes
Your app needs specific permissions to access your store data:
-
In your app settings, click Configure Admin API scopes
-
Select the following scopes:
Customer Data:
read_customers- View customer informationread_customer_events- View customer events
Order Data:
read_orders- View ordersread_draft_orders- View draft ordersread_order_edits- View order edits
Product Data:
read_products- View productsread_product_listings- View product listingsread_inventory- View inventory
Additional Scopes:
read_locations- View store locationsread_price_rules- View discount codesread_checkouts- View abandoned checkoutsread_fulfillments- View fulfillment data
-
Click Save to apply the scopes
Custom App Step 4: Install the App
- Click Install app to install it to your store
- Review the permissions and click Install
- The app is now installed and ready to generate credentials
Custom App Step 5: Generate Access Token
- In your app settings, go to API credentials
- Under Admin API access token, click Reveal token once
- Copy and save this token securely - you won't be able to see it again
- Also copy your API key (Client ID) and API secret key (Client Secret)
Important: Store your access token securely. If you lose it, you'll need to regenerate a new one, which will invalidate the previous token.
Custom App Step 6: Gather Your Store Information
You'll need the following information:
- Shop URL: Your myshopify.com URL (e.g.,
mystore.myshopify.com) - Client ID: Your API key from Step 5
- Client Secret: Your API secret key from Step 5
- Access Token: The Admin API access token from Step 5
Custom App Step 7: Send Us the Credentials
Enter the following in Settings > Integrations:
- Shop URL: Your myshopify.com URL (e.g.,
mystore.myshopify.com) - Client ID: Your Shopify API key
- Client Secret: Your Shopify API secret key
- Access Token: Your Admin API access token
- Start Date (optional): The date from which you want to sync data (format:
YYYY-MM-DDTHH:mm:ssZ)
Example start date: 2024-01-01T00:00:00Z. If not provided, we'll sync all available historical data.
What Data Gets Synced?
Once connected, AccessFuel will sync the following data from your Shopify store:
Essential Data
- Orders: Complete order details including line items, totals, and status
- Customers: Customer profiles, contact information, and purchase history
- Products: Product catalog, variants, and pricing
- Transactions: Payment transactions and refunds
- Inventory: Stock levels and inventory tracking
Additional Data
- Collections: Product collections (custom and smart)
- Abandoned Checkouts: Cart abandonment data
- Fulfillments: Shipping and fulfillment information
- Discount Codes: Promotional codes and usage
- Locations: Store locations and inventory allocation
- Customer Journey: Attribution and customer journey data
Data Refresh Schedule
- Frequency: Data syncs every 24 hours
- Historical Data: All data from your specified start date (or all available history)
- Incremental Updates: Only new and updated records are synced after the initial load
- Real-time Updates: Not available; data reflects the previous day's activity
Features Enabled
Connecting Shopify unlocks these AccessFuel features:
- Customer Lifetime Value (LTV): Track 30-day, 90-day, 180-day, and total LTV
- Retention & Cohort Analysis: Understand customer retention patterns
- Order and Revenue Tracking: Monitor sales trends and performance
- Product Performance Analytics: Identify top-performing products
- Customer Segmentation: Create targeted customer segments
- Churn Prediction: AI-powered churn risk analysis
Troubleshooting
OAuth Connection Issues
Popup Blocked
If the authentication popup is blocked:
- Check your browser's popup blocker settings
- Allow popups from
app.accessfuel.com - Try clicking the Connect button again
- If using Safari, enable popups in Safari Preferences → Websites → Pop-up Windows
Authorization Failed
If you see an authorization error:
- Ensure you're logging into the correct Shopify store
- Verify you have admin or staff access to the store
- Try using a different browser or clearing cookies
- Contact your store owner if you need elevated permissions
Connection Expired
If your connection shows as expired or needs reauthorization:
- Navigate to Settings → Integrations → Shopify
- Click the Reconnect button
- Re-authenticate with Shopify
- Your data will continue syncing automatically
Store Not Found
If your store URL is not recognized:
- Verify you entered the full myshopify.com URL (e.g.,
mystore.myshopify.com) - Ensure your store is active and not paused
- Check for typos in the store URL
- Try without the
https://prefix
Custom App Issues
Invalid Access Token
If your access token is invalid or expired:
- Go back to your Shopify app settings
- Uninstall and reinstall the app
- Generate a new access token
- Update the token in Settings > Integrations
Missing Permissions
If certain data isn't syncing:
- Check that you've granted all required API scopes
- Uninstall and reinstall the app with correct permissions
- Generate a new access token after updating scopes
Data Not Syncing
Check the following:
- Verify your Shop URL is correct (must be the full myshopify.com URL)
- Ensure your access token is valid
- Confirm all required API scopes are enabled
- Check that your Shopify plan supports API access
Connection Errors
If you're experiencing connection errors:
- Verify your credentials are correct
- Check that the custom app is still installed
- Ensure the access token hasn't been revoked
- Contact support if the issue persists
Security & Privacy
- Token Storage: Access tokens are encrypted and stored securely
- Data Transmission: All data is transmitted over HTTPS with TLS 1.3
- Access Control: Only authorized AccessFuel team members can access your credentials
- Compliance: We comply with GDPR, CCPA, and Shopify's data protection requirements
- Data Retention: Data is retained according to your organization's settings