📝Storyblok Setup

1. Log in to Storyblok

Run the following command in your terminal to authenticate:

storyblok login  

Follow the prompts to log in with your Storyblok account.

2. Create a Storyblok Space

If you don’t have a space yet:

3. Get Environment Variables

  1. Get Your Space ID & Access Token:

    • Navigate to SettingsAccess Tokens Keys and Space in your Storyblok space.

    • Copy:

      • Space ID (found in the URL or settings).

      • Delivery API Token (under "Access Tokens").

4. Setting Up Environment Variables

  1. Copy the .env file template Run this command to create your local .env file from the example:

    cp env.example .env
  2. Update your credentials Open the new .env file and fill in:

    STORYBLOK_DELIVERY_API_ACCESS_TOKEN=your_token_here
    SPACE_ID=your_space_id_here

Last updated