Configuration
The ticketyboo-gate extension has two settings. Both are scoped to VS Code User or Workspace settings. Set them before running the Brief Wizard.
Settings reference
| Setting | Default | Required | Description |
|---|---|---|---|
ticketyboo.apiBase |
https://api.ticketyboo.dev |
No | Base URL of the ticketyboo API. Change this only if you are running a local or staging API instance. |
ticketyboo.apiKey |
(empty) | Yes | Your ticketyboo API key. Keys begin with tbo-. Required to call the archetypes API. |
Setting your API key
Via VS Code settings UI
- Open VS Code Settings (Ctrl+, / Cmd+,).
- Search for ticketyboo.
- Enter your API key in the ticketyboo: Api Key field.
Via settings.json
Open your settings.json (Preferences: Open User Settings (JSON) from the Command Palette) and add:
{
"ticketyboo.apiKey": "tbo-your-key-here"
}
Do not commit your API key to a shared .vscode/settings.json in a repository. Use User Settings (not Workspace Settings) to keep the key out of version control.
Generating an API key
API keys are generated from your account page after signing in:
- Sign in at ticketyboo.dev.
- Go to your account page.
- Under API keys, click Generate key.
- Copy the key (it is shown once). It begins with
tbo-. - Paste it into the
ticketyboo.apiKeysetting.
API keys are stored as a SHA-256 hash in DynamoDB. The full key value is not retrievable after generation. If you lose the key, generate a new one.
Changing the API base URL
The default API base is https://api.ticketyboo.dev. This is correct for all normal use. You would only change ticketyboo.apiBase if you are running a local development instance of the ticketyboo API (for example, via LocalStack or a local Lambda invocation).
{
"ticketyboo.apiBase": "http://localhost:3000"
}
How the extension uses settings
When you run ticketyboo: Open Brief Wizard, the extension reads both settings and uses them to construct the API requests:
GET {apiBase}/v1/archetypeswith headerx-api-key: {apiKey}POST {apiBase}/v1/archetypes/{name}/instantiatewith headerx-api-key: {apiKey}
If ticketyboo.apiKey is empty, the extension shows an error message and does not proceed.