Step-by-step 2026 guide to integrate Bolt.new AI with Ghost, boosting automation, content workflows, and site performance

Book a call with an Expert
Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.
You integrate Bolt.new with Ghost by letting your Bolt.new project act like any other external app talking to Ghost’s REST Admin API. Bolt.new itself does not “plug into” Ghost — instead, you write code inside Bolt.new (server route, job, script, or full stack app) that sends authenticated requests to your Ghost instance using a real Admin API key. Ghost exposes a stable HTTPS API; Bolt.new can call it directly using fetch. Authentication uses Ghost’s Admin API key encoded as a JWT. Once you generate that JWT, Bolt.new can create posts, update posts, upload images, or trigger automations on your Ghost blog.
You will not find any “official Bolt ↔ Ghost integration”. The real integration is simply: Bolt.new code calling Ghost Admin API endpoints with a valid JWT.
Ghost provides two APIs:
To integrate Bolt.new AI with Ghost, you will use the Admin API.
Here’s the reliable path that always works:
key:secret).GHOST_ADMIN_KEY and GHOST_API_URL).
This is a complete minimal Node server snippet you can drop into Bolt.new. It uses the official, documented Ghost Admin JWT pattern:
import express from "express";
import jwt from "jsonwebtoken";
const app = express();
app.use(express.json());
// Load environment variables in Bolt.new
const [key, secret] = process.env.GHOST_ADMIN_KEY.split(':');
const ghostUrl = process.env.GHOST_API_URL;
// Example envs:
// GHOST_ADMIN_KEY = "admin_id:abcdef0123456789abcdef0123456789"
// GHOST_API_URL = "https://your-ghost-site.com"
app.post("/publish", async (req, res) => {
try {
// Build JWT required by Ghost Admin API
const token = jwt.sign(
{
kid: key
},
Buffer.from(secret, 'hex'),
{
algorithm: 'HS256',
expiresIn: '5m',
audience: `${ghostUrl}/ghost/api/admin/`
}
);
// Example: create a post
const response = await fetch(`${ghostUrl}/ghost/api/admin/posts/`, {
method: "POST",
headers: {
"Authorization": `Ghost ${token}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
posts: [
{
title: "Hello from Bolt.new",
html: "<p>This post was created via the Ghost Admin API.</p>",
status: "published"
}
]
})
});
const json = await response.json();
res.json(json);
} catch (err) {
console.error(err);
res.status(500).send("Failed");
}
});
app.listen(3000, () => console.log("Server running"));
You’re doing three things:
That’s it. This is the whole integration.
This is the real, correct, and production-safe way to integrate Bolt.new AI with Ghost.
When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.