Getting Started with blogjs: A Complete Guide to Your First Headless Blog
Learn how to get started with blogjs, an API-first, npm package supported headless blogging platform for developers. Create your first project, publish blog posts, generate an API key, install the blogjs-space npm package, and integrate your blog into Next.js, React, Vue, Astro, Angular, Remix, Svelte, or any JavaScript application.

Adding a blog to your website shouldn't require building an entire content management system from scratch. blogjs makes the process simple by providing an API-first headless blogging platform that lets you manage content while keeping full control of your frontend.
In this guide, you'll learn how to create your first blogjs project, publish your first blog post, generate an API key, install the blogjs-space package, and display your blog content in your application.
What You'll Need
Before getting started, make sure you have the following:
- A blogjs account
- A JavaScript or TypeScript project
- Node.js installed
- Basic knowledge of JavaScript
- A frontend framework such as Next.js, React, Vue, Astro, Angular, Remix, or Svelte (optional)
Step 1: Create Your First Project
After signing in to blogjs, create a new project. Every project has its own blog posts, categories, tags, team members, and API keys, making it easy to manage multiple websites from one account.
Choose a meaningful project name because you'll use this project to manage all of your blog content.