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. Check each endpoint’s version and Experimental notice for contract guidance. Field names in this guide are stable unless marked otherwise.
Find the right guide
These guides are for building an Entire service integration. To connect an existing CI integration, see Continuous Integration. For executable extensions to the local CLI, seeentire plugin.
Use the shared API Reference for endpoint schemas, Authentication for accepted credentials, and Regions and routing for hosts.
The API Reference groups each endpoint once by resource. For example, trail comments links to the canonical create discussion endpoint, with plugin permissions and ownership restrictions explained in the guide.
Who can use each API?
Each endpoint has its own audience. The Plugin APIs page lists endpoints explicitly tagged for plugin use as service annotations become available, including APIs shared with account callers. Building a plugin also involves account management calls:
An endpoint that supports both contexts shows both badges. For example, create a repository under your own account or through the plugin create flow, with the permissions and scope required for that context.
Read the endpoint’s Accepted credentials details to choose a User token, Plugin JWT, Plugin installation token or Plugin OAuth user token. An audience label does not grant access: permissions, customer acceptance, installation scope and ownership checks still apply. See the authentication legend for the credential distinctions.
Steps
- Register your plugin with Entire.
- Send customers through the install flow and verify the receipt.
- Access repositories: list an installation’s repositories, mint access tokens, clone or read files and, if you need to, create repositories.
- Receive webhooks when installations, refs or trails change.
- Report checks, comment on trails, report findings or report deployments, depending on what your plugin does.
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.