1
0
mirror of synced 2026-01-13 09:03:08 -05:00
Files
airbyte/docs/integrations/sources/posthog.md
midavadim f7fc223bca 🎉 Source Posthog - migration to low code, from alpha to beta (#18993)
* added projects stream, added slicing for all streams (based on projects), annotations stream does not support incremental syncs anymore (due to API)

* added schema for projects streams

* source switched to low code

* added low coe yaml file

* added customized components

* code cleanup

* fix SAT

* added insights stream

* fix schema

* fix catalog

* fix yaml

* added schema

* added test

* updated SAT

* updated docs, bumped version

* update docs

* for events stream: added CartesianProductStreamSlicer, added paginator

* added custom slicer

* updated SAT

* fixed formatting

* added unit tests

* updated page_size

* fixed unit tests

* removed obsolete streams.py file

* updated seed file

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-12-16 21:18:39 +02:00

3.9 KiB

PostHog

This page contains the setup guide and reference information for the PostHog source connector.

Prerequisites

  • api_key - obtain Private API Key for your account following these steps
  • base_url - 'https://app.posthog.com' by default, but it can be different if self-hosted posthog instances is used

Setup guide

Step 1: Set up PostHog

  • PostHog Account

Step 2: Set up the PostHog connector in Airbyte

For Airbyte Cloud:

  1. Log into your Airbyte Cloud account.
  2. In the left navigation bar, click Sources. In the top-right corner, click +new source.
  3. On the Set up the source page, enter the name for the PostHog connector and select PostHog from the Source type dropdown.
  4. Enter your apikey.
  5. Enter your start_date.
  6. Change default base_url if self-hosted posthog instances is used
  7. Click Set up source.

For Airbyte OSS:

  1. Navigate to the Airbyte Open Source dashboard.
  2. Set the name for your source.
  3. Enter your api_key.
  4. Enter your start_date.
  5. Change default base_url if self-hosted posthog instances is used
  6. Click Set up source.

Supported streams and sync modes

Performance considerations

The PostHog API doesn't have any known request limitation. Please create an issue if you see any rate limit issues that are not automatically retried successfully.

Changelog

Version Date Pull Request Subject
0.1.8 2022-11-11 18993 connector migrated to low-code, added projects,insights streams, added project based slicing for all other streams
0.1.7 2022-07-26 14585 Add missing 'properties' field to event attributes
0.1.6 2022-01-20 8617 Update connector fields title/description
0.1.5 2021-12-24 9082 Remove obsolete session_events and insights streams
0.1.4 2021-09-14 6058 Support self-hosted posthog instances
0.1.3 2021-07-20 4001 Incremental streams read only relevant pages
0.1.2 2021-07-15 4692 Use account information for checking the connection
0.1.1 2021-07-05 4539 Add AIRBYTE_ENTRYPOINT env variable for kubernetes support
0.1.0 2021-06-08 3768 Initial Release