Ghost
Publish articles directly to your Ghost publication using the Ghost Admin API.
Ghost provides a first-class REST API called the Admin API for programmatic content management. IndexPine uses this API to create posts with full HTML content, featured images, tags, and publication status β everything Ghost supports natively.
Supported Ghost versions
IndexPine supports Ghost 3.x and later. Ghost Cloud (ghost.io) and self-hosted Ghost installations are both supported. The connection method is identical for both.
Step 1 β Create a custom integration
- Log in to your Ghost admin dashboard (typically at https://yourdomain.com/ghost).
- Click the gear icon (β) in the bottom-left to open Settings.
- Click "Integrations" in the left sidebar.
- Scroll down and click "Add custom integration".
- Name it "IndexPine" and click "Create".
- Ghost generates an Admin API Key and Content API Key. Copy the Admin API Key β it looks like a long hex string in the format id:secret.
- Note the API URL shown on the same page, e.g. https://yourdomain.com.
Step 2 β Connect in IndexPine
- In your IndexPine dashboard, go to Settings > CMS Connection.
- Select "Ghost" as the CMS type.
- In the "Site URL" field, enter your Ghost site URL, e.g. https://myblog.com.
- In the "Admin API Key" field, paste the full Admin API Key including the colon.
- Click "Test connection".
How publishing works
IndexPine uses the Ghost Admin API v3 (or v4 on newer Ghost versions) to create posts. The payload includes:
- title β the article's headline.
- html β the full article body as HTML.
- feature_image β the URL of the AI-generated featured image (hosted on IndexPine's CDN).
- excerpt β a one-paragraph teaser for social sharing.
- tags β optional tags you configure in IndexPine settings.
- status β either "published" or "draft" depending on your autopilot approval setting.
Tags
To automatically tag posts, add a comma-separated list of tag names in Settings > CMS Connection > Default Tags. If a tag does not already exist in Ghost, the Admin API creates it automatically.
Troubleshooting
- 403 Forbidden β the API key is incorrect. Regenerate it from Ghost Settings > Integrations > IndexPine.
- Posts appear but have no featured image β Ghost requires the feature_image to be a public URL. IndexPine uses its own CDN for images, so this should work by default. Check that your Ghost installation has no Content Security Policy blocking external images.
- Publishing to Ghost Cloud fails β ensure your Ghost plan supports the Admin API. The Starter plan does support it.