Before you start
1
Create a deploy key
Interactive
ultra login is not available in a cloud environment, so the deploy key is how each environment authenticates. In Ultra Hub, go to Settings > Security and create a workspace-scoped key in the Deploy Keys section. See Deploy keys.2
Store it as a secret
Add the key as
ULTRA_DEPLOY_KEY in your provider’s environment variables or secrets. In Ona, use your organization’s environment variables.To attribute activity to a person, also set ULTRA_DEVICE_EMAIL to their work email. It must match a member of your organization. See Identity resolution.Set up Ona
Add a.devcontainer/devcontainer.json to your repository:
devcontainer.json, append the Ultra commands to your existing hooks. To authenticate install.sh before it runs, use the verified install flow.
Rebuild your Ona environments. Each one links to Ultra Hub as a device, with no per-user sign-in.
Other environments
The same steps work in any Linux environment that runs a setup hook when it is built. Install Ultra with the install script, make the deploy key available to Ultra throughULTRA_DEPLOY_KEY or ultra config set deploy-key <key>, run ultra install --agent <agent> --yes for the agent in that environment, then run ultra migrate --from <agent> --all --yes to move its existing connectors behind Ultra. See Configure agents for the supported agents.
Verification
After rebuilding, run diagnostics inside the environment:Troubleshooting
ultra install warns 'Ona was not detected on this machine'
ultra install warns 'Ona was not detected on this machine'
Ona’s devcontainer hooks can run before Ona identifies the environment, so this warning can appear inside an Ona environment. It is a warning, not a failure: an explicit
ultra install --agent ona continues and configures the repository. Run it from inside the repository you want configured.The agent still calls connectors directly
The agent still calls connectors directly
Ona’s agent reads its MCP config at the start of each execution. Start a new conversation after the devcontainer hooks finish. To pull in connectors added to
.ona/mcp-config.json without a rebuild, run ultra migrate --from ona --all --yes.Activity visible locally but not in the Hub
Activity visible locally but not in the Hub
Run
ultra doctor inside the environment: it reports link status and identity resolution. If the deploy key isn’t picked up, confirm ULTRA_DEPLOY_KEY is set in the environment.