Linking Sentry as a source
The Sentry connector can link data from your Sentry organization into PostHog.
Creating a Sentry Auth Token
Sentry supports several authentication methods, but for PostHog you should use an Auth Token.
- In Sentry, create a token from your account settings (for internal integrations or personal tokens).
- Give the token read access for the resources you want to sync.
- Copy the token and paste it into PostHog when linking your source.
For token setup details, see Sentry's Authentication docs.
Once the syncs are complete, you can start using Sentry data in PostHog.
To link Sentry:
- Go to the Data pipeline sources page in PostHog.
- Click + New source and then click Link next to Sentry.
- In Sentry, create an Auth Token and copy it. PostHog currently supports Auth Tokens only.
- In PostHog, enter your Sentry Organization slug and Auth Token.
- Click Next, choose the tables you want to sync, and then click Import.
Available datasets and endpoints
The Sentry source currently supports syncing the following datasets and API endpoints:
| Dataset | Endpoint path |
|---|---|
projects | /organizations/{organization_slug}/projects/ |
teams | /organizations/{organization_slug}/teams/ |
members | /organizations/{organization_slug}/members/ |
releases | /organizations/{organization_slug}/releases/ |
environments | /organizations/{organization_slug}/environments/ |
monitors | /organizations/{organization_slug}/monitors/ |
issues | /organizations/{organization_slug}/issues/ |
project_events | /projects/{organization_slug}/{project_slug}/events/ |
project_users | /projects/{organization_slug}/{project_slug}/users/ |
project_client_keys | /projects/{organization_slug}/{project_slug}/keys/ |
project_service_hooks | /projects/{organization_slug}/{project_slug}/hooks/ |
issue_events | /issues/{issue_id}/events/ |
issue_hashes | /issues/{issue_id}/hashes/ |
issue_tag_values | /issues/{issue_id}/tags/{key}/values/ |