Skip to main content

Lesson 1 - Create package and query modules

A package is a collection of JS and query modules that can be versioned and distributed across instances. Inside packages, you can create multiple queries and JS modules, allowing you to bundle and organize your application logic efficiently.

By the end of this tutorial, you will learn how to:

  • Create a package.
  • Create and reuse query modules.
  • Create and reuse JS modules.
  1. Click the Create New button from the top-right corner of your workspace and Create a new package.

  2. Rename the Package to UtilsPackage.

  3. Inside the package, you can create Query modules or JS modules.

  • Query Modules allow you to reuse datasource queries across various applications, providing dynamic inputs that adapt query parameters based on user interactions. Learn how to Create Query Modules

  • JS modules allow you to reuse functions and JavaScript logic across multiple applications. Learn how to Create JS Modules

Next steps