Import End Devices in The Things Stack

Command-line interface only

The instructions below use the command-line interface (CLI).

To import your devices to the application you created, use the devices.json file you created in the previous step with ttn-lw-cli:

$ ttn-lw-cli end-devices create --application-id "imported-application" < devices.json

This will import your devices on The Things Enterprise Stack . In case any device fails, you see a relevant error message at the end of the output.

If the import was successful, your devices is added to the list of end-devices in your application.


You can now start using your devices with The Things Enterprise Stack !

Note: Don’t forget to manually copy-paste the Payload Formatters (if applicable) from your The Things Network Stack V2 to your The Things Enterprise Stack application. See Payload Formatters for more details.