Skip to main content
This guide covers setting up Raigal for your team using the web dashboard at app.raigal.dev and the Raigal GitHub App. Raigal helps engineering teams catching defects from AI coding assistants (Claude Code, Cursor, Copilot, OpenCode). New organizations start with a 14-day evaluation trial with access to all six analysis engines, pull request checks, and the remediation dashboard.

Setup overview

1. Create your organization workspace

  1. Open app.raigal.dev.
  2. Sign in with GitHub, Google, or your corporate email.
  3. Open the organization menu in the top-right corner and select Create organization (or select your existing workspace).
  4. Enter your organization or company name (e.g., Acme Corp).
  5. Your workspace is immediately created with an active 14-day evaluation trial.
If you manage multiple teams or sandboxes, switch between organizations using the selector in the top-right corner.

2. Install the Raigal GitHub App

The Raigal GitHub App connects your repositories to the cloud control plane. It registers pending checks on pull requests, resolves check runs when CI completes, and keeps remediation boards updated when PRs merge or close.
  1. In the Raigal Cloud dashboard, go to Settings and select Sync GitHub accounts (or open github.com/apps/raigal-cloud directly).
  2. Click Install app.
  3. Select your GitHub organization or personal account.
  4. Choose All repositories or pick specific repositories to monitor.
  5. Click Install & authorize.
Once installed, GitHub registers your account under Settings > Allowed Owners in Raigal Cloud, authorizing CI runs from those repositories.

3. Obtain your organization API token

To allow GitHub Actions runners or local terminals to authenticate and transmit scan metrics to your dashboard:
  1. Open app.raigal.dev/settings.
  2. Under API Tokens, find the Active organization token card and copy your live key (rgl_live_...).
  3. To generate a dedicated key for CI or deployment runners, click Create new token, provide a name (e.g., github-actions-ci), and copy the displayed token.
API tokens are displayed in full only once. Store your token securely. Raigal Cloud hashes all tokens with SHA-256 and cannot recover lost keys.
In GitHub Actions, you can also use tokenless authentication by including permissions: id-token: write in your workflow. Raigal Cloud validates the runner using cryptographic GitHub OIDC. Setting RAIGAL_TOKEN in GitHub Secrets is still recommended for multi-platform consistency.

4. Add the GitHub Actions workflow

Add .github/workflows/raigal.yml to your repository:

Save the secret in GitHub:

  1. In your GitHub repository, open Settings > Secrets and variables > Actions.
  2. Click New repository secret.
  3. Name: RAIGAL_TOKEN.
  4. Secret: paste your rgl_live_... token.
  5. Click Add secret.

5. Verify your first scan

To verify that the integration is working end-to-end:
  1. Pull request scan: Open a pull request in your repository.
    • The Raigal GitHub App creates an in_progress check run named Raigal quality gate.
    • Your GitHub Actions runner executes raigal ci --changes --base origin/<base>.
    • The check run finishes with a summary showing the score (0-100), issue counts, and findings breakdown.
    • A card appears on your Raigal Cloud dashboard under the Pull Requests tab.
  2. Main branch scan: Push a commit directly to main (or merge your PR).
    • The workflow executes a full scan (raigal ci .).
    • The repository baseline health score and active issues update across the Errors and Warnings tabs on app.raigal.dev.

6. Invite your team

  1. In Raigal Cloud, navigate to Settings > Members.
  2. Click Invite member and enter your colleague’s email address.
  3. Select their role:
    • Admin: Full access to manage repository connections, API tokens, billing, and team members.
    • Member: Access to view repositories, inspect findings, review PR check runs, and use developer tools.
  4. The invitee receives an email with an activation link to join your workspace.

Developer local workstation setup

Developers can run scans and automated fixes locally before pushing code:

Troubleshooting common onboarding issues