- List and display posts and pages, including drafts and scheduled posts
- Create, update, and publish posts and pages
- Read and manage tags
- Look up members, add members, and subscribe them to newsletters
- Read newsletters, membership tiers (paid membership levels), and offers (discounts on those levels)
- Upload images to your Ghost site for use in posts and pages
- Register a webhook, so Ghost notifies your app when content or members change
Common use cases and example apps
These examples show what you can build with Ghost, each with a prompt to start from.How to connect Ghost
Who can create Ghost connections depends on your plan and workspace settings. App + chat connectors are available by default. On Business and Enterprise plans, Who can create connections and clients starts at Admins. Some Enterprise workspaces start at No one, which disables the connector. An admin or owner changes it in Connectors → Admin settings → App + chat connectors. You can create multiple Ghost connections using different API keys, which is useful for separating environments (for example, staging and production) or connecting more than one Ghost site. When the connection is created, you can link it to the projects where you want to use it. Anyone building in a project can ask Lovable in the project chat to link their project to it. Linking follows the connection’s access rules.Prerequisites
Before connecting Ghost, make sure you have:- A Ghost site that uses HTTPS: self-hosted, or on a Ghost(Pro) plan that includes custom integrations
- An Administrator or Owner account on that site
- An Admin API key from a custom integration on that site
- Permission to create connections in your Lovable workspace (see Who can create connections and clients)
All requests made through this connector run against your Ghost site. Hosting and subscription costs are billed by Ghost or your hosting provider, not Lovable.
Step 1: Get a Ghost Admin API key
A Ghost Admin API key lets your Lovable app read and change the content and members of one Ghost site. The key belongs to a custom integration. Ghost has no sign-in window for external apps, so you connect with this key. Requests from your app go through Lovable’s connector gateway, which adds the Ghost credentials. Your Admin API key is not exposed to your published app. To create a Ghost Admin API key:1
Open Ghost Admin
Sign in to Ghost Admin for the site you want to connect.
2
Navigate to integrations
Go to Settings → Integrations.
3
Create a custom integration
Click Add custom integration. Give it a descriptive name, for example
Lovable integration.4
Copy the key
Copy the Admin API key and store it securely. The integration also shows a Content API key. Lovable does not accept the Content API key.
5
Note your Admin URL
Note the address you use to open Ghost Admin, without the
/ghost path at the end. On Ghost(Pro), use the ghost.io address, for example https://your-site.ghost.io, not a custom domain.Step 2: Connect Ghost to Lovable
Each Ghost connection reaches one Ghost site with one Admin API key.1
Open Ghost in Connectors
Open Connectors and select Ghost. For the other places to open the catalog from, see Where to find connectors.
2
Add a connection
Click Connect on the connector page. The form is split into collapsible sections, Details, Configure connection, and Sharing.
3
Name the connection
Under Details, Lovable fills in a name for the connection, which you can change. The name is only used inside Lovable to identify the connection.
4
Configure the connection
Under Configure connection, enter:
- Admin URL: enter the address you noted when you created the key, for example
https://your-site.ghost.io. The address must start withhttps://. You cannot change the Admin URL after the connection is created, so check that it is the site you want. To use a different site, create a new connection. - Admin API key: paste the whole Admin API key you copied from Ghost Admin, including the colon in the middle.
5
Choose who can use this connection
Under Sharing, the connection is private to you by default and shows a Private label. To share it, click Share with others. Then add workspace members by email, or click Invite entire workspace to make the connection available to everyone in your Lovable workspace.See Who can use connections and clients for more information.
6
Connect
Click Connect at the bottom of the form. Lovable verifies the Admin API key against the Ghost Admin API before saving the connection.
Limitations
The Ghost connector cannot:- Use the Ghost Content API or a Content API key. Your app reads posts, pages, tags, and authors through the Ghost Admin API instead.
- Connect to a Ghost site over plain HTTP.
- Show which Ghost staff member is signed in. The connection belongs to an integration, not to a staff account.
- List the webhooks on your Ghost site. Ghost lets an integration create, update, and delete webhooks, but not list them.
- Support per-end-user Ghost login. Each connection represents a single Ghost site shared across all projects linked to it.
Manage your Ghost connection
Connections are managed from Connectors: select Ghost, then open the connection.- Unlink projects to remove Ghost access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
- Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use Ghost stop working until a new connection is added. See Delete a connection for the steps and who can delete.