Skip to main content

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

  1. Log in to your Shopify Admin panel
  2. Navigate to your store's admin dashboard at https://yourstore.myshopify.com/admin

2. Create a Custom App

  1. In Shopify Admin, go to SettingsApps and sales channels
  2. Scroll down and click Develop apps (or Develop apps for your store)
  3. Click Create an app
  4. Enter app details:
    • App name: Bloggy AI Integration (or your preferred name)
    • App developer: Your store name (this is for your own use)

3. Configure API Scopes

  1. After creating the app, click Configure Admin API scopes
  2. Under Content, enable the following scopes:
    • read_content - Allows reading blog posts and articles
    • write_content - Allows creating and updating blog posts and articles
  3. Click Save to apply the scopes

4. Install the App

  1. Click Install app to install it on your store
  2. This step is required to generate the API access token

5. Retrieve API Credentials

  1. After installation, go to the API credentials tab
  2. Under Admin API access token, click Reveal token
  3. Important: Copy the access token immediately - it will only be shown once
  4. 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

  1. Log into your Bloggy AI dashboard
  2. Navigate to IntegrationsAdd Integration
  3. Select Shopify as your platform
  4. 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.com domain, not your custom domain
    • 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)

  1. After saving the integration, Bloggy AI will automatically load your available blogs
  2. When creating or editing a blog series, you can select which Shopify blog to publish to
  3. If no blog is selected, posts will be published to your store's default blog

8. Test Connection

  1. Click Save Integration
  2. Bloggy AI will automatically test the connection
  3. If successful, you'll see your Shopify store details displayed
  4. The integration status should show as "Connected"

Store URL Format

Correct Format

https://yourstore.myshopify.com

Important Notes

  • Always use the .myshopify.com domain, not your custom domain
  • Include the https:// protocol
  • Do not include /admin or 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 a blog series:

  1. Select your Shopify integration in the series settings
  2. A dropdown will appear showing all available blogs from your store
  3. Select the blog where you want posts to be published
  4. If you have multiple Shopify integrations, you can select different blogs for each

Note: Blog selection happens at the series level, not during integration setup. This allows you to use different blogs for different content series.

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

  1. Use descriptive integration names for easy identification
  2. Monitor integration activity in Shopify Admin → Settings → Apps
  3. Regularly review connected apps and integrations
  4. Keep your Shopify store updated
  5. 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.com domain 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 series settings
  • Solution: Check that the selected blog still exists in your Shopify store
  • Solution: Re-select the blog in your series settings

Publishing Issues

Problem: Posts fail to publish

  • Solution: Verify API scopes include both read_content and write_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:

  1. Create Blog Series: Set up automated content series using your Shopify integration
  2. Configure Scheduling: Set posting schedules across different time zones
  3. Select Blog: Choose which blog to publish to for each series
  4. Test Publishing: Create a test post to verify everything works correctly
  5. Monitor Performance: Use Shopify's built-in analytics to track content performance

See also:

Need Help?

If you encounter issues during setup:

  1. Review the troubleshooting section above
  2. Verify your Shopify store is active and accessible
  3. Check that API scopes are correctly configured
  4. Contact Bloggy AI support with your integration details (never share API tokens)
Get started now

Last updated: January 2025