Bulk connectables provisioning
When producing a physical device, there are a few separate operations that should be carried out to create the digital equivalent in Connhex. The entire set of these actions is called provisioning.
Device provisioning is often performed as a bulk operation: for example, you might want to integrate the digital counterpart creation as part of your production process, or after they have passed a pre-defined test bench.
Manufacturing schema
Independent of the method you choose, remember to follow your manufacturing schema of choice!
Using the API
After obtaining a token for an account with admin privileges, perform these two API calls in sequence:
- Use the Core Provision API: please note this won't create a manufacturing entry
- Use the Manufacturing API to create entries in Connhex Manufacturing, using the previously returned
thing_id
asconnhexId
Using the Connhex CLI
- Log into Connhex with your credentials. The account must have admin privileges.
- Use the CLI to provision devices from a CSV file:
connhex-cli provision <your-csv-file>
See here for additional details.