Shopify App Management
Skill for managing the RequestDesk Content Builder Shopify app built on Gadget.
App Configuration
Two Environments
| Environment | App Name | Client ID | URL |
|---|---|---|---|
| Production | RequestDesk Content Builder | 037394b1e98d35edfce74114b2f16148 | https://contentbasis.gadget.app |
| Development | RequestDesk Content Builder (Dev) | 55d84bce9343999eab6423a3c94a190f | https://contentbasis--client.gadget.app |
Key URLs
| Purpose | URL |
|---|---|
| Gadget Editor (Production) | https://contentbasis.gadget.app/edit/production |
| Gadget Editor (Client/Dev) | https://contentbasis.gadget.app/edit/client |
| Shopify Connection Settings | https://contentbasis.gadget.app/edit/production/settings/connections/shopify |
| View Installs | Gadget Editor → Data → Installs (left sidebar) |
Installing on a New Store
Why Direct OAuth Links Don't Work
For Gadget apps with "Managed installs", direct OAuth URLs like:
code
https://admin.shopify.com/store/STORE-NAME/oauth/install?client_id=CLIENT_ID
Will return: "The installation link for this app is invalid"
This is because the app isn't configured for public distribution. You must add stores through Gadget or Shopify Partners.
Method 1: Via Shopify Partners (Recommended)
- •Go to: https://partners.shopify.com
- •Find "RequestDesk Content Builder" app in your apps list
- •Click on the app → Test your app or Distribution
- •Click "Select store" or "Add development store"
- •Enter the store name (e.g.,
industrial-farm-co) - •Complete the OAuth authorization flow
- •The store will now appear in Gadget's Installs list
Method 2: Via Gadget Dashboard
- •Go to: https://contentbasis.gadget.app/edit/production
- •Click Settings (gear icon in left sidebar)
- •Click Plugins → Find Shopify connection
- •In "Connected apps" section, click "Installs (N)"
- •Look for an "Add" button or "+" icon
- •If available, enter the store's myshopify.com URL
Note: The "Add" option may not be visible in production. Use Shopify Partners method if not available.
Method 3: Development Store Installation
For development/testing on the client environment:
- •Go to: https://contentbasis.gadget.app/edit/client/settings/connections/shopify
- •The client environment may have more flexible installation options
- •Use client ID:
55d84bce9343999eab6423a3c94a190f
Viewing Current Installs
- •Go to Gadget Editor: https://contentbasis.gadget.app/edit/production
- •Click "Installs" in the left sidebar (under Data section)
- •Or: Settings → Plugins → Shopify → "Installs (N)" link
Install Data Columns
| Column | Description |
|---|---|
| Shop URL | The myshopify.com domain |
| API Scope Access | Green = all scopes granted, Yellow = missing scopes |
| Webhook Status | Whether webhooks are registered |
| Last Sync | When data was last synced from Shopify |
Managing Existing Installs
Triggering a Sync
- •Go to Installs list in Gadget
- •Find the store row
- •Click "Sync" button on the right
Checking Missing Scopes
If you see "1 missing scope..." warning:
- •Click on the store row to see details
- •Note which scope is missing
- •The merchant may need to re-authorize the app to grant new scopes
Removing an Install
- •Go to Installs in Gadget Data section
- •Click on the store
- •Look for delete/remove option
- •Warning: This will disconnect the app from that store
Troubleshooting
"Installation link is invalid"
Cause: App is set to "Managed installs" and requires adding stores through Gadget/Partners.
Solution: Use Shopify Partners to add the store as a test store first.
Store not appearing after install
- •Check Gadget Logs for errors
- •Verify the OAuth flow completed successfully
- •Try clicking "Sync" if the store appears but has no data
Missing scopes after install
- •Go to Settings → Plugins → Shopify connection
- •Click "Edit" to see required scopes
- •Have the merchant re-authorize via the app in their Shopify admin
Related Files
| File | Purpose |
|---|---|
cb-shopify/shopify.app.toml | Production app configuration |
cb-shopify/shopify.app.development.toml | Development app configuration |
cb-shopify/DEPLOYMENT.md | Deployment documentation |
cb-shopify/CLAUDE.md | Full project documentation |
Quick Reference
Add new store:
- •Shopify Partners → App → Test your app → Select store
View installs:
- •Gadget → Data → Installs
Sync store data:
- •Gadget → Installs → Find store → Click "Sync"
Check logs:
- •Gadget → Logs (left sidebar)