Connect GitHub
Start with a running instance and an administrator account. You will install the plugin, sign in with a scoped GitHub token, and make read-only calls. Use a demo repository you are authorized to access.
Install the plugin
- Open Plugins → Community on your Switchboard instance.
- Find GitHub, choose Install, inspect the dependency preview, then apply it. The source is tader/switchboard-plugin-github.
- Confirm GitHub is active under Plugins. The built-in API Keys and OAuth helpers supply its authentication methods.
If the catalog is rate-limited before you have a connection, retry after the reset or use your instance administrator’s bootstrap GitHub credential. The optional desktop download token is a separate fallback described below.

Create a connection
Create a fine-grained personal access token for the repository owner and selected demo repositories. Start with read-only permissions; Contents: read is needed to download a private plugin’s files, and repository metadata is included. Organization approval or SSO policy may also apply.
In Connections, add GitHub, select Personal access token, paste your token in the secret field and connect. This method needs no administrator OAuth app. Name the connection github-demo for the examples. Switchboard validates the token against GitHub’s /user endpoint.
Browser and device-code sign-in are alternatives after an administrator configures a GitHub OAuth app under Plugins → GitHub → Settings.
Verify your account and repository access
Open Console, select github-demo, choose GET and run:
/user
Expect HTTP 200 and the GitHub login for your token. Then read a repository you selected when creating the token, replacing OWNER and REPOSITORY:
/repos/OWNER/REPOSITORY
Expect HTTP 200 and matching repository metadata. A public repository read does not prove private access. For that check, use a private demo repository you own or have explicit permission to read. A 404 can mean insufficient repository access; a 401 commonly means an expired or revoked token. Review token ownership, repository selection, organization approval and SSO before expanding permissions.
You can also call through a connection-scoped Switchboard API token from API tokens:
export SWITCHBOARD_URL=http://127.0.0.1:8770
# Set SWITCHBOARD_TOKEN privately in your local environment.
curl --fail-with-body \
-H "Authorization: Bearer $SWITCHBOARD_TOKEN" \
"$SWITCHBOARD_URL/proxy/github-demo/user"
Your script receives a Switchboard token, not the GitHub PAT.
Check rate limits
In the same console connection run GET:
/rate_limit
Inspect resources.core.limit, resources.core.remaining and resources.core.reset. Reset is a Unix timestamp in seconds. Response headers also report x-ratelimit-limit, x-ratelimit-remaining and x-ratelimit-reset.
GitHub’s ordinary REST limits are 60 unauthenticated requests per hour per IP, or 5,000 authenticated requests per hour per user for a PAT. Authentication type, enterprise accounts and specific endpoints can change the quota. Search and secondary limits are separate. Read the actual response rather than treating these figures as a guarantee.
On 403 or 429, inspect the rate-limit headers and Retry-After. Wait for the stated reset or retry delay; avoid repeated retries and use backoff for secondary limits. See GitHub’s current rate-limit rules.
Use GitHub access for plugin management
A GitHub service connection lets scripts, agents and the console call GitHub. GitHub access in plugin installation or update dialogs selects which saved GitHub connection Switchboard uses to fetch repositories. Select github-demo there to use its access and authenticated quota.
For a private-access check, open Plugins → Install from GitHub, enter a permitted private demo plugin repository, select this connection under GitHub access, and preview. A successful preview proves it can read the manifest; apply only if you intend to run that plugin. Successful choices are remembered for updates.
The desktop app’s optional token raises desktop release-download limits and can be passed to a compatible local server as an anonymous-rate-limit fallback for catalog browsing and plugin installation. It does not create a service connection and is not used for server-side plugin updates. Stop and start the local server after changing that token. The administrator’s SWITCHBOARD_GITHUB_TOKEN is another bootstrap option; keep it private.