Particle

Particle

Beta
Beta release

This source is currently in beta. It works end to end, but you may still hit rough edges. Let us know if you do.

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Particle to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Connect your Particle devices. PostHog creates the Particle webhooks for you, and every Particle.publish() that matches your event name prefixes arrives as a PostHog event on that device, ready for insights, dashboards and alerts.

For product devices, use an API user token. In the Particle console, open your product → Team → Add API user, and give it these scopes:

  • devices:list to sync your device list
  • integrations:list, integrations:create and integrations:remove so PostHog can manage its webhooks

For sandbox devices, Particle has no API users, so use a personal access token for your account (particle token create --never-expires in the Particle CLI) and leave Product ID empty.

Configuration

OptionDescription
Access token
Type: password
Required: True
Product ID
Type: text
Required: False
Event name prefixes
Type: text
Required: True

Comma-separated. Particle matches event names by prefix, so env/ receives env/temp and env/humidity.

Linking Particle to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Particle
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
devices

A Particle device: the user's own sandbox devices, or every device in the configured product.

Full refresh——
events

An event a device published with Particle.publish(), delivered to PostHog by a Particle webhook.

Webhook only——