Configuration Reference
Overview
Section intitulée « Overview »Greentic configuration is mostly produced and consumed by wizards, setup flows, pack manifests, and runtime overlays. Prefer generated schemas over remembered examples.
The current high-confidence references are:
| File | Purpose |
|---|---|
pack.yaml | Pack source manifest. |
.ygtc | Flow definition file. |
answers.json | Wizard answer document for a specific CLI/wizard. |
| setup answers JSON | Provider or extension setup answers consumed by greentic-setup. |
tenant/team .gmap files | Runtime access and mapping files produced by setup/start tooling. |
Older docs listed a broad greentic.toml runtime schema with Redis, logging, telemetry, and WASM settings. That schema is not validated by the current local docs/tooling pass, so it is not documented here as a canonical Greentic config file.
Wizard Answer Documents
Section intitulée « Wizard Answer Documents »Wizard answer files are schema-versioned JSON documents. Always inspect the installed schema before writing one by hand or with a coding agent:
gtc wizard --schemagreentic-bundle wizard --schemagreentic-pack wizard --schemagreentic-component wizard --schemagreentic-flow wizard --schemaA bundle wizard answer document has this outer shape:
{ "wizard_id": "greentic-bundle.wizard.run", "schema_id": "greentic-bundle.wizard.answers", "schema_version": "1.0.0", "locale": "en", "answers": { "bundle_name": "Deep Research Demo", "bundle_id": "deep-research-demo", "app_packs": ["demos/deep-research-demo.gtpack"], "extension_providers": [], "setup_answers": {} }}The exact fields under answers depend on the wizard and installed tool version.
Setup Answers
Section intitulée « Setup Answers »greentic-setup accepts setup answer JSON for provider/extension configuration. The common pattern is a JSON object keyed by provider or extension id:
{ "messaging-webchat": { "enabled": true, "public_base_url": "http://localhost:8080" }, "messaging-teams": { "enabled": false, "public_base_url": "http://localhost:8080", "app_id": "00000000-0000-0000-0000-000000000000", "app_password": "secret-ref-or-value", "tenant_id": "00000000-0000-0000-0000-000000000000" }}Do not treat this as a universal schema. Each provider or extension contributes its own questions and answer fields. Use the bundle setup flow or provider QA schema to get the authoritative fields.
Pack Configuration
Section intitulée « Pack Configuration »Pack configuration lives in pack.yaml:
pack_id: quickstart-appversion: 0.1.0kind: applicationpublisher: Example Publisher
components: []dependencies: []flows: - id: on_message file: flows/on_message.ygtc tags: [messaging, default] entrypoints: [default]assets: - path: assets/i18n/en.jsonSee Pack Format for the current pack source shape.
Flow Configuration
Section intitulée « Flow Configuration »Flow configuration lives in .ygtc files:
id: on_messagetype: messagingstart: extract_event
nodes: extract_event: component.exec: component: component-msg2events operation: extract message: "{{in.input}}" routing: - to: echo_resultSee Flow YAML Schema for the current flow shape.
Locale Configuration
Section intitulée « Locale Configuration »Pack i18n assets are JSON files under assets/i18n/:
assets/i18n/en.jsonassets/i18n/de.jsonassets/i18n/locales.jsonThe Greentic i18n runtime normalizes BCP-47-ish locale tags and falls back from exact locale to base language to English.
Public Base URL
Section intitulée « Public Base URL »Several setup flows ask for public_base_url. It is the externally reachable runtime URL used for webhooks, OAuth callbacks, webchat links, or provider configuration. Local demos commonly use:
{ "public_base_url": "http://localhost:8080"}Some runtime code also accepts a configured public base URL from environment/runtime configuration, but provider setup answers remain the most visible place this value appears.
Secret values should be supplied through setup answers, greentic-secrets, or a configured secrets extension/manager. Do not hardcode credentials in pack.yaml, flow files, or component source.
Useful commands:
greentic-secrets --helpgreentic-setup --helpConfiguration Precedence
Section intitulée « Configuration Precedence »For wizard-created artifacts, use this practical precedence:
- Explicit CLI flags and
--answersfiles - Existing setup/runtime state for the selected tenant/team
- Pack defaults and generated wizard defaults
- Tool defaults
Provider-specific setup screens can also prefill values from saved tenant/team state.