All the features of the Nuon platform are exposed via a REST API, allowing for fully programmatic operation. We also maintain a Golang SDK, which we use ourselves for the Dashboard and CLI. This guide walks through how to implement a complete install lifecycle using the API so your customers can manage their installs directly from your own product.Documentation Index
Fetch the complete documentation index at: https://docs.nuon.co/llms.txt
Use this file to discover all available pages before exploring further.
Provision an Install
At a high-level, provisioning a new install consists of 3 steps:- Creating the install in the Nuon control plane.
- Installing the runner in the customer’s cloud account.
- Approving the provision of the app components into the customer’s cloud account.
Create an Install
Install the Runner
Installing the runner happens out of band, entirely on the customer’s side. You just need to provide them with directions. We provide these for each install as part of the provision workflow. Once the runner is installed, it will phone home automatically.Approve the Provision
Once the runner is installed, it will be ready to provision the sandbox and app components. The platform supports approving each step individually or approving all steps at once. Typically, the customer will want to approve resources being created in their account, so we recommend exposing this to them — mapping a single “Approve” button in your UI to “Approve All” keeps the experience simple.The
workflowID is returned when creating the install. You will need to store this to approve the provision workflow.Maintain an Install
Even though the goal of using Nuon it to provide a SaaS-like experience, where you can maintain the install for your customer, there are still a few things they will need to be able to do themselves. Common use cases are:- Accepting a new version of the app
- Allowing you to break glass to triage an issue
- Updating an input value that was incorrect
- Updating a secret that was incorrect
- Inspecting audit trails for compliance reasons
Update Inputs
Update Secrets
Delete an Install
Uninstalling an app requires performing the same operations as a provision, but in reverse.- Deprovision the app resources from your customer’s cloud account.
- Uninstall the runner.
- Delete the install from the control plane.