Stand with Ukraine flag
Pricing Try it now
Trendz Analytics
Installation > Post-installation steps
Getting Started Documentation Guides
On this page

Trendz post-installation steps

To make Trendz ready for use, complete the following post-installation setup steps.

Signing Key

You can read more about signing key here

Acquiring Signing Key

Follow these steps to configure the signing key:

  1. Log in to ThingsBoard as a System Administrator

    Login

  2. Go to Security → General

    Security General Page

  3. Scroll to the JWT Security Settings section

    JWT Security

  4. Copy the value from the Signing key field.

Installation-specific Instructions

Ubuntu Installation

  1. SSH into the server running Trendz.

  2. Open the Trendz configuration file:

    1
    
    sudo nano /etc/trendz/conf/trendz.conf
    
  3. Add the signing key to the end of the file:

    1
    
    export JWT_TOKEN_SIGNING_KEY=<signing-key>
    

    Ubuntu Signing Key

  4. Save the file and restart the Trendz service.

Docker Compose Installation

  1. Open your docker-compose.yml file.

  2. Add a new environment variable under the Trendz service:

    1
    2
    
    environment:
      - JWT_TOKEN_SIGNING_KEY=<signing-key>
    

    Docker Signing Key

  3. Save the file and restart the Trendz container.

Verifying Successful Installation

To validate that the signing key was installed correctly, you need to:

  1. Log in as a Tenant Administrator.
  2. Go to the Settings.

    Settings Navigation

  3. If everything was done correctly, you will see Active status in the Signing Key field.

    Signing Key Valid

Required Actions in Trendz Settings

Note: These actions affect ThingsBoard.

You need to complete the following actions to add all necessary add-ons to ThingsBoard:

  • Trendz Widget Bundle:
    • Click the Upload bundle button.
    • You will see Latest version installed afterward.
    • Read more about the Trendz Widget Bundle here.
  • Trendz JS Summary Module:
    • Click the Upload module button.
    • You will see Latest version installed afterward.
    • Read more about the Trendz JS Summary Module here.
  • Trendz Settings:
    • Click the Update Settings button.
    • You will see Settings are up to date afterward.
    • Read more about Trendz Settings here.

To simplify the process of adding Trendz views to ThingsBoard dashboards, we have introduced the ability to open the dashboard where the view was added in a new tab. Configure the link to your ThingsBoard instance in Settings to use this feature. Follow these steps:

  • Log in to Trendz and navigate to the Settings page.

    image

  • Enter the URL of your ThingsBoard instance (e.g., https://your-link-to-platform) in the designated field.

    image

After this, you can open your modified or newly created dashboard in a new tab by enabling the Open dashboard in a separate window field.

image

AI Assistant

To use AI Assistant feature in Trendz, you need to configure it first. To enable your own AI model, go to Settings → General → AI Assistant in Trendz. There, you can enable the Use own model option, select an AI provider (OpenAI, Amazon Bedrock, Google or Custom), and enter the required API credentials.

For more details on configuring AI Assistant, you can read more here.

image