GitHub Integration
Import product files directly from GitHub repositories — including private repos.
Why Use GitHub Import?
If your team maintains product catalogs or equipment lists in a GitHub repository, you can import Excel files directly without downloading them first. This is useful for:
- Shared equipment lists maintained by your organization
- Version-controlled product catalogs
- Automated workflows where files are updated in a repo
Setup: Create a GitHub Token
- Go to GitHub Token Settings
- Click Generate new token
- Name it (e.g., "AVstackr Import")
- Set expiration (recommended: 90 days)
- Under Repository access, select the repos containing your product files
- Under Permissions > Repository permissions, set Contents to Read-only
- Click Generate token and copy it
Save Your Token
- In AVstackr, go to Settings
- Find the GitHub Integration panel
- Paste your token and click Save
Your token is encrypted and stored securely. It is never exposed to the browser.
Import a File
- Go to Import Products
- Select GitHub as the import source
- Enter the Repository Owner (username or org), Repository Name, Branch (defaults to main), and File Path (e.g.,
data/products.xlsx) - Click Fetch & Analyze
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| Authentication failed | Token missing, expired, or wrong | Add or refresh token in Settings |
| Repository or file not found | Wrong owner, repo, or path | Double-check all fields |
| Corrupted data | File is not a valid Excel file | Ensure the path points to an .xlsx file |
Security
- Requests are locked to
api.github.comonly - Token is encrypted at rest (AES-256)
- The token only grants access you already have on GitHub
- Use fine-grained tokens scoped to specific repos for least-privilege access
- You can clear the token from Settings at any time
