SlopAds LogoSlopAds

Shopify CMS Setup

Connect your Shopify store to publish blog content automatically

Connect SlopAds to your Shopify store to automatically publish blog posts. This guide walks you through creating a custom app and configuring API access.

Prerequisites
  • A Shopify store (any plan)
  • Admin access to your Shopify dashboard
  • A SlopAds account

Shopify Setup Steps

1

Create a Custom App

From your Shopify admin dashboard:

  1. Go to SettingsApps and sales channels
  2. Click Develop apps
  3. Click Create an app
  4. Name it "SlopAds Blog Publisher" (or similar)
  5. Click Create app
2

Configure API Scopes

After creating the app, configure the required permissions:

  1. Click Configure Admin API scopes
  2. Scroll down and enable these scopes:
    • write_online_store_pages - Create and edit blog posts
    • read_online_store_pages - Read existing blog posts
  3. Click Save
Required Scopes

Without write_online_store_pages, SlopAds won't be able to publish content. Make sure both read and write scopes are enabled.

3

Install the App

Make the custom app accessible:

  1. Click the API credentials tab
  2. Click Install app
  3. Confirm the installation
4

Get Your Admin API Access Token

After installation, you'll see your API credentials:

  1. Find the Admin API access token section
  2. Click Reveal token once
  3. Copy the token immediately (you can only see it once!)
Example Admin API Token
shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Save Your Token!

Shopify only shows the Admin API token once. Copy it immediately and store it securely.

If you lose it, you'll need to uninstall and reinstall the app to generate a new token.

5

Find Your Store Domain

You'll also need your Shopify store domain:

  • This is your store URL: your-store.myshopify.com
  • Don't use a custom domain - use the myshopify.com subdomain
Example Store Domain
example-store.myshopify.com
6

Find Your Blog ID (Optional)

If you have multiple blogs, you'll need to specify which blog to publish to. To find your Blog ID:

  1. Go to Online StoreBlog Posts
  2. Click on the blog you want to use
  3. Look at the URL: admin.shopify.com/store/YOUR-STORE/blogs/123456789
  4. The number at the end (123456789) is your Blog ID

If you only have one blog (the default "News" blog), you can leave this blank and SlopAds will use it automatically.

7

Connect to SlopAds

Now connect your Shopify store in SlopAds:

  1. Go to SettingsCMS Connections
  2. Click Add Connection
  3. Select Shopify
  4. Enter your store domain and Admin API token
  5. (Optional) Enter your Blog ID if you have multiple blogs
  6. Click Test Connection
  7. If successful, click Save

Publishing to Shopify

What Gets Published

  • Title: Article title
  • Body: Full article content (HTML formatted)
  • Author: Configured author or store default
  • Tags: Auto-generated tags based on content
  • SEO fields: Meta description and SEO title
  • Published status: Published immediately or saved as draft

Troubleshooting

"Invalid credentials" or "Unauthorized"

Cause: Incorrect Admin API token or it has been revoked.

Fix: Double-check you copied the token correctly. If the problem persists, uninstall and reinstall the custom app to generate a new token.

"Insufficient permissions" error

Cause: The app doesn't have the required API scopes.

Fix: Go back to your custom app settings and ensure both write_online_store_pages and read_online_store_pages are enabled. You may need to reinstall the app after changing scopes.

Articles publish but formatting looks broken

Cause: Your Shopify theme may not support certain HTML elements.

Fix: Check your blog post template in your theme settings. Most modern themes support standard HTML, but older themes may need updating.

Wrong blog is being used

Cause: You have multiple blogs and didn't specify a Blog ID.

Fix: Follow Step 6 above to find your Blog ID, then update your SlopAds CMS connection settings.

Publishing Tips

Shopify-Specific Best Practices
  • Use tags strategically: Shopify uses tags for blog organization. Set up tag rules in SlopAds to auto-tag content by topic.
  • Featured images: Shopify blog posts look better with featured images. Enable auto-image generation in your campaign settings.
  • SEO fields: Always fill out SEO title and meta description. Shopify uses these for search engine optimization.
  • Publish timing: Use scheduled publishing to spread out content releases rather than publishing all at once.
Shopify Setup Guide - SlopAds Help