Creating a Product
You can create a product from the NervesCloud web UI or with thenh CLI.
NervesCloud UI:
- Sign in at manage.nervescloud.com.
- Select your organization from the top navigation.
- Click Products in the left sidebar, then click New Product.
- Enter a product name and click Create.
Setting the Default Product
Mostnh subcommands accept --product to specify which product to operate on. Setting the NERVES_HUB_PRODUCT environment variable saves you from typing it repeatedly:
NERVES_HUB_ORG to avoid passing --org on every command:
nh commands use the correct context automatically.
Product Settings
Navigate to Products → my-product → Settings in the NervesCloud UI to manage:- Firmware Signing Keys — public keys used to verify firmware signatures before a device applies an update. Add as many keys as needed to support key rotation. Devices reject firmware that is not signed by a trusted key.
- Shared Secret Credentials — the
product_keyandproduct_secretpair used by devices configured with Shared Secret authentication. These values are shown once when generated; copy them into your firmware configuration or CI/CD secrets store. - Extensions — the optional device capabilities this product may use. Each one is off by default and must be enabled here before devices will send or accept its messages.
Extensions
You can register multiple signing keys per product. This allows you to rotate keys without invalidating firmware already on devices — keep the old key active until all devices have migrated to firmware signed with the new key, then remove the old key.

