Skip to content

First customer activation

Open Markdown

Use the Node sample to complete your first customer activation and write a real CSV file. If your app uses another language, follow its sample with the same sequence.

Java · C# · Python

Download and extract the Node sample. Run npm install in the extracted directory. Follow the installation guide to obtain the product UUID, public key, API URL and customer-owned license.

Download and configure the Node sample · Prepare test inputs

Terminal window
node main.mjs activation-start

Open the returned portalUrl in the system browser. Confirm the app name and device name, sign in as the customer, select a license and approve the confirmation dialog. The app does not collect the customer password.

Terminal window
node main.mjs activation-poll

Before approval, the result is pending. After approval, the SDK receives and applies the signed response. A successful application has status=applied and a valid result. If the status is application_failed, inspect the error and fix the application step.

Terminal window
node main.mjs activation-status
node main.mjs activation-export output.csv

The license must be valid and demo_export must be true. Success creates output.csv with the sample rows below. With a valid license lacking the feature, export exits 3 and creates no new file.

sensor,value
demo-a,21.5
demo-b,24.0
Terminal window
node main.mjs activation-request request.signox

Carry request.signox to a connected computer and import it at customer portal /activate. Approve there, save activation.signox, and carry it back:

Terminal window
node main.mjs activation-apply activation.signox

This requires supported, enrolled device protection. Network grace only covers an installation that already received valid rights; it cannot replace first activation.

Continue with failure and replacement tests · Understand recovery