Stitch Documentation
has moved!

Please update your bookmarks to https://www.stitchdata.com/docs

If you're not automatically redirected after 5 seconds, click here.

Connecting Particle.io

Heads Up!

Connecting Particle.io to Stitch is a three-step process:

  1. Add Particle.io as a Stitch data source
  2. Generate a Webhook URL
  3. Set up webhooks in Particle.io

Particle.io Webhook Limits

Before you dive into connecting Particle.io to Stitch, take note of the following:

  1. Particle.io allows a user to create up to 20 webhooks.
  2. A Particle.io webhook may be triggered up to 10 times per minute for every device registered to that user’s account.

Adding Particle.io as a Stitch Data Source

  1. On the Stitch Dashboard page, click the Add an Integration button.
  2. Click the Particle.io icon.
  3. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your data warehouse.

    For example, the name “Stitch Particle.io" would create a schema called stitch_delighted in the data warehouse. This schema is where all the tables for this integration will be stored.

  4. Click Save Integration.

Generating a Particle.io Webhook URL

Once Stitch has successfully saved and created the integration, you’ll be redirected to a page that displays your webhook URL and token (which is blurred in the image below):

Stitch Webhook URL

Click the Copy button to copy it.

Note that this particular URL won’t display in Stitch again once you click Continue. Think of this URL like you would your login or API credentials - keep it secret, keep it safe. You can, however, generate another URL should you need it.

Once you’ve copied your webhook URL, click Continue to wrap things up in Stitch.

Setting Up Webhooks in Particle.io

The last step is to setup webhooks in your Particle.io account.

  1. Sign into your Particle.io console.
  2. Click Integrations in the left nav tab.
  3. Click Webhook.
  4. In the Event Name field, enter the name of the event you want to track.
  5. In the URL field, paste your Stitch-generated webhook URL.
  6. The Request Type field should have POST selected - leave this as-is.
  7. In the Device field, select the device you want to trigger the webhook:

  8. When finished, click Create Webhook.

Particle.io Data & Replication

After the setup for Particle.io is complete, your webhook data will be continuously replicated through Stitch. To learn more about how Stitch replicates Particle.io webhook data and our recommended strategy for querying, check out the Expected Particle.io Data article.

Related

Was this article helpful?
0 out of 0 found this helpful

Comments

Questions or suggestions? If something in our documentation is unclear, let us know in the comments!