Send event data to Schematic
The configuration process for this destination mirrors Segment's setup. We've automatically modified the documentation from third-party sources to show you how to set up this destination with PostHog.
Schematic enables you to launch, package, meter, and monitor features with ease, so you can manage it all in one place as your business grows.
PostHog is the easiest way to send events from your application to Schematic. If you already have PostHog up and running in your application, Schematic recommends this approach so you don't have to implement any additional code.
Installation
- From your PostHog web app, navigate to Data pipelines > Destinations.
- Search for Schematic, select the Schematic destination, and click Add destination.
- Select the source that will send data to Schematic, give your destination a name, then click Create destination.
- On the destination's Settings tab, input your Schematic API Key. To generate an API key, navigate to your Schematic workspace settings under Settings > API Keys.
Once you've connected Schematic to PostHog, you can configure how you want to send data to Schematic in the Schematic destination's Mappings tab.
Configuration
Option | Description |
---|---|
API Key Type: string Required: True | Found on your settings page. |
Debug Mode Type: boolean Required: False | Will log configuration and request details |
Using our REST API you can create this destination like so:
# Create a new destinationcurl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \--data '{"type": "destination","name": "Schematic","inputs": {"apiKey": {"value": ""}},"enabled": true,"template_id": "segment-actions-schematic"}'
FAQ
Is the source code for this destination available?
Yes. The source code is available on GitHub.
Who maintains this?
This is maintained by Segment. If you have issues with it not functioning as intended, please let us know!
What if I have feedback on this destination?
We love feature requests and feedback. Please tell us what you think.
What if my question isn't answered above?
We love answering questions. Ask us anything via our community forum.
Parts of this page are sourced from segmentio/segment-docs under the Creative Commons Attribution 4.0 International License. The content may have been modified according to this code.