Skip to main content
Reaudit - AI Search Optimization Platform
Services
Agencies
AI Rankings
Pricing
Contact
Log in

Footer

ChatGPT, Gemini, Perplexity
Track every major AI engine
Daily Ranking Refreshes
Catch shifts the moment they happen
180 MCP Tools
Built for AI agents & automation
Reaudit
Enterprise GEO Intelligence Platform

Advanced AI-powered GEO auditing and competitive intelligence for enterprise businesses. Dominate search rankings with data-driven insights.

[email protected]
+30 697 330 5186
4 Adelfon Giannidi, Moschato, Attica, Greece

Product

  • Optimization Station
  • AI Visibility
  • Content Factory
  • Reporting & Analytics
  • GTM Strategy
  • Reaudit MCP
  • AI AgentNEW

Company

  • About Us
  • Services
  • Pricing
  • Brand Guidelines
  • Contact

Resources

  • Documentation
  • MCP Server (180 tools)
  • AI Agent & Skills
  • Help Center
  • Blog
  • AEO/GEO Glossary
  • Case Studies
  • Reality Check
  • Webinars
  • AI Rankings
  • Free Tools

Compare

  • Reaudit vs Profound
  • Reaudit vs Otterly
  • Reaudit vs Peec AI
  • Reaudit vs AirOps
  • Reaudit vs Athena HQ
  • All comparisons

Legal

  • Trust Center
  • Privacy Policy
  • Terms of Service
  • Security
  • Compliance
  • Cookie Policy

Newsletter

Stay up to date with the latest AI SEO and GEO trends.

Get updates on AI SEO, GEO insights, and new features. Unsubscribe anytime.

© 2026 Reaudit, Inc. All rights reserved.

Status unavailable—
OverviewWhat's NewGetting StartedTools ReferenceAI Agent IntegrationUse CasesFAQ
Analytics QuerySmart Filters
React / Next.jsWordPressSite TrackingSocial MediaStripeGoogle Analytics 4

GitHub App Setup

Register the Reaudit GitHub App and wire its credentials into a Reaudit instance.

Hosted Reaudit users do not need this page. If you are using reaudit.io, the GitHub App is already configured. Just go to Tools → GitHuband click Connect. This guide is for self-hosted instances and for our own operations team.

Who This Is For

  • Self-hosted Reaudit instances that need to register their own GitHub App.
  • Reaudit operations registering a fresh app for staging or for a regional deployment.

Register the App

Go to github.com/settings/apps/new (or your organization's equivalent under Settings → Developer settings → GitHub Apps) and fill out the form as follows:

FieldValue
GitHub App nameReaudit Digital Marketing Fixer (must be globally unique)
DescriptionA short pitch of what the app does. Markdown is supported.
Homepage URLhttps://your-reaudit-host
Callback URLLeave empty. The user-OAuth flow is not used.
Setup URL (optional)https://your-reaudit-host/api/integrations/github/callback
Redirect on updateUnchecked.
Webhook → ActiveChecked.
Webhook URLhttps://your-reaudit-host/api/integrations/github/webhook
Webhook secretRun openssl rand -hex 32 and paste the value. Store the same string as GITHUB_APP_WEBHOOK_SECRET.
Where can this GitHub App be installed?Any account.
For local development, replace the Webhook URL with a smee.io tunnel: npx smee -u https://smee.io/<channel> -t http://localhost:3000/api/integrations/github/webhook

Permissions and Events

Repository permissions (everything else stays at No access):

  • Contents: Read and write
  • Metadata: Read-only (auto-selected, cannot disable)
  • Pull requests: Read and write

Subscribe to events:

  • Pull request
installation and installation_repositories events are sent to every GitHub App automatically and do not appear in the subscribe list.

Generate Secrets

After clicking Create GitHub App, you land on the app's settings page. Collect these values:

  1. App ID at the top of the page.
  2. Client ID just below the App ID.
  3. Generate a new client secret in the Client secrets section. It is shown only once.
  4. Scroll to Private keys and click Generate a private key. A .pem file downloads.
Treat the .pem like a password. Move it into your secret store immediately and delete the local copy. Anyone with this key can act as the app.

Wire Up Env Vars

Reaudit reads these six environment variables. Add them to your .env for local dev and to your secret store for staging or prod:

GITHUB_APP_ID=...
GITHUB_APP_SLUG=reaudit-digital-marketing-fixer
GITHUB_APP_CLIENT_ID=Iv23li...
GITHUB_APP_CLIENT_SECRET=...
GITHUB_APP_WEBHOOK_SECRET=...
GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----\n"

To convert the downloaded .pem into the single-line form Node needs, run:

awk 'BEGIN{ORS="\\n"} {print}' ~/Downloads/reaudit-*.private-key.pem

Wrap the output in double quotes and assign it to GITHUB_APP_PRIVATE_KEY.

The GITHUB_APP_SLUG must exactly match the slug GitHub assigned to your app (visible in the URL of the app settings page). Reaudit uses it to build the install link.

Verify

  1. Restart your Reaudit server so it picks up the new env vars.
  2. Sign in to Reaudit, pick a project, and go to Tools → GitHub. The card should no longer show the “App is not configured” warning.
  3. Click Connect on GitHub. You will be redirected to install the app on a repo.
  4. After install, you should land back on Reaudit and see the connected repo on the GitHub card.
  5. Run an audit, then click Fix in GitHub on any recommendation that has the button enabled. A pull request should appear in your repo within a few seconds.

Rotating Secrets

You can rotate any of the secrets without code changes. From the GitHub App settings page:

  • Client secret: Generate a new client secret, update GITHUB_APP_CLIENT_SECRET, redeploy.
  • Webhook secret: Change secret, update GITHUB_APP_WEBHOOK_SECRET, redeploy.
  • Private key: generate a new one and update GITHUB_APP_PRIVATE_KEY. GitHub allows multiple active keys so you can roll without downtime.
The App ID, Client ID, and slug are stable for the lifetime of the app and never need to be rotated.
Was this page helpful?

On this page

Who This Is ForRegister the AppPermissions and EventsGenerate SecretsWire Up Env VarsVerifyRotating Secrets