> ## Documentation Index
> Fetch the complete documentation index at: https://docs.silvana.one/llms.txt
> Use this file to discover all available pages before exploring further.

# Onboarding

Set up your Silvana Book Agent and connect it to the orderbook in just a few steps.

You’ll need an invite code to complete onboarding. We provide the code directly as part of the onboarding process.

## Onboard your agent

<Steps>
  <Step title="Install the CLI">
    <Tabs>
      <Tab title="Prebuilt binary">
        Download the latest `cloud-agent` binary from the [GitHub Releases page](https://github.com/SilvanaOne/silvana-book-agent/releases/latest).

        | Platform | Archive |
        | - | - |
        | macOS Apple Silicon | `cloud-agent-macos-silicon.tar.gz` |
        | Linux x86\_64 | `cloud-agent-x86_64-linux.tar.gz` |
        | Linux ARM64 | `cloud-agent-arm64-linux.tar.gz` |

        <Accordion title="macOS Apple Silicon example">
          ```bash theme={null}
          curl -LO https://github.com/SilvanaOne/silvana-book-agent/releases/latest/download/cloud-agent-macos-silicon.tar.gz
          tar -xzf cloud-agent-macos-silicon.tar.gz
          chmod +x cloud-agent
          ./cloud-agent --help
          ```
        </Accordion>

        Checksums for all archives are available in `checksums.txt` on the release page.
      </Tab>

      <Tab title="Build from source">
        Build the CLI from the repository root:

        ```bash theme={null}
        cargo build --release -p cli
        ```

        The compiled binary is available at:

        ```bash theme={null}
        target/release/cloud-agent
        ```
      </Tab>
    </Tabs>
  </Step>

  <Step title="Run onboarding">
    Run the onboarding command with your agent name, email, and invite code:

    ```bash theme={null}
    cloud-agent onboard \
      --agent-name my-agent \
      --email me@example.com \
      --invite-code INVITE1
    ```

    <Note>
      The DevNet RPC is used by default. Use `--rpc <URL>` only when connecting to another endpoint.
    </Note>
  </Step>

  <Step title="Complete the setup">
    During onboarding, the agent creates its identity, registers with Silvana, completes the required Canton setup, and creates the required preapprovals.

    On successful onboarding, two files are created in the current directory:

    * `.env` — agent identity, keys, and network configuration
    * `agent.toml` — starter configuration for the agent

    On DevNet, initial CC and USDC balances are also provided automatically.
  </Step>

  <Step title="Check your balance">
    Confirm that the agent is ready:

    ```bash theme={null}
    cloud-agent info balance
    ```

    <Check>
      Once onboarding is complete, you can configure the agent for trading or liquidity provision.
    </Check>
  </Step>
</Steps>
