Onboard Your Device
This tutorial guides you through onboarding an Advantech edge device to the WEDA framework. The process involves registering your organization and device on WEDA Core (the central management service) and provisioning WEDA Node (the client daemon) on your physical edge hardware.
Prerequisites
- Confirm your target edge device meets the system requirements detailed in the Prerequisites & Basics guide.
- Download and import the WEDA Postman Collections: 0-WiseSso, 1-Org&ClientCrend, 2-Provisioning&Activation, and 3-Telemetry.
- Select your active Postman environment and confirm that the required variables (e.g., domain, tenantPath, appPath, login, and password) are filled out.
Workflow Overview
Onboarding is a coordinated sequence of actions between WEDA Core and WEDA Node:
Quick Navigation
- Retrieve Access Token
- Create an Organization
- Retrieve Hardware Metadata
- Register the Device
- Launch WEDA Node & Verify Connection
- Get Device Telemetry Data
1. Retrieve Access Token (WEDA Core)
Before invoking WEDA Core APIs, you must authenticate through the WiseSSO Identity Service to retrieve a Bearer Token.
Postman Collection: 0-WiseSso
Execute the five requests in sequence to establish your identity context. Postman scripts will automatically clear cookies, manage redirects, and extract the accessToken variable.
- External Login 302
- Method: GET
- URL:
{{domain}}/{{tenantPath}}/portal/external-login?returnUrl={{domain}}/{{tenantPath}}/{{appPath}} - Description: Initializes the identity federation redirect flow and parses the query parameters to set
client_id,tenantId, andredirect_urienvironment variables. - Result: WEDA Cloud returns
302.
- Account Login
- This step submits your account credentials to authenticate the user with the identity service.
- Expected result: WEDA Cloud returns
200, accepts the login, and updates the authenticated session context.
- External Login 200
- This call completes the tenant-aware login return flow and confirms the correct tenant context.
- Expected result: WEDA Cloud returns
200with the expected tenant context.
- Signin Oidc
- This step uses the authenticated session cookie to perform OIDC (OpenID Connect) sign-in and obtain exchangeable identity tokens.
- Expected result: WEDA Cloud returns
302and redirects with the OIDC exchange context.
- This final request exchanges the OIDC result for the WEDA access token used by subsequent API requests.
- Expected result: WEDA Cloud returns
201with a valid WEDA access token for subsequent API calls.
2. Create an Organization (WEDA Core)
Organizations isolate devices, telemetry rules, and containers within a tenant on WEDA Core.
Postman Collection: 1-Org & ClientCrend
Execute the following requests to establish your organization space. This collection automatically injects the {{accessToken}} Bearer token into all requests.
- Org Create: Create a new organization with a unique name.
- Method: POST
- URL:
{{apibaseurl}}/orgs - Payload:
{
"name": "someOrgName"
}
- Description: Creates a unique organization associated with your login account. On success (HTTP 201 Created), Postman extracts the ID and saves it to your environment as
org_id.
If the organization name already exists, WEDA Cloud returns 409.

Example Request: Curl
curl --location --request POST 'https://{domain}/{tenantPath}/{appPath}/api/v1/orgs' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {access-token}' \
--data '{
"name": "new_org"
}'
Example Response
{
"name": "new_org",
"orgId": "26ba6f6e-8454-4778-a69a-100d852fdc71",
"parentOrgId": null,
"description": null,
"admins": [
{
"userId": "019ea502-04c5-7382-b4df-fb31a00fb002",
"orgRole": "admin",
"name": "Alvin Wang"
}
],
"dateCreated": "2026-06-09T09:46:19.3412009Z",
"dateModified": null
}
Key parameters:
orgId: The organization ID returned after creating the organization. You will use it again in the device creation step.- Example: In the response above,
26ba6f6e-8454-4778-a69a-100d852fdc71is theorgId.
- Example: In the response above,
Other APIs in the 1-Org & ClientCrend collection:
- Org List: Get the list of organizations.
- Org Delete: Delete an organization by its ID.
- Client-Cred Create: Create a new client credential.
- Client-Cred List: Get the list of client credentials.
- Client-Cred Delete: Delete a client credential by its ID.
- Connect Token: Exchange
clientIdandclientSecretfor a client access token (grant_type=client_credentials), typically used for service-to-service API access.
Note: The client credential is an API key required for service integrations. For example, requesting data from WEDA Core as a data source for Grafana visualizatons.
3. Retrieve Hardware Metadata (WEDA Node)
To register your edge device, WEDA Core requires its unique MAC address and hardware profile name.
- Access your physical edge hardware.
- Follow the steps in WEDA Node Activator to download and setup the Activator.
- Launch the WEDA Node Activator utility, a shortcut is created on your desktop after setup.
- Copy the metadata details from the Activator GUI (see below):
- Device (deviceId): The device's primary MAC address formatted as a lowercase, continuous string with no colons or hyphens (e.g.
cc827f50f406). - Model (hwModel): The local system model name retrieved from
/etc/board(e.g.,MIC-710orUNO-2484v2).
- Save these values directly to your Postman environment under the variables
deviceIdandhwModel.
deviceId: Find this value in the Device field.hwModel: Find this value in the Model field.
4. Register the Device (WEDA Core)
Bind your physical hardware credentials to your WEDA Core organization.
Postman Collection: 2-Provisioning&Activation
- Node Register: Create a new device under the organization.
- Method: POST
- URL:
{{apibaseurl}}/orgs/{{org_id}}/devices - Payload:
{
"deviceId": "{{deviceId}}",
"hwModel": "{{hwModel}}",
"deviceName": "{{hwModel}}-{{deviceId}}"
}
- Expected result: WEDA Cloud returns
201and provides the registered device information. At this stage, WEDA Core recognizes the identity of your device. Its status remains Registered until the WEDA Node client daemon is launched and activated on the physical edge.

Example Request: Curl
curl --location --request POST 'https://{domain}/{tenantPath}/{appPath}/api/v1/orgs/{orgId}/devices' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {access-token}' \
--data '{
"deviceId": "cc827f50f406",
"hwModel": "ADVANTECH-EDGE",
"deviceName": "ADVANTECH-EDGE-cc827f50f406"
}'
Example Response
{
"deviceId": "cc827f50f406",
"hwModel": "ADVANTECH-EDGE",
"orgId": "26ba6f6e-8454-4778-a69a-100d852fdc71",
"status": "Registered",
"deviceName": "ADVANTECH-EDGE-cc827f50f406"
}
Key parameters:
deviceId: Must be a MAC address (lowercase letters and numbers only, no symbols).hwModel: Hardware model of the device, for exampleMIC-710orADVANTECH-EDGE.orgId: The organization ID from the previous step — supplied in the URL path, not the request body.status: At this stage, the device is only registered in WEDA Cloud. If WEDA Node is not connected yet, the status remainsRegistered.deviceName: Optional at registration. If omitted, WEDA Core auto-generates it as{hwModel}-{deviceId}— the Postman request pre-fills{{hwModel}}-{{deviceId}}; you can customize it.
Other APIs in the 2-Provisioning&Activation collection:
- Node Activation: Get device auth info used for activation (encrypted auth payload/file) (see Appendix).
- Node List: Get a paginated device list. You should see the newly created device in the list.
- Node List Under Org: Get the list of devices under the organization.
- Token Refresh: Get a new access token using the refresh token.
- Node Deactivate: Deactivate a device by its ID. status:
deactivate - Node Remove: Delete a device by its ID.
The collection also includes a DataSource+DataObjects subfolder for inspecting what data a device exposes once it is activated and syncing:
- Get device data source definitions: The raw Data Source (sensor) definitions the device reports.
- Get device data objects: The device's queryable Data Objects — each item includes its
dataObjectId(needed by the Telemetry collection). - Get data object by ID: A single Data Object definition by its
dataObjectId.
5. Launch WEDA Node and Verify Connection (WEDA Node)
Finalize connecting your device to WEDA Core
Finish provisioning your Advantech edge hardwdare for remote management.
Step 1: Run WEDA Node Activator

- Run WEDA Node Activator on the edge device, accessible from the desktop shortcut.
- Select Setup WEDA Node
Step 2: Accept License Agreement

Review the End-User License Agreement (EULA). Press Space to scroll and confirm consent.