Add storyblok to manage your landing page

Add storyblok to manage your landing page

Jonathan Wilke

Written by

Jonathan Wilke

Published on


storyblok is a content management system that allows you to create and manage your content in a simple and intuitive way. It also gives you the ability of a live preview of the content while editing it.

Setup storyblok

Before you get started you need to create an account for storyblok and create a new space.

For setting up the client in your project you will need an access token to your project. You can get this token by navigating to to Setting > Access Tokens in the storyblok admin panel. There you should find token with access level Preview.

Installing storyblok in the project

In your .env file add the copied access token to a new variable:


Then install the storyblok client libary with the following command:

npm install @storyblok/react

Inititalize the storyblok client

In your index.ts file add the following code:

  accessToken: '',
  use: [apiPlugin],
  components: {
    page: Page,
    hero: Hero,

Add files to /bloks folder


Render the storyblok components

Add storyblok url as valid url for next/image

Previewing your content

Get ssl certificate localhost to enable preview from local machine

Setting preview url in storyblok

Creating your content

Under entry configuration that the Real path for /home to /.


Get your SaaS started in minutes

Save time and focus on your business with supastarter, the scalable and production-ready starter kit for your SaaS.

Get started →

© 2022 supastarter. All rights reserved.


  • Demo
  • Pricing
  • FAQ
  • Documentation
  • Changelog
  • Roadmap
  • Starter templates