GuidesRecipesAPI ReferenceChangelogDiscussions
Log In

How to Generate a Device Token

Device tokens are used to securely register your edge devices with Modzy. Valid tokens are required for any edge deployment.

🪙 Create a device token

Start by navigating to the device group you've created for your device(s), then click the "Create Device Token" button at the top right corner of the screen. This device token will be used to securely connect your edge device(s) with Modzy.

Device group management page

Device group management page

After clicking on the "Create Device Token" button, you'll need to set one fields:

  • Time to Live: Sets the number of hours before the token expires. If you plan to connect your device within a day, 12 hours is usually sufficient.

Once you've filled in these values click the "Create Device Token" button.

Device registration token creation page

Device registration token creation page

After filling in the required information and clicking "Create Device Token", a new security token will be created presented to you on screen. You can copy this token value or you can simply download it as a text file.

❗️

Keep Your Token Safe!

A registration token, much like an API Key, is treated as a secret and will only be displayed to you once when it is created. Be sure to save the token in a secure location.

If you plan to install Modzy Core, Modzy's client that runs on edge devices, using the automatic installation script, it's a good idea to copy it now before moving on to the last step.