Skip to content
Stand with Ukraine flag

Post-Installation Steps

After installing Trendz Analytics, complete the following setup steps to make it ready for use.

Trendz uses ThingsBoard’s JWT signing key to authenticate API calls. You must configure this key after installation.

  1. Log in to ThingsBoard as a System Administrator.

    Log in as System Administrator
  2. Go to Security → General.

    Security General page
  3. Scroll to the JWT Security Settings section.

    JWT Security Settings section
  4. Copy the value from the Signing key field.

SSH into the server running Trendz and open the configuration file:

Terminal window
sudo nano /etc/trendz/conf/trendz.conf

Add the following line at the end of the file, replacing <signing-key> with the value you copied:

Terminal window
export JWT_TOKEN_SIGNING_KEY=<signing-key>
Signing key in trendz.conf

Save the file and restart the Trendz service.

  1. Log in to Trendz as a Tenant Administrator.

  2. Go to Settings.

    Trendz Settings navigation
  3. Confirm that the Signing Key field shows Active status.

    Signing Key Active status

Read more in the Signing Key settings reference.

These steps add the Trendz widget bundle and JS module to your ThingsBoard installation.

In the Trendz Settings page:

  • Trendz Widget Bundle — click Upload bundle. You will see Latest version installed when done.
  • Trendz JS Summary Module — click Upload module. You will see Latest version installed when done.

For more details see the Trendz Widget Bundle and JS Summary Module references.

Configure the URL of your ThingsBoard instance in Trendz settings to enable opening dashboards in a new tab directly from Trendz views.

  1. Log in to Trendz and go to Settings.

    Trendz Settings navigation
  2. Enter the URL of your ThingsBoard instance (e.g., https://your-thingsboard-host) in the designated field.

    ThingsBoard URL field in Trendz Settings

Once configured, you can open the dashboard where a Trendz view was added by enabling Open dashboard in a separate window.

Open dashboard in separate tab option