We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e20d86 + c44dbd9 commit cdba736Copy full SHA for cdba736
1 file changed
docs/php/symfony/storyblok/index.mdx
@@ -18,7 +18,30 @@ This bundle provides helpers for
18
19
## Installation
20
21
-Install the package:
+You need to define various environment variables:
22
+
23
+```dotenv
24
+# your space id as number
25
+STORYBLOK_SPACE_ID=
26
27
+# your management token
28
+STORYBLOK_MANAGEMENT_TOKEN=
29
30
+# your content token – with `preview` scope
31
+STORYBLOK_CONTENT_TOKEN=
32
+```
33
34
+Then add the base config in `config/packages/storyblok.yaml`:
35
36
+```yaml
37
+storyblok:
38
+ space_id: "%env(STORYBLOK_SPACE_ID)%"
39
+ management_token: "%env(STORYBLOK_MANAGEMENT_TOKEN)%"
40
+ content_token: "%env(STORYBLOK_CONTENT_TOKEN)%"
41
42
43
44
+Then install the package:
45
46
```shell
47
composer require 21torr/storyblok
0 commit comments