Guide to integrating Bolt.new AI with WordPress in 2025. Follow simple steps to boost automation, speed, 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.
To integrate Bolt.new with WordPress, you do not integrate “Bolt itself.” Instead, you integrate the app you build inside Bolt with WordPress using normal, real web integration methods: WordPress REST API, custom endpoints, webhooks, or plugin-based bridges. Bolt.new is simply your development workspace — it generates and runs backend code (Node/Next.js/Python) that can talk to a real WordPress site over HTTP.
You integrate Bolt.new with WordPress by building an app inside Bolt that communicates with WordPress through the WordPress REST API (or a custom plugin/API you create). You authenticate using Application Passwords for WP-Admin accounts, or via OAuth/JWT if you want a more secure production setup. Your Bolt backend sends HTTP requests to WordPress to read/create/update/delete posts, users, media, etc. WordPress can also call your Bolt app through webhooks (using plugins like WP Webhooks) if you need two-way sync.
WordPress exposes a real REST API: your Bolt.new backend calls it the same way any external app would. There is no hidden “AI connector” — you wire it manually through API calls, environment variables, and a secure auth mechanism.
This is the simplest, real, working setup you can build in a Bolt project.
// Example: Next.js API route inside Bolt.new
// File: pages/api/createPost.js
export default async function handler(req, res) {
const { title, content } = req.body;
const wpUser = process.env.WP_USER; // WordPress admin username
const wpPass = process.env.WP_APP_PASSWORD; // WordPress application password
const auth = Buffer.from(`${wpUser}:${wpPass}`).toString("base64");
const response = await fetch("https://YOUR-WP-SITE.com/wp-json/wp/v2/posts", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Basic ${auth}`
},
body: JSON.stringify({
title,
content,
status: "publish"
})
});
const data = await response.json();
res.status(200).json(data);
}
That code is valid, real, and directly usable in Bolt.new. It creates posts on your WordPress site.
If you want WordPress to notify your Bolt app (e.g., when a post is updated), you use a webhook plugin such as WP Webhooks. WordPress then sends POST requests to your Bolt backend. No magic — just HTTP.
// File: pages/api/wpWebhook.js
export default async function handler(req, res) {
// WordPress will POST data here
console.log("Webhook from WP:", req.body);
res.status(200).json({ ok: true });
}
You only need a plugin if:
Otherwise, the built-in WP REST API is enough.
Bolt.new does not “plug into” WordPress by itself. You create an app in Bolt that talks to WordPress over the REST API, authenticated with Application Passwords or OAuth/JWT. That’s the real, secure, production-valid way. Everything is standard HTTP and environment variables — no proprietary connectors, no hidden magic.
When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.