The exchange server is configured and ready.
+
+ POST /exchange_github_app_token with an OIDC Bearer token to get an installation token.
+
No GitHub App is configured yet. Click the button below to create one on your GHES instance.
+This will redirect you to ${escapeHtml(ghesHost)} to authorize the app creation.
+ ++ After creation, you will be redirected back here with the app credentials. +
+The app has been created and the exchange server is now configured in-memory.
+To survive pod restarts, store the credentials as K8s resources:
+
+# Update ConfigMap with the App ID
+oc patch configmap ghes-exchange-config -n arc-runners \\
+ --type merge -p '{"data":{"GHES_APP_ID":"${result.id}"}}'
+
+# Create or update the secret with the private key
+oc create secret generic opencode-ghes-secrets -n arc-runners \\
+ --from-literal=github-app-private-key="$(cat <pem-file>)" \\
+ --dry-run=client -o yaml | oc apply -f -
+
+# Restart the deployment to pick up changes
+oc rollout restart deployment/ghes-exchange -n arc-runners
+
+ + Important: Save the private key now. It cannot be retrieved from GitHub again. +
++ View app on GHES + | + Back to status page +
+An error occurred during GitHub App creation.
+Redirecting to ${ghesUrl}...
+You can close this window and return to the terminal.
+An error occurred.
+