Native integration

Publish ContentPulse articles to your Lovable app.

Lovable apps store their data in Supabase (Lovable Cloud). ContentPulse pushes reviewed, SEO-ready articles straight into your app's database through a small, secure Edge Function you deploy in your own project, body HTML, featured image, slug, and excerpt already set. No copy-paste, and your database keys never leave your side.

Works with any Lovable app that has Lovable Cloud (Supabase) enabled. You deploy one Edge Function once; ContentPulse calls it with a shared secret.

Set up in four steps

STEP 1

Add a posts table

In your Lovable app, make sure your blog/content data lives in a Supabase table (e.g. posts) with columns like title, slug, body, and status. Just ask Lovable to "add a blog backed by a posts table" if you do not have one yet.

STEP 2

Deploy the publish function

Deploy the small ContentPulse publish Edge Function in your Supabase project. It checks a shared secret and inserts (or updates) a row in your posts table using the service-role key that already lives in your project, so that key is never shared with anyone.

STEP 3

Connect Lovable in ContentPulse

In your ContentPulse website settings, open Integrations, pick Lovable, paste the function URL https://PROJECT_REF.supabase.co/functions/v1/contentpulse-publish and the shared secret, then hit Connect.

STEP 4

Draft & publish

Draft an article, review it, then hit Publish to Lovable. The post is written to your Supabase table with its body, featured image, slug, and excerpt, ready to render in your Lovable app.

Installation guide

1

Confirm your Supabase posts table

Lovable apps use Lovable Cloud, which is Supabase under the hood. Open your project and confirm the table that holds your articles. The default field names ContentPulse sends (title, slug, body, excerpt, cover_image_url, status, published_at) are configurable, so they can match your existing columns.

2

Deploy the Edge Function with a secret

Create a Supabase Edge Function named contentpulse-publish using the template we provide. Set a CONTENTPULSE_SECRET environment variable to a long random string. The function verifies that secret on every request and performs the privileged upsert with your service-role key, which stays inside your project.

3

Connect Lovable in ContentPulse

In the ContentPulse dashboard, open your website, go to the Integrations tab and select the Lovable tile. Enter the function URL https://PROJECT_REF.supabase.co/functions/v1/contentpulse-publish, paste the shared secret, and click Connect. Your next published article will appear in your Lovable app.

What the integration handles for you

Body HTML

Article content is rendered to clean, theme-neutral HTML and written to your body column, headings, paragraphs, lists, quotes, and links render correctly wherever your Lovable app shows the post.

Featured image

The hero image URL is sent in the cover image field so your app can display it at the top of the post and in listings.

Configurable field names

The JSON keys ContentPulse sends (title, slug, body, excerpt, cover image, status, published date) are configurable, so the function maps cleanly onto whatever columns your table already uses.

SEO slug & excerpt

The slug and meta description are sent alongside the body so the published page keeps its SEO-optimized URL and listing summary.

Draft or live

A status value of draft or published is sent with each post, so your app can keep reviewed articles hidden or show them live, matching the status you choose in ContentPulse.

Refresh, not duplicate

When an article is refreshed, the same external id is sent so your function updates the existing row in place (same slug, same URL) instead of creating a duplicate.

Common questions

Not a first-party one. Lovable is an AI app builder, and its data lives in Supabase (Lovable Cloud). The secure, supported way to write content from outside is a small Edge Function in your own project, which is exactly what this integration uses.
No. The privileged service-role key stays inside your Supabase Edge Function and never leaves your project. ContentPulse only knows the function URL and a shared secret you create, which you can rotate or revoke at any time.
The JSON field names ContentPulse sends are configurable. Map them to your columns in the Edge Function (or via configuration) so the integration works with your existing schema, no migration required.
No. Lovable Cloud is Supabase, bundled with your Lovable app, so you do not sign up separately. You deploy the Edge Function inside the project your Lovable app already uses.

Ship fresh content to your Lovable app without the copy-paste routine.

Cookie Notice

We use cookies to enhance your experience, remember your preferences, and analyze site traffic. Read our Cookie Policy for details.