Setup Storyblok
Register at Storyblok
- Register at Storyblok for free.
- Create an empty space.
Obtain your API Key
- Go to Settings -> API Key Tab
- Create a new Preview Token.
- Add token to your
env
file:
SB_CLIENT_ACCESS_TOKEN=<your access token>
Storyblok Management API
If you plan to create stories with Storyblok from client side we luckily have Storybloks Management API. To get it work you have to create an oAuthToken
in your storyblok space.
- Create an oAuthToken
- Get your Space ID
After you have obtained your created oAuthToken add it to the .env
file.
SB_SPACE_ID=<your space id>
SB_MANAGEMENT_OAUTH_TOKEN=<your oauth token>