Skip to main content
You deployed blog routes that read from the RankBuddy API. This guide connects your RankBuddy workspace so content you publish appears on your site.

Prerequisites

Blog routes are live at {your-domain}{blogPath} (for example https://acme.com/blog).
RANKBUDDY_API_KEY is set in your production environment (server-only, never NEXT_PUBLIC_).
Your RankBuddy project uses the same website URL and blog path you configured during onboarding.

Steps

1

Create a RankBuddy account

2

Confirm project settings

In RankBuddy, open your project and verify:
  • Website matches your live domain (e.g. https://acme.com)
  • Content path matches your blog route (e.g. /blog)
Published articles resolve to: website + content path + slughttps://acme.com/blog/my-article.
3

Ask your AI SEO Employee to create an article preview

  1. Open the project chat and select Content Generation.
  2. Describe the article you need, or ask the employee to find a topic opportunity.
  3. The employee gathers the required SEO context and generates the article in a review canvas.
  4. Review the rendered article or switch to Markdown view.
The current Content Writer PoC does not save generated previews to Articles automatically. RankBuddy also does not provide a blank manual article-creation form. An explicit Save to drafts action will be introduced as a separate user-controlled step.
4

Publish a saved article

Publishing remains available for articles that already exist in Articles. Open an article and change its status to Published, or schedule a future time.Generated chat previews cannot be published until the explicit save workflow is added. Nothing goes live from article generation automatically.
5

Verify on your site

  1. Open {blogPath} — your published post should appear in the listing.
  2. Open {blogPath}/{slug} — full article, cover image, and metadata should render.
If you use on-demand caching (dynamic = "force-static" with revalidate = false), call your revalidation endpoint or webhook after publishing so the exact index, article, topic, and sitemap paths refresh. For the simplest first launch, use time-based revalidation (revalidate = 3600) as described in the blog setup guide.

Get your API key

  1. In RankBuddy, open Settings → API keys (or your project’s integration settings).
  2. Create a key with access to read published articles.
  3. Add it to your hosting provider as RANKBUDDY_API_KEY.
  4. Redeploy if the variable was added after the last deploy.
Never expose RANKBUDDY_API_KEY in client components, browser bundles, or public repos.

Troubleshooting