Plugins are currently available to selected partners only. If you want to build one, talk to your Entire contact first.The plugin system and the SDK package are in early access. Install, receipts, repository lists, access tokens and check runs work in production today. Webhooks, trail comments, deployments and repository creation are rolling out, and their contracts may change. Field names in this guide are stable unless marked otherwise.
Steps
- Register your plugin with Entire.
- Send customers through the install flow and verify the receipt.
- Act for an installation: list its repositories, mint access tokens and, if you need to, create repositories.
- Sign users in with OAuth, if you need to know which installations and repositories a user can use.
- Build it with the Go SDK, and receive webhooks when installations or refs change, and trail events when trails change.
- Comment on trails to report your results where people review the change.
Concepts
Security checklist
- Keep the private key in a secret store or KMS, never in source control or images.
- Tie every install state to the browser session that started it, and verify every receipt fully before you store anything.
- Request the narrowest token that does the job: one repository, fewest permissions.
- Never log tokens, JWTs or receipts.
- Treat a 404 for an installation or repository as revoked access, and stop.
- Keep tokens out of URLs, command lines and files a build can read.