Shopify Integration Setup Guide
Overview
Bloggy AI's Shopify integration provides seamless publishing to your Shopify store's blog using the Shopify Admin API. This integration offers direct API communication without requiring browser automation, making it fast and reliable for automating your content marketing on Shopify.
Prerequisites
- Active Shopify store with admin access
- Shopify store URL (e.g.,
https://yourstore.myshopify.com) - Bloggy AI account with integration permissions
Step-by-Step Setup
1. Access Shopify Admin
- Log in to your Shopify Admin panel
- Navigate to your store's admin dashboard at
https://yourstore.myshopify.com/admin
2. Create a Custom App
- In Shopify Admin, go to Settings → Apps and sales channels
- Scroll down and click Develop apps (or Develop apps for your store)
- Click Create an app
- Enter app details:
- App name:
Bloggy AI Integration(or your preferred name) - App developer: Your store name (this is for your own use)
- App name:
3. Configure API Scopes
- After creating the app, click Configure Admin API scopes
- Under Content, enable the following scopes:
read_content- Allows reading blog posts and articleswrite_content- Allows creating and updating blog posts and articles
- Click Save to apply the scopes
4. Install the App
- Click Install app to install it on your store
- This step is required to generate the API access token
5. Retrieve API Credentials
- After installation, go to the API credentials tab
- Under Admin API access token, click Reveal token
- Important: Copy the access token immediately - it will only be shown once
- The token format is a long string (e.g.,
shpat_1234567890abcdef1234567890abcdef)
Note: If you lose the token, you'll need to regenerate it by clicking Reveal token again.
6. Configure Bloggy AI Integration
- Log into your Bloggy AI dashboard
- Navigate to Integrations → Add Integration
- Select Shopify as your platform
- Fill in the required fields:
- Integration Name: Choose a descriptive name (e.g., "My Store - Shopify")
- Shopify Store URL: Enter your store URL in the format
https://yourstore.myshopify.com- Important: Use the
.myshopify.comdomain, not your custom domain
- Important: Use the
- Admin API Access Token: Paste the access token from step 5
- Blog (Optional): You can select a specific blog after saving the integration
7. Select Blog (Optional)
- After saving the integration, Bloggy AI will automatically load your available blogs
- When creating or editing an auto blog, you can select which Shopify blog to publish to
- If no blog is selected, posts will be published to your store's default blog
8. Test Connection
- Click Save Integration
- Bloggy AI will automatically test the connection
- If successful, you'll see your Shopify store details displayed
- The integration status should show as "Connected"
Store URL Format
Correct Format
https://yourstore.myshopify.com
Important Notes
- Always use the
.myshopify.comdomain, not your custom domain - Include the
https://protocol - Do not include
/adminor any path after the domain - Example:
https://mystore.myshopify.com✅ - Example:
https://mystore.com❌ (use .myshopify.com instead)
Supported Features
✅ Supported
- Post Publishing: Create and publish blog posts directly to your Shopify store
- Draft Creation: Save posts as drafts for later review
- Blog Selection: Choose which blog to publish to (if you have multiple blogs)
- Featured Images: Upload and set featured images for posts
- Content Formatting: Rich HTML content support
- SEO Metadata: Title and meta description support
- Scheduled Publishing: Schedule posts for future publication
- Direct API Publishing: Fast, reliable publishing without browser automation
❌ Not Supported
- Product Blog Posts: Direct product-to-blog integration
- Custom Blog Templates: Template customization
- Comment Management: Post comment settings
- Blog Analytics: View analytics within Bloggy AI (use Shopify Admin for analytics)
Blog Selection
When creating or editing an auto blog:
- Select your Shopify integration in the auto blog settings
- A dropdown will appear showing all available blogs from your store
- Select the blog where you want posts to be published
- If you have multiple Shopify integrations, you can select different blogs for each
Note: Blog selection happens at the auto blog level, not during integration setup. This allows you to use different blogs for different auto blogs.
Security Considerations
API Token Security
- Never share your Admin API Access Token publicly
- Store securely: Treat the token like a password
- Rotate tokens periodically for enhanced security
- Revoke access immediately if compromised by deleting the app in Shopify Admin
Permissions
The Shopify Admin API token with read_content and write_content scopes provides:
- Read and write access to blog posts and articles
- Ability to manage blog content
- Does not provide: Access to orders, customers, products, or store settings
Best Practices
- Use descriptive integration names for easy identification
- Monitor integration activity in Shopify Admin → Settings → Apps
- Regularly review connected apps and integrations
- Keep your Shopify store updated
- Use separate integrations for different stores if managing multiple stores
Troubleshooting
Connection Issues
Problem: "Failed to connect to Shopify store"
- Solution: Verify the Store URL uses the
.myshopify.comdomain format - Solution: Check that the access token is correct and hasn't been revoked
- Solution: Ensure the app is installed in your Shopify store
Problem: "Invalid access token"
- Solution: Regenerate the access token in Shopify Admin → Apps → Your App → API credentials
- Solution: Make sure you copied the entire token (they can be quite long)
- Solution: Verify the token hasn't expired or been revoked
Blog Selection Issues
Problem: "No blogs found" or blog dropdown is empty
- Solution: Ensure your Shopify store has at least one blog created
- Solution: Verify the integration is properly connected
- Solution: Check that the API scopes include
read_content - Solution: Try refreshing the integration or re-saving it
Problem: Posts not publishing to the correct blog
- Solution: Verify blog selection in your auto blog settings
- Solution: Check that the selected blog still exists in your Shopify store
- Solution: Re-select the blog in your auto blog settings
Publishing Issues
Problem: Posts fail to publish
- Solution: Verify API scopes include both
read_contentandwrite_content - Solution: Check that your Shopify store is active and accessible
- Solution: Review error messages in Bloggy AI for specific issues
- Solution: Ensure the blog you selected still exists
Next Steps
After successful setup:
- Create Auto Blogs: Set up automated content using your Shopify integration
- Configure Scheduling: Set posting schedules across different time zones
- Select Blog: Choose which blog to publish to for each auto blog
- Test Publishing: Create a test post to verify everything works correctly
- Monitor Performance: Use Shopify's built-in analytics to track content performance
See also:
Need Help?
If you encounter issues during setup:
- Review the troubleshooting section above
- Verify your Shopify store is active and accessible
- Check that API scopes are correctly configured
- Contact Bloggy AI support with your integration details (never share API tokens)
Last updated: January 2025