Back to Docs
Quick Start Guide
Get up and running with BlogFlow in 5 minutes
Step 1: Installation
npm install @blogflow/sdkStep 2: Configuration
Add your API key to your environment variables:
BLOGFLOW_API_KEY=your_api_key_hereStep 3: Start Using
Create your first content:
import { BlogFlow } from '@blogflow/sdk';
const client = new BlogFlow({
apiKey: process.env.BLOGFLOW_API_KEY,
});
const post = await client.posts.generate({
topic: 'Next.js Performance Tips',
language: 'en',
});
console.log(post.title);