Create a product
- Web UI
- CLI
1
Open your organization
Open the organization’s Products page.
2
Create the product
Click New product. Enter a Name, choose the device extensions, and click Create Product.In an organization with no products, the page shows a Create your first product form instead. Enter the Product name and click Create product. Every device extension starts on.
Set the default organization and product for the CLI
Mostnh commands need an organization and a product. Save them once:
NERVES_HUB_ORG and NERVES_HUB_PRODUCT, or pass --org and --product on a command. A flag overrides an environment variable, which overrides the saved setting. See CLI configuration.
Product settings
Open Product settings in the product sidebar. It has three tabs: General, Device health and API keys. The General tab holds:
Health profiles are on the Device health tab. See Health monitoring. Product API keys are on the API keys tab. See CI/CD.
Product API keys are on the main branch and are not in a tagged release as of NervesHub 2.5.4.
nh product update. Only the flags you pass are sent:
Device extensions
An extension must be on for the product before any of its devices can use it. Each device also has its own setting per extension, which is on by default. Turning an extension off for the product turns it off on every device.
The device firmware must also include the extension. See Extensions overview.
What is not a product setting
Firmware signing keys and certificate authorities belong to the organization, not the product. Find them on the organization’s Signing keys and Certificates pages. See Firmware signing and Device certificates.Delete a product
In the web UI, open Product settings and click Delete product. The button is only enabled when the product has no devices. You confirm by typing the product name. The product’s firmware, archives, deployment groups, support scripts and settings go with it.--yes to skip the prompt.

