This integration allows you to trigger AI agents from GitHub issues, PRs, and the Omnara dashboard to automatically respond to comments and perform code tasks.
-
GitHub Personal Access Token (PAT)
- Go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic)
- Click "Generate new token (classic)"
- Select scopes:
repo(full control of private repositories) - Save the token securely
-
Omnara API Key
- Get your API key from the Omnara dashboard
- You'll need this for webhook configuration
-
Anthropic API Key
- Sign up at Anthropic
- Generate an API key from your account settings
Visit github.com/apps/claude-code and install the app on your repository or organization.
- Create
.github/workflows/omnara.ymlin your repository - Copy the workflow from src/integrations/github/claude-code-action/examples/omnara.yml
- Commit and push the file
Add these secrets to your repository (Settings → Secrets and variables → Actions):
ANTHROPIC_API_KEY: Your Anthropic API key
- Go to the Omnara dashboard
- Create a new agent any name, and then assign it with type "GitHub Webhook"
- Fill in the configuration:
- Repository:
YOUR_ORG/YOUR_REPO - PAT Token: Your GitHub Personal Access Token
- Event Type:
omnara-trigger
- Repository:
From the Omnara dashboard, you can now:
- Click "Launch" or "+" on your configured agent
- Enter a prompt for the AI to execute
- The agent will create a branch, make changes, and optionally create a PR if you ask it to