Constellation sources and integrations
Constellation can pull knowledge in from the tools your team already uses, and it can document the node it runs on. Everything lands as ordinary Markdown documents in a project, so search, the Playground and every connected agent see it straight away.
- Connected sources sync Confluence spaces, a Notion workspace, GitHub issues, wikis and discussions, and GitLab issues and wikis on a schedule.
- Node integrations (admins only) write a postmortem draft whenever an alert resolves and keep one page per installed Orbit app. This gives agents a living memory of your infrastructure.
- Log snippets save selected log lines to Constellation from the Logs screen.
Connect a source
- Open Constellation (g k), pick the project the documents should go into and stay on the Library tab.
- Click Connect a source and pick a provider card: Confluence, Notion, GitHub or GitLab.
- Fill in the form (see the provider sections below), choose how often it syncs, and click Connect and sync.
The first sync starts right away. Each page or issue becomes one Markdown document whose Source links back to the original. Documents carry the provider’s name as a tag (plus labels, space keys and similar), are visible to agents, and keep a version history like any other document.
What a sync does
- Only changed items are fetched. Each run lists what exists upstream with a version (an edit time, revision number or content hash) and downloads only new or changed items. Unchanged items are counted as unchanged in the run history.
- Deletions follow upstream. When a page or issue disappears from the source (deleted, archived, unshared), its document moves to the Constellation Trash. Confluence and Notion detect this on every run. GitHub and GitLab, whose regular runs are incremental, detect it once a day on a full pass, or when you click Sync now after a configuration change.
- Your deletions stick. If you move a synced document to the Trash yourself, later upstream edits do not bring it back.
- Upstream wins on edits. A synced document is overwritten when its upstream item changes (your edit stays in the document’s version history). Keep your own notes in a separate document.
- Safety net. If a source suddenly returns nothing at all (typically because the token lost access), nothing is deleted and the run is marked as failed.
- Rate limits are respected. Requests are paced, and
429/5xxresponses are retried after the time the service asks for (Retry-Afteror rate-limit reset headers). One run fetches at most 2,000 items; the rest follow on the next run.
Schedule, status and history
Sources sync every hour by default. You can choose every 6 hours, daily, weekly or Manual only. The Connected sources panel at the top of the Library shows each source with its status (Up to date, Syncing, Error), the item count and when it last synced, plus:
- Sync now starts a run immediately.
- Edit (pencil) changes the name, target project, schedule, settings or token. Changing the settings resets the cursor, so the next run is a full pass.
- Remove (bin) stops syncing. The imported documents stay as ordinary documents unless you tick Also move its imported documents to the trash.
- The arrow shows the last runs: added, updated, deleted and unchanged counts, whether it was a full pass, and the error if one occurred.
Tokens are stored encrypted
API tokens are encrypted at rest with the node’s secrets key (the same mechanism used for database, mail and registry credentials). They are never sent back to the browser. The UI only shows that a token is stored, and leaving the token field empty when editing keeps it. A node without a secrets key cannot store tokens; sources that need one are refused with this node cannot store credentials.
Private and internal servers
Connectors follow the same network policy as web page documents. Hosts that resolve to private, loopback, link-local or CGNAT addresses are refused (blocked address) unless the node allows private fetches. This protects the node from being used to probe your internal network. To sync a self-hosted Confluence Data Center or GitLab on your LAN, an administrator has to enable private fetches for Constellation.
Confluence
Works with Confluence Cloud (https://<site>.atlassian.net) and Confluence Server / Data Center.
| Field | Cloud | Server / Data Center |
|---|---|---|
| Base URL | https://acme.atlassian.net | The URL you open Confluence at, including any context path (https://wiki.example.com/confluence) |
| Space keys | Up to 20, comma-separated (ENG, OPS) | Same |
| Account email / Username | Your Atlassian account email (required) | Leave empty for a personal access token; fill in for username + password |
| API token | An API token from id.atlassian.com | A personal access token (or the password) |
Every current page of the listed spaces is imported. Code macros become fenced code blocks with their language, info/note/warning/tip panels become quotes, task lists become checklists, tables stay tables, and links to other pages keep the target page’s title. Macro parameters and navigation macros (table of contents, children, Jira) are dropped. Each document starts with the space, the page’s path, the last editor, the version and a link back.
Notion
- In Notion, open Settings → Connections → Develop or manage integrations and create an internal integration with Read content.
- Share the pages and databases you want in Constellation with the integration (the page’s ⋯ → Connections menu). Sub-pages inherit access.
- In Constellation, paste the integration’s secret (it starts with
ntn_orsecret_).
Every page shared with the integration is synced, including the rows of shared databases. Headings, lists, to-dos, toggles, quotes, callouts, code, equations, tables, bookmarks and links are converted to Markdown. Database rows list their properties (status, select, multi-select, dates, people, numbers, URLs) at the top. Sub-pages are separate documents. Files hosted by Notion are not copied because their links expire after an hour; captions and external links are kept. Pages you un-share, archive or trash in Notion move to the Constellation Trash on the next sync.
GitHub
| Field | Notes |
|---|---|
| Repository | owner/name (a https://github.com/owner/name URL works too) |
| API URL | Only for GitHub Enterprise Server, e.g. https://ghe.example.com/api/v3 |
| Issues | Each issue with its labels, assignees, milestone and comments. Pull requests are skipped |
| Wiki | Each wiki page (the wiki is read with Git; a repository without a wiki simply yields nothing) |
| Discussions | Each discussion with its category, whether it is answered, and the first 50 comments. Needs a token |
| Token | Optional for public repositories. A fine-grained token with read access to Issues (and Discussions), or a classic token with repo for private repositories |
To index the code of a repository, use Add repo in the Library instead. Repository documents are a separate feature.
GitLab
| Field | Notes |
|---|---|
| Base URL | https://gitlab.com or your self-managed instance |
| Project path | group/subgroup/project or the numeric project id |
| Issues | Each issue with labels, assignees, milestone and comments (system notes are skipped) |
| Wiki | Each wiki page |
| Token | Optional for public projects. A personal, group or project access token with read_api |
Node integrations
Node integrations turn Constellation into the living memory of the node it runs on. They are off by default, apply to the whole node, and only administrators can turn them on. In Library → Connect a source, admins see a This Quazzar OS node card.
Every generated document is tagged auto, is visible to agents and never contains secrets. Agents can then answer questions like “how is Nextcloud deployed here?” or “what happened during last night’s disk alert?” with kb_search.
Incident postmortems
When an alert resolves, Constellation writes a postmortem draft into infrastructure/incidents (created on first use; you can pick another project). The draft contains:
- a summary: rule, severity, affected app, the condition (
disk_percent > 90 for 60s), the observed value and the duration; - a timeline: fired, acknowledged (and by whom), resolved;
- links to the metrics around the incident, the alert history and the app;
- an empty postmortem skeleton: Impact, Root cause, Resolution, Action items, Lessons learned.
There is one draft per alert event (deduplicated by its id), tagged incident, postmortem, the severity and the app. Once written, a draft is never overwritten, so the team can fill it in safely. When you first turn the integration on, alerts resolved in the past 7 days are written too.
Quazzar OS has no separate incident tracker. A resolved alert is the incident.
Orbit app pages
Constellation keeps one page per installed Orbit app in infrastructure/apps, titled App: <name>, with:
- template, version (and whether it is pinned), status, install type (Docker or native, with the systemd unit), domain, auto-update and install date;
- the images, published ports and volumes from the app’s compose file;
- environment variable names only: values (passwords, keys) are never read into the page;
- container health (state and the Docker health check result);
- the 15 most recent deploy events (installs, upgrades, restarts, errors), with credentials in them masked.
Pages are refreshed every couple of minutes but only change when the deployment does, so they don’t pile up versions. Uninstalling an app moves its page to the Trash. The pages are rewritten whenever the app changes, so keep your own runbook notes in a separate document.
Status
Each integration shows its target project, how many documents it maintains, when it last ran and its last error. Refresh now runs it immediately. Turning an integration off stops it, and the documents it already wrote stay.
Save log snippets
On the Logs screen (Server → Logs), select lines in the log pane and click the bookmark icon (Save to Constellation). With nothing selected, the visible lines are saved (up to the newest 500). The snippet becomes a document in infrastructure/logs with the source app, the time range, the line count and the lines in a code block. Values that look like credentials (password=…, token: …, Bearer …, passwords in connection URLs, GitHub/GitLab/Slack/AWS keys, JWTs, private keys) are replaced with [REDACTED] before saving. Snippets are limited to 256 KB.
Any signed-in user can save snippets into their own knowledge base; the API is also available for scripts (see below).
API
All endpoints need a signed-in session; integrations additionally need the admin role. See Cloud OS API → Constellation for the full reference.
# Connect a public GitHub repository's issues and wiki to a project
curl -X POST https://node.example.com/api/constellation/connectors \
-H 'Content-Type: application/json' -b cookies.txt \
-d '{"project_id":"<id>","provider":"github","interval_sec":3600,
"config":{"repo":"acme/app","issues":true,"wiki":true,"discussions":false}}'
# Save a log snippet
curl -X POST https://node.example.com/api/constellation/integrations/log-snippet \
-H 'Content-Type: application/json' -b cookies.txt \
-d '{"source":"app nextcloud","lines":"2026-10-20T10:00:00Z ERROR db timeout"}'Troubleshooting
| Symptom | What to check |
|---|---|
Error with HTTP 401 / 403 | The token expired or lacks access. Edit the source and paste a new token. For Notion, re-share the pages with the integration |
blocked address when connecting | The host resolves to a private or internal address. See Private and internal servers |
| upstream returned no items; nothing was deleted | The source listed nothing although documents were imported before, usually because the token lost access. Fix access and Sync now |
| some items failed | Some items could not be fetched; they are retried on the next run (the cursor does not move past them) |
| GitHub wiki imports nothing | The repository has no wiki, or it is private and no token was given |
| this node cannot store credentials | The node has no secrets key (/etc/quazzar/secrets.key or QUAZZAR_SECRETS_KEY) |
| The integration toggle is greyed out | The subsystem it reads (apps, alerts) does not run on this node |
Related pages
- Constellation: projects, documents, search and connecting agents
- Monitoring: the alert rules whose resolution creates postmortems
- Cloud OS API → Constellation