Extensions
Build an app that organisations install inside Agoo, with exactly the access they agree to, its own screens on tasks, projects, invoices and contacts, and signed events.
This is a published preview. Names and fields may still change before general availability; changes will be listed in the changelog.
An extension is your app working inside other organisations' Agoo. An Owner or Admin finds it in Extensions, reads exactly what it asks for, and installs it. From then on it reads and writes through the public API within the scopes they agreed to, hears the events it subscribed to, and can show its own screens in the Console.
Your code always runs on your own servers. Agoo never runs anything you send: no plugins, no scripts, no templates and no SQL.
How it fits together
| Part | What it is |
|---|---|
| The manifest | What your extension declares: what it reads and does (scopes), its hosts, its webhook, its screens, its costs and who supports it. |
| Extension points | Where its screens can appear: a panel on a task, project, invoice or contact, and a page of its own. |
| Messages | How your screen talks to the Console through postMessage: getting its context, resizing, opening a record. |
| Tokens | The install token your server uses with the API, the install secret, and the context token your screen receives. |
| Review | Agoo reviews every version before anyone can install it, and again when a version asks for more. |
| Security model | What stops an extension reaching more than it was given, and what happens when it is stopped. |
Who can do what
- Publishing needs an organisation on Pro or Enterprise. An Owner or Admin registers the extension in Developers → Extensions on a confidential app from Developers → Apps, writes each version's manifest, and sends it for review.
- Installing needs Pro or Enterprise too. An Owner or Admin installs it (or someone an Owner has given the permission to), and can only give it what they hold themselves.
- Stopping is open to the organisation at any time: Pause or Remove in Settings → Extensions stops it at once.
Your first extension
Register a confidential app
In Developers → Apps, register an app used for nothing else, and keep its client secret in your secret store. The extension gets its tokens with it.
Register the extension and write version 1.0.0
In Developers → Extensions, register the extension on that app, then write its manifest. Saving checks every field and says what to change.
Install it in your own organisation
Keep it Private while you build it. Once Agoo approves the version, only your own organisation can install it, so you can try it end to end.
Collect your install secret, then get a token
Call POST /extension/token with your client credentials and the install ID, then POST /v1/extension/install/secret once. See Tokens.
Make it public
Choose Make Public. It appears in every Pro and Enterprise organisation's directory once its version is approved.
Costs are yours
Your manifest says whether the extension is free, paid, or free with paid parts, and what it costs. Organisations see it before they agree. You bill your customers yourself; Agoo never charges for an extension.