Getting Stared

Getting Stared

First head over to Storyblok and create a space.

Here we need to collect 3 things:

  • Space ID

  • Space Preview Token

  • Personal Access Token (link)

Now clone our repo and rename the env.txt to .env.

Set up your .env

STORYBLOK_PREVIEW_TOKEN=XXX
STORYBLOK_PERSONAL_TOKEN=XXX
STORYBLOK_SPACE_ID=000
LOCALE=en-US
CURRENCY=USD
SITE_LANG=en

Install & run dev

$ npm install
$ npm run dev
image

Sync your space

Go to https://localhost:4321/setup .

Now sync your Datasources, Components, and stories. it is best to first delete before syncing.

After this you are ready to go.