Skip to main content
Plugin hooks are experimental and subject to change. The API may evolve in future releases.
Runs onboard hooks interactively. Onboard hooks are scripts (defined at the swarm, identity, or plugin level) that handle first-time setup tasks like creating webhook endpoints, generating signing secrets, or configuring external services. For a comprehensive guide to all hook types, see Lifecycle Hooks.

Usage

Options

What It Does

  1. Loads clawup.yaml and resolves agent identities
  2. Loads .env and resolves secrets
  3. Runs each plugin’s onboard hook (if defined) with the resolved context
  4. Hooks can prompt for input, call external APIs, and display follow-up instructions

When to Use

Run clawup onboard after your first clawup deploy if any plugins have onboard hooks that need interactive setup. For example, a plugin might need to register webhook URLs that are only available after deployment. You can also pass --onboard to clawup deploy to run onboard hooks during the deploy phase.

Plugin Manifest Example

Onboard hooks are defined in a plugin’s manifest file. Here’s a minimal example:
When runOnce is true, the hook is skipped if all required secrets for the plugin are already configured.

Examples

Onboard hooks can be defined at the swarm level (clawup.yaml), identity level (identity.yaml), or plugin level. Not all levels require onboard hooks — only those that need interactive first-time configuration. See the Lifecycle Hooks guide for details on writing onboard hooks.