Set up your organization

Accept your invitation, connect the Sorus GitHub App and confirm which repositories can run jobs.

A Sorus organization is your team’s account. It holds your jobs, credentials and settings, and it is linked to one installation of the Sorus GitHub App. That installation decides which repositories can run on Sorus.

Before you start

You need:

  • an invitation to a Sorus organization with the admin or owner role, from signing up;
  • a GitHub organization (or personal account) that holds the repositories, on github.com;
  • permission to install GitHub Apps on it: an organization owner, or someone an owner has allowed to install apps.

If someone else administers your GitHub organization, ask them to complete the installation step with you. The person who authorizes the installation in Sorus must also administer it on GitHub.

Accept the invitation and sign in

  1. Open the invitation email and follow its link. Create your account or sign in, and verify your email address if asked.
  2. Sign in at app.lathe.run. If your account belongs to more than one organization, choose the one named in the invitation.

The dashboard shows Finish onboarding until your organization is linked to a GitHub App installation. Open Onboarding to continue.

If sign-in says an organization is required, your account has no organization yet: accept the invitation first, or ask us to send it again.

Install the Sorus GitHub App

  1. On the Onboarding page, select Install on GitHub.
  2. Choose the GitHub organization that holds your repositories.
  3. Under Repository access, choose Only select repositories and pick the repositories that should run on Sorus. You can change this later.
  4. Select Install. GitHub returns you to the Onboarding page with the installation ID filled in.

If GitHub does not return you to Sorus, open Onboarding again. The installation ID is the number at the end of the address of the app’s page under your organization’s Settings → GitHub Apps (for a personal account, Settings → Applications).

Authorize the installation for your organization

  1. On the Onboarding page, check the installation ID and select Authorize with GitHub.
  2. GitHub asks you to authorize Sorus. Sorus uses this to confirm that you administer the installation.
  3. GitHub returns you to Sorus. The step reads Installation claimed when the link is made.

One Sorus organization links to one installation, and an installation can be linked to only one Sorus organization.

If authorization fails, the page explains why:

Message What to do
An organization admin must authorize this installation. Your Sorus role is below admin. Ask an admin or owner of your Sorus organization to authorize, or ask us to change your role.
GitHub did not confirm administrative access to this installation. Sign in to GitHub as an owner of the organization that has the installation, then authorize again.
The authorization expired or was already used. Select Authorize with GitHub again. An authorization is valid for 10 minutes.
The installation is suspended. Unsuspend the app in your GitHub organization’s settings, then authorize again.
The selected installation of the Sorus GitHub App was not found. Check the installation ID. It must be an installation of the Sorus app.
This installation or organization is already linked. Check that you are signed in to the intended Sorus organization. Contact us to move an installation.

From a terminal, sorus onboarding status --json reports the same state. Open its claim_url in a browser signed in to your Sorus organization. The client has no claim command, because GitHub must confirm ownership in the browser.

Check your repositories

Install the client and sign in as described in Run your first Cargo check, then run:

sorus whoami
sorus onboarding status
sorus repositories list

sorus whoami shows your organization and role. sorus repositories list shows exactly the repositories the installation can access.

To add or remove a repository, change the installation’s Repository access on GitHub: from the Onboarding page select Change repository access, or open the app under your GitHub organization’s Settings → GitHub Apps. Sorus picks up the change on its own. A job for a repository the installation cannot access is refused with repository_not_authorized, before any source is uploaded.

Roles

Each person in your Sorus organization has one role:

Role Can
Owner, admin Everything a member can, plus authorize the GitHub App installation and create credentials for CI and coding agents.
Member Submit jobs and read their results.
Viewer Read jobs and results.

To add people to your organization or change a role, contact us. Each new person receives their own invitation.

Next steps