Note: Estimated time: 5-10 minutes. You will need Tailscale Owner or Admin access and access to the Clarion workspace where you want to connect Tailscale.
Prerequisites
- A Tailscale account with Owner or Admin role
- Access to the Clarion workspace where you want to configure the integration
Add a Tailscale monitor in Clarion
The Tailscale webhook is configured as a monitor, so each one has its own URL and signing secret.- Open Clarion and go to Integrations → Tailscale.
- In the Monitors section, click Add monitor and choose Tailscale.
- Copy the generated Webhook URL and Secret shown on the monitor. You will paste these into Tailscale in the next step.
Configure the webhook in Tailscale
- Sign in to the Tailscale admin console.
- Navigate to Settings → Webhooks.
- Click Add endpoint.
- Paste the Webhook URL from Clarion into the Endpoint URL field.
- Paste the Secret from Clarion into the Secret field.
- Select the event types you want to receive. Clarion handles all Tailscale event types:
- Device events:
nodeNeedsApproval,nodeApproved,nodeKeyExpiringSoon,nodeKeyExpiryDisabled,nodeKeyExpiryEnabled,nodeNotSeen - Policy events:
policyUpdate - User events:
userNeedsApproval,userApproved,userSuspended,userRoleUpdated,userCreated,userDeleted
- Device events:
- Click Save.
- Use Send test event to verify the connection. Clarion will create a test alert to confirm delivery.
Enable agent tools (API access)
Beyond receiving events, you can let Clarion agents act on your tailnet - investigating devices, users, keys, DNS, and ACL policy, and (with approval) running remediation such as deauthorizing a device or suspending a user. This uses a Tailscale OAuth client; the client secret is stored encrypted and is never exposed to agents.- Sign in to the Tailscale admin console.
- Go to Settings → OAuth clients and click Generate OAuth client.
-
Grant the client the scopes for the capabilities you want. The minimal set for the full tool suite is:
devices:core- list/get devices, authorize/deauthorize, expire, set tagsdevices:routes:read- list device subnet routesauth_keys:read- list auth keysusers- list/get users, suspend/restoredns:read- read DNS nameservers, preferences, and search pathspolicy_file:read- read the ACL policy fileaccount_settings:read- read tailnet contacts
:readscopes and omitdevices:coreandusers. - Copy the Client ID and Client secret (the secret is shown only once).
- In Clarion, go to Integrations → Tailscale → API access (agent tools), paste the Client ID and secret, and click Save. Leave Tailnet blank to use the OAuth client’s default tailnet.
Note: The five write actions - authorize/deauthorize a device, set device tags, expire a device, and suspend/restore a user - require explicit human approval before an agent can run them. You can review and adjust approval requirements per tool under Settings → Tools.