Prerequisites
Before you begin, make sure you have:- A Shopify store (any plan)
- Access to the Shopify Partners dashboard (or admin access to create custom apps)
- An EcomWize Builder account on the Starter or Pro plan (publishing requires a paid plan)
Connecting Your Store
The connection process uses a 5-step guided wizard with video tutorials for each step.Navigate to Stores
Go to the Stores page from your EcomWize dashboard. Click the Connect Store button to open the connection wizard.
Enter your store URL
Enter your Shopify store URL. You can use either format:
your-store.myshopify.comhttps://admin.shopify.com/store/your-store
Create a custom app in Shopify
Follow the video tutorial in the wizard to create a custom app in your Shopify admin:
- Go to Settings > Apps and sales channels > Develop apps
- Click Create an app and give it a name (e.g., “EcomWize”)
- Configure the app’s API scopes (the wizard shows exactly which scopes are needed)
- Set the redirect URL to the one shown in the wizard
Enter your Client ID and Client Secret
From your Shopify custom app’s settings, copy the Client ID (API key) and Client Secret (API secret key) and paste them into the wizard fields.
Managing Multiple Stores
EcomWize supports connecting multiple Shopify stores depending on your plan:| Plan | Maximum Stores |
|---|---|
| Free | 1 store |
| Starter | 1 store |
| Pro | Unlimited stores |
Setting the Active Store
When you have multiple stores connected (Pro plan), you need to select which store is “active.” The active store is used for:- Publishing pages
- Fetching product data
- Loading Shopify products in the builder
Only one store can be active at a time. When you publish a page, it is always published to your currently active store.
Verifying the Connection
After connecting, your store should appear on the Stores page with a connected status. You can verify the connection is working by:- Opening any page in the builder
- Going to Page Settings
- Checking that your store appears in the Store dropdown
- Trying to search for products (if your store has products)
Disconnecting a Store
To disconnect a store:- Go to the Stores page
- Find the store you want to disconnect
- Click the disconnect or remove option
- Confirm the disconnection
Troubleshooting
Invalid HMAC error
Invalid HMAC error
This error means the security signature from Shopify does not match. Common causes:
- The Client Secret you entered is incorrect — double-check it in your Shopify app settings
- You are using credentials from a different app — make sure you are copying from the correct custom app
- Try deleting the app in Shopify and creating a new one with fresh credentials
State mismatch error
State mismatch error
This occurs when the OAuth session state does not match between the initial request and the callback. This can happen if:
- You took too long to authorize (the session expired)
- You opened the authorization link in a different browser or tab
- Solution: Close the wizard and start the connection process again from the beginning
Token exchange failed
Token exchange failed
This means EcomWize received the authorization code from Shopify but could not exchange it for an access token. Possible causes:
- The Client ID or Client Secret is incorrect
- The custom app has been deleted or its credentials have been rotated
- Network issues between EcomWize servers and Shopify
- Solution: Verify your credentials, ensure the app exists in Shopify, and try again
Store URL not recognized
Store URL not recognized
Make sure your store URL is in one of these formats:
your-store.myshopify.comhttps://admin.shopify.com/store/your-store
www.yourbrand.com) are not supported for the connection. Use your .myshopify.com URL instead.Permission denied or insufficient scopes
Permission denied or insufficient scopes
If you see permission errors after connecting, the custom app may not have all required API scopes. Go back to your Shopify app settings, update the scopes as shown in the wizard, and reinstall the app.