Connect Your First GitHub App
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
Estimated time: 8 minutes
This step lets Nomatron read your repo, receive webhooks, and post plan activity back through GitHub.
Before you start, decide where the GitHub App should live:
- if the repository is owned by a GitHub organization, create the GitHub App in that organization
- if the repository is owned by a personal GitHub account, create the GitHub App in that user account
This choice affects the GitHub registration URL and the page GitHub opens for app creation.
1. Open The GitHub Integration Flow In Nomatron
- Open your organization.
- Go to
Integrations. - Open
GitHub App Integrations. - Click
New GitHub App. - Click
Open GitHub App Registration.
Use the same GitHub owner as the repository you created in the previous step.
Examples:
- repository is under
acme-inc-> create the GitHub App in theacme-incorganization - repository is under
jane-dev-> create the GitHub App in thejane-devpersonal account

2. Fill In The GitHub App In GitHub
Nomatron should prefill most of the values for you. Use Nomatron’s generated values for:
Homepage URLCallback URLSetup URLWebhook URL
Important:
if the app is being created in a GitHub organization, the registration page should open under that organization
if the app is being created in a personal account, the registration page should open under your personal GitHub settings
if GitHub opens the wrong location, stop and restart the registration flow with the correct owner choice
keep webhooks enabled
create a webhook secret
save that webhook secret because you will paste the same value back into Nomatron
If Nomatron is running in dev mode, make sure the URLs use the public ngrok api_addr, not plain localhost.
Ensure Expire user authorization tokens is unchecked.

3. Set Permissions And Events
Use the permissions Nomatron requests. The common working set is:
Administration: Read and writeContents: Read and write (needed so accept-drift can open a pull request that writes the live job back to your jobspec)Issues: Read and writeMetadata: Read-onlyPull requests: Read and writeWebhooks: Read and write
Use these webhook events:
PushPull requestIssue comment
4. Create The App And Copy The Required Values
After GitHub creates the app, copy:
App IDClient IDApp slug
Then generate a private key and copy the full .pem contents, including:
-----BEGIN ...----------END ...-----

5. Finish The Connection In Nomatron
Back in Nomatron, paste:
App IDClient IDApp slugPrivate key PEMWebhook secret
Save the integration and click on Go to integration.
6. Install The GitHub App
- Click the connect action in Nomatron.
- In GitHub, choose the repository that you created from the template or select
All repositories. - Click
Installto complete the installation process.
Make sure the installation target matches the repository owner.
7. Confirm Status
Return to Nomatron and make sure the integration now shows as installed or connected.
