
Tailscale
Connect Tailscale to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Sync your Tailscale devices, users, keys, and configuration audit logs into the PostHog Data warehouse.
An OAuth client is the recommended credential for recurring syncs — API access tokens expire after at most 90 days. Create one in the Tailscale admin console under Settings > OAuth clients, with read scopes for the tables you want to sync (for example devices:core:read, users:read, auth_keys:read, and logs:configuration:read).
Alternatively, generate an API access token under Settings > Keys. Leave the tailnet field blank to use the credential's default tailnet.
Configuration
| Option | Description |
|---|---|
Authentication methodType: select Required: True | |
TailnetType: text Required: False | Your tailnet name, e.g. |
Linking Tailscale to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Tailscale
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import