<public-url> below for your stable public Roomote URL.
Fast path
Open/setup, choose GitHub, and click Create GitHub App. Roomote sends
GitHub a manifest with the callback, webhook, permissions, and events
preconfigured. After GitHub redirects back, Roomote saves the generated app ID,
app slug, OAuth client credentials, webhook secret, and private key, then sends
you to install the app on repositories.
Use the manual steps only when you already have a GitHub App or want to manage
these values in deployment environment variables yourself.
Manual GitHub App setup
- Go to GitHub App settings. For an organization-owned app, use the organization’s Developer settings > GitHub Apps > New GitHub App page.
- Set GitHub App name to a unique name.
- Keep Identifying and authorizing users enabled.
- Set Homepage URL to
<public-url>. - Set Setup URL to:
- Check Redirect on update.
- Set Callback URL to:
- Enable Expire user authorization tokens.
- Set Webhook URL to:
- Generate a webhook secret and save the same value in Roomote:
Permissions and events
Grant these repository permissions:- Contents: Read and write
- Issues: Read and write
- Metadata: Read-only
- Pull requests: Read and write
- Workflows: Read and write
- Installation
- Issue comment
- Pull request
- Pull request review comment
- Push
- Workflow run
Save credentials
Copy these values into the/setup manual form, deployment env vars, or your
local .env.local:
NEXT_PUBLIC_GITHUB_APP_SLUG is optional when your GitHub App slug is not
roomote.
Generate a private key from the app’s Private keys section. GitHub
downloads a .pem file. Convert it to an escaped single-line value before
saving it in an env var:
/setup, and confirm repository sync sees the
expected repositories.
Verify setup
- connect GitHub in setup or Settings
- install the app on at least one repository
- create or update an environment from that repository
- start a small task and confirm Roomote can clone the repository
- finish the task and confirm Roomote can push a branch or open a pull request