This is a temporary solution that'll be replaced by a different feature in the future.
You can provide your Frontastic API hub extensions with credentials to connect to your backend services. To do so, you need to edit the
project.yml file in a directory you're not usually meant to touch:
<customer>_<project>/config/project.yml. In this file, you can edit the section
configuration and store arbitrary YAML content, which is then available to the
FrontasticContext in each extension point.
apiKey: configuration: # ... commerce-backend: api-key: <some secrets> server-id: <anything>
Don't edit anything else!
You'll break your API hub setup if you edit any other section in this file.
Updated 3 months ago