This tool lets you manage Sigma data models as code using GitHub for version control. Sigma is always the source of truth - this tool helps you track changes, review via PRs, and maintain history.
When changes are merged to your main branch, they automatically sync to Sigma via GitHub Actions.
⚠️ Save the Client Secret immediately - you cannot view it again!
.github/workflows/ - automation workflowsscripts/ - Python sync scriptsdata-models/ - your JSON filesconfig.yml - configurationGo to your repo: Settings → Secrets and variables → Actions
Add Repository Secrets:
SIGMA_CLIENT_ID | Your Sigma API Client ID |
SIGMA_SECRET | Your Sigma API Client Secret |
Add Variables (click Variables tab):
SIGMA_CLOUD | aws, azure, or gcp |
SIGMA_FOLDER_ID | Folder ID for new data models |
repo scopeghp_)...sigmacomputing.com/.../folder/abc123xyzowner/repo-name)Commit Workflow:
This ensures all changes to main go through PR review before automatically syncing to Sigma! ✅
Click the branch selector in the toolbar (or press Ctrl/Cmd + B) to:
How commits work:
This workflow ensures main is always protected and changes sync to Sigma only after PR approval.
The History panel on the right shows all commits for the selected model:
Use this to review changes over time or roll back to a previous version.
This tool helps you version control and review changes, but Sigma is always the source of truth for your data models.
💡 Best practice: Use "Pull from Sigma" regularly to ensure GitHub matches what's in Sigma.
Ctrl/Cmd + S | Open commit modal |
Ctrl/Cmd + B | Open branch management |
Esc | Close any modal |