Quickstart

From an empty Project to an active device. You need a Linux machine, a bootstrap certificate from your CA, the trust root pin of Hop and owner access to a Hop Workspace.

Walkthrough⁠

  1. Create a Project⁠

    In Hop, open your Workspace and create a Project, for example Edge Lab.

  2. Trust your device CA⁠

    Get the CA certificate from the authority that issues your bootstrap certificates. For a first test, follow Create a test bootstrap certificate to create ca.pem, bootstrap.pem and bootstrap.key, then return here.

    In the Project, open Enrollment policies, create a policy and add the CA certificate (PEM or DER). If you used the test recipe, upload ca.pem. Keep the policy active.

  3. Install Hoplet on the device⁠

    sudo apt install ./hoplet_<version>_linux_arm64.deb

    Check Hoplet releases for all available versions and architectures. See Install Hoplet for the commands for your Linux distribution.

  4. Install the bootstrap certificate⁠

    Copy the bootstrap certificate and its private key to the device, then install them:

    sudo install -m 0644 bootstrap.pem /etc/hop/hoplet/bootstrap.pem
    sudo install -m 0600 bootstrap.key /etc/hop/hoplet/bootstrap.key
  5. Point it at Hop⁠

    Open /etc/hop/hoplet/config.yaml and set the server address and the trust root pin:

    /etc/hop/hoplet/config.yaml
    server:
      url: https://devices-hop.unbrikd.com
    trust:
      root_pin: your_trust_root_pin

    Replace the placeholder with the pin from Get the trust root pin. Hoplet uses the pin to authenticate Hop before it enrolls. Then check the configuration:

    sudo hoplet config check
  6. Start it⁠

    sudo systemctl enable --now hoplet
    sudo hoplet status

    Within seconds hoplet status shows the state enrolled and a clientId. The device appears as active in the Devices tab of the Project, with its vendor, model and serial number.