Runtime Configuration

GitHub Configuration

Configure Zeeq to with permissions to interact with applications in GitHub.

Summary

Two components need to be configured in GitHub:

  1. The GitHub App which allows Zeeq to access private repositories
  2. The GitHub OAuth App which allows users to log in with Zeeq and verify their GH identities (if they created their accounts using other auth providers)
Setup is similar for a dev-instance of the app; replace the https://app.zeeq.ai base with your proxy to your local dev instance (ngrok, devtunnels, etc.)

GitHub App configuration

The GitHub app is required to allow the Zeeq backend to:

  • Receive webhooks
  • Make API calls to GitHub (read and update PRs, manage check runs, etc.)
  • Access private repositories to sync documentation content
SettingExample Value
Post installation / Setup URLhttps://app.zeeq.ai/api/v1/integrations/github/install/callback
Post installation / Redirect. on update
Webhook / Active
Webhook / Webhook URLhttps://app.zeeq.ai/api/v1/integrations/github/webhook
Webhook / Secret(Choose a strong secret)

Permissions required:

PermissionsConfigurationPurpose
ChecksRead and writeCreate PR merge checks for Zeeq
ContentsRead-onlyRead documentation sources from your repositories
IssuesRead and writeRead and write issues
Pull requestsRead and writeRead comments and write comments to pull requests

Events required:

  • Installation target
  • Meta
  • Check suite
  • Issues
  • Issue comment
  • Label
  • Pull request
  • Pull request review
  • Pull request review comment
  • Pull request review thread
  • Workflow job
  • Workflow run

After creating the app, note:

ArtifactPurpose
App IDNeeded for configuration of the runtime to create tokens for API calls
ClientIdSame as above
SlugThe last segment of the public link; required for the token creation process.
Private keyGenerate a private key which is needed for the token creation process.

GitHub OAuth App configuration

The OAuth app is used to support user login using GitHub credentials.

SettingExample Value
Client IDGitHub generated client ID
Client SecretGitHub generated client secret
Application NameZeeq AI
Authorization callback URLhttps://app.zeeq.ai/auth/callback/github