Add AutoBlogWriter to Your Site
in Minutes
WordPress and Shopify connect directly — no code needed. Next.js developers get a full SDK with AI coding prompts.
Before you start — you'll need:
Your AutoBlogWriter API key — find it in your dashboard under Settings → API
Your workspace slug — visible in your dashboard URL (e.g. app.autoblogwriter.app/your-slug)
A revalidation secret — set this in Settings → Webhooks (you choose it)
Your site URL — needed so the sitemap and robots.txt point to the right place
Select your platform to see the setup steps:
Generate an Application Password in WordPress
- Log into your WordPress dashboard
- Go to Users → Profile (or Users → All Users → Edit for another account)
- Scroll down to the Application Passwords section
- Enter a name like
AutoBlogWriterand click Add New Application Password - Copy the password immediately — it won't display again
Note: The password appears in groups separated by spaces (e.g. AbCd EfGh IjKl). Copy it exactly as shown, spaces included.
Connect in AutoBlogWriter
- Open your AutoBlogWriter workspace → Settings → Integrations
- Click Connect WordPress
- Fill in three fields:
- Site URL — e.g.
https://myblog.com - Username — your WordPress username
- Application Password — the one you just copied
- Site URL — e.g.
- Click Connect
Test the connection
Click Test Connection on the WordPress card. Once confirmed, AutoBlogWriter will publish directly to WordPress on your schedule.
Publishing options: Publish now · Schedule for later · Save as draft. SEO fields integrate with Yoast SEO automatically when active.
rest_cannot_create
User must have Editor or Administrator role
401 Unauthorized
Verify username and Application Password, including spaces
Connection refused / SSL error
Confirm https:// and valid SSL cert; whitelist IP or disable WAF for /wp-json/
Application Passwords section missing
A security plugin may have disabled it — check plugin settings
Create and install a custom app
- Go to your Shopify Dev Dashboard and create a new app
- Install it on your store
- Add the Admin API scopes:
read_contentandwrite_content - Save changes and reinstall if prompted
- Copy the Client ID and Client Secret from the credentials page
Find your Blog ID
- In Shopify Admin, go to Online Store → Blog posts
- Click on the blog you want to publish to
- Look at the URL — copy the numeric ID at the end
https://your-store.myshopify.com/admin/blogs/122321404276
↑
Your Blog IDConnect in AutoBlogWriter
- Open your AutoBlogWriter workspace → Settings → Integrations
- Click Connect Shopify
- Fill in four fields:
- Shop Domain — e.g.
your-store.myshopify.com - Client ID — from Dev Dashboard
- Client Secret — from Dev Dashboard
- Blog ID — the numeric ID from Step 2
- Shop Domain — e.g.
- Click Connect
Test the connection
Click Test Connection on the Shopify card to validate blog access and post creation. AutoBlogWriter will publish directly to your Shopify blog, including hero images when available.
Missing or invalid client secret
Re-copy the Client Secret from the Dev Dashboard credentials page
Invalid API key or access token
Confirm the app is installed and the shop domain is correct
shop_not_permitted error
App and store must be in the same Shopify organization
Paste this prompt into Claude Code, Cursor, or GitHub Copilot — it adds blog listing, post pages, webhook handler, sitemap, and styles automatically.
I want to add an automated blog to my existing Next.js site using AutoBlogWriter.
Please do the following:
1. Install the SDK: npm install @autoblogwriter/sdk
2. Create app/blog/page.tsx — use fetchBlogPosts() from @autoblogwriter/sdk/next and BlogPostList from @autoblogwriter/sdk/react with linkComponent={Link}
3. Create app/blog/[slug]/page.tsx — use fetchBlogPost(slug), generatePostMetadata(slug), buildJsonLdScript(post), and the BlogPost component from @autoblogwriter/sdk/react
4. Create app/api/autoblogwriter/revalidate/route.ts — use createEnvRevalidateHandler() from @autoblogwriter/sdk/next with export const runtime = "nodejs"
5. Import "@autoblogwriter/sdk/styles.css" in the root layout (app/layout.tsx)
6. Add generateBlogSitemap() from @autoblogwriter/sdk/next to the sitemap (app/sitemap.ts)
7. Create .env.local.example with these variables:
AUTOBLOGWRITER_API_KEY=
AUTOBLOGWRITER_WORKSPACE_SLUG=
AUTOBLOGWRITER_REVALIDATE_SECRET=
SITE_URL=https://yoursite.com
Use "use client" only where needed (BlogPostList needs a wrapper if theme switching is required). Add export const revalidate = 300 to blog pages.After the AI generates your code
Create your .env.local file
AUTOBLOGWRITER_API_KEY=ba_pk_your_key_here AUTOBLOGWRITER_WORKSPACE_SLUG=your-workspace-slug AUTOBLOGWRITER_REVALIDATE_SECRET=your_webhook_secret SITE_URL=https://yoursite.com
Add env vars to your host
Add the same four variables in Vercel → Project → Settings → Environment Variables (or however your host manages secrets).
Register the webhook
Go to Settings → Webhooks in AutoBlogWriter and add:
https://yoursite.com/api/autoblogwriter/revalidate
Replace yoursite.com with your actual domain. Set the secret to match AUTOBLOGWRITER_REVALIDATE_SECRET.
We built sidehustletool.com exactly this way. This prompt generates a complete site — homepage, blog, SEO, webhook, everything — ready to deploy in minutes.
Please create a new Next.js 15 site with App Router, TypeScript, and Tailwind CSS that uses AutoBlogWriter for automated blogging.
The site should include:
1. A homepage (app/page.tsx) with:
- A hero section with headline, subheadline, and CTA button
- A features section (3-4 cards)
- An FAQ section (accordion)
- A footer with nav links
2. A blog listing page at /blog using:
- fetchBlogPosts() from @autoblogwriter/sdk/next
- BlogPostList from @autoblogwriter/sdk/react
3. Individual post pages at /blog/[slug] using:
- fetchBlogPost(slug) and generatePostMetadata(slug)
- BlogPost component from @autoblogwriter/sdk/react
- buildJsonLdScript(post) for structured data
4. A webhook handler at app/api/autoblogwriter/revalidate/route.ts:
- import { createEnvRevalidateHandler } from "@autoblogwriter/sdk/next"
- export const runtime = "nodejs"
- export const POST = createEnvRevalidateHandler()
5. Root layout (app/layout.tsx) that imports:
- "@autoblogwriter/sdk/styles.css"
- Google Analytics via next/script
6. A dynamic sitemap (app/sitemap.ts) combining static pages + generateBlogSitemap()
7. .env.local.example with:
AUTOBLOGWRITER_API_KEY=
AUTOBLOGWRITER_WORKSPACE_SLUG=
AUTOBLOGWRITER_REVALIDATE_SECRET=
SITE_URL=https://yoursite.com
Install: npm install @autoblogwriter/sdk next-themes @heroicons/react
Add export const revalidate = 300 to all blog pages.