Create the feature
Pick a waiting list, newsletter signup, contact form, or testimonials in the Sitebase dashboard and customize the copy.
Sitebase for Cursor
You build sites in Cursor; don't make the agent hand-roll form backends, email capture, and analytics on every project. One prompt installs Sitebase — production-grade infrastructure your agent can't get wrong.
Sitebase is in private beta. Once you're in: create a feature, then paste one prompt into Cursor. Nothing to host, no backend code in your repo.
This is the demo variant with placeholder keys — once you have access, every feature in your dashboard shows this prompt pre-filled with its real keys.
Add Sitebase to this site.
1. Load the analytics tracker on every page by adding this to the shared layout's <head>:
<script async crossorigin="anonymous" src="https://sitebase.dev/embed.js" data-sitebase-site="YOUR_SITE_KEY"></script>
2. Place my newsletter signup where the footer CTA is:
<script async crossorigin="anonymous" src="https://sitebase.dev/embed.js" data-sitebase-widget="YOUR_WIDGET_KEY"></script>
Keep all attributes exactly as-is. I'll replace the YOUR_*_KEY placeholders with the real keys from my Sitebase dashboard (sitebase.dev). Pick a waiting list, newsletter signup, contact form, or testimonials in the Sitebase dashboard and customize the copy.
Your agent pastes one script snippet into the codebase — layout for the tracker, page or component for each feature. That's the whole integration.
Submissions, signups, and pageviews land in your dashboard. Approve testimonials, export data, get notified.
Agent-readable reference at /llms.txt — snippet formats, embed URL parameters, and every feature's capabilities in one file your agent can fetch.
Sitebase is a remote MCP server too: connect it and your agent can create features, fetch embed snippets, read submission and subscriber stats, pull analytics summaries, and check uptime — without leaving Cursor. Create an API key in your dashboard profile, then add this config:
{
"mcpServers": {
"sitebase": {
"url": "https://sitebase.dev/mcp",
"headers": {
"Authorization": "Bearer sbk_YOUR_API_KEY"
}
}
}
} Prefer plain HTTP? The same key works against the REST management API — reference at /llms-full.txt.
…and any website where you can paste a script tag or an iframe.