Setup options
Use guided setup when possible. Clarion will create or update the Pub/Sub topic, log sink, push subscription, OIDC signer, and IAM grants for the selected project. Use manual setup when you need to provision GCP resources yourself. Clarion will show the monitor webhook URL and ask you to save the Pub/Sub subscription resource plus the OIDC service account metadata.Runtime credentials
Before agent tools can investigate GCP alerts, configure runtime credentials on the GCP integration page. These credentials authenticate Clarion’s outbound GCP API calls. The runtime credential project is separate from the monitored project. Add a GCP Cloud Logging monitor for each project you want to ingest, then grant the runtime service account the required roles in that target project. Guided setup uses Keyless via Workload Identity Federation by default when Clarion’s central GCP bridge is configured. This creates or reuses theclarion-agent service account and grants Clarion’s central bridge service account permission to impersonate it, storing only non-secret metadata (no private key). Use JSON service account key mode only for local development or fallback.
Guided setup
- Go to Integrations > GCP.
- Connect runtime credentials if they are not already configured. Guided setup will prefer keyless WIF on Vercel.
- Add a GCP Cloud Logging monitor.
- Choose Run guided setup.
- Select the GCP project to monitor.
- Approve the setup steps and save the monitor.
Manual setup
- Create or open a GCP Cloud Logging monitor in Clarion.
- Copy the monitor webhook URL.
- In Google Cloud, route Cloud Logging entries to a Pub/Sub topic with a log sink.
- Grant the log sink writer identity
roles/pubsub.publisheron the topic. - Create a Pub/Sub push subscription that targets the monitor webhook URL.
- Enable OIDC authentication on the push subscription.
- Save these values on the monitor:
- GCP project ID
- Pub/Sub subscription resource
- OIDC service account email
- OIDC client ID, if configured