First customer activation
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.
1. Install the sample and prepare inputs
Section titled “1. Install the sample and prepare inputs”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
2. Open customer approval
Section titled “2. Open customer approval”node main.mjs activation-startOpen 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.
3. Receive the approval result
Section titled “3. Receive the approval result”node main.mjs activation-pollBefore 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.
4. Verify the actual feature
Section titled “4. Verify the actual feature”node main.mjs activation-statusnode main.mjs activation-export output.csvThe 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,valuedemo-a,21.5demo-b,24.0When the app cannot connect
Section titled “When the app cannot connect”node main.mjs activation-request request.signoxCarry request.signox to a connected computer and import it at customer portal /activate. Approve there, save activation.signox, and carry it back:
node main.mjs activation-apply activation.signoxThis 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