### Install Zenblog via npm Source: https://zenblog.com/docs Install the Zenblog package using the terminal. ```bash npm install zenblog ``` -------------------------------- ### Initialize Zenblog Client Source: https://zenblog.com/docs Initialize the Zenblog client using your blog ID from environment variables in cms/index.tsx. ```typescript import { createZenblogClient } from "zenblog"; const zenblog = createZenblogClient({ blogId: process.env.ZENBLOG_BLOG_ID }); ``` -------------------------------- ### Fetch Posts List Source: https://zenblog.com/docs Fetch a list of posts from the Zenblog API in cms/index.tsx. ```typescript import { createZenblogClient } from "zenblog"; const zenblog = createZenblogClient({ blogId: process.env.ZENBLOG_BLOG_ID }); const posts = await zenblog.posts.list(); ``` -------------------------------- ### Render Posts List Source: https://zenblog.com/docs Render the list of posts in your application using cms/index.tsx. ```jsx