LogoLogo
Getting StartedDevelopersDeployment GuideGet Help
  • Quick Links
  • Welcome to Form.io
    • Getting Started With Form.io
    • Launch a Form
    • Overview of Form.io
  • Developer Tool Ecosystem
    • PDF Solution
    • Enterprise Form Builder
    • Form View Pro
    • The Security Module
    • Accessibility Compliance Module
    • Developer License
    • SQL Connector - Deprecated
    • Integration Libraries
    • Form.io CLI Tool
  • User Guide
    • Introduction
    • Form.io Developer Portal
    • Teams
    • Projects
      • Project UI
      • Project Settings
      • Stages
      • Multi-Tenancy
    • Resources
      • ResourceJS
    • Forms
      • Form Creation
      • Form Types
      • PDF Forms
      • Embedding a Form
      • Form Revisions
      • Form Settings
    • Form Building
      • Form Builder UI
      • Form Components
        • Component Settings
        • Basic Components
          • Resource as Select Component Data Source
        • Advanced Components
        • Layout Components
        • Data Components
        • Premium Components
          • Nested Forms
        • Custom Components
      • Logic & Conditions
      • Existing Resource Fields
      • Actions
    • Submissions
      • Accessing Submissions
      • Importing Submissions
    • Form.io eSignature - Coming Soon
    • Form.io Reporting Module
    • PDF Template Designer
    • Form View Pro
    • Form Manager
    • Enterprise Form Builder Module
  • Developer Guide
    • Introduction
      • Application Development
      • API Documentation
    • Form Development
      • Form Renderer
      • Form Builder
      • Form Embedding
      • Form Evaluations
      • Form Templates
      • Custom Components
      • Translations
    • JavaScript Development
      • JavaScript SDK
      • JavaScript Frameworks
      • JavaScript Utilities
    • Authentication and Authorization
      • SAML
      • OAuth
      • LDAP
      • Resource Based Authentication
      • Email Authentication
      • Two-Factor Authentication
    • Roles and Permissions
      • Field Match-Based Access
      • Field-Based Resource Access
      • Group Permissions
    • Integrations
      • Email Integrations
      • File Storage
      • Google Developer Console
      • eSign Integrations
      • Relational Databases
    • Modules
    • Fetch Plugin API
    • CSS Frameworks
    • Offline Mode
    • Audit Logging
  • Deployments
    • Self-Hosted Deployment
      • Local Deployment
        • Local File Storage
      • Kubernetes
      • Cloud Deployment
        • AWS Deployment
          • AWS Lambda
          • Form.io/AWS Elastic Beanstalk End-To-End Encrypted Deployment
        • Azure Deployment
          • Azure App Service
            • Azure MSSQL Connector - Deprecated
          • Azure Virtual Machine
          • Azure Kubernetes Service
          • Set up the DB
        • GCP Deployment
          • GCP Cloud Run
      • On-Premise Deployment
      • Enterprise Server
      • PDF Server
    • Deployment Configurations
      • DNS Configuration
      • Load Balancer Configuration
    • Licenses
      • License Management
      • Library Licenses
    • Portal Base Project
      • Portal SSO
      • Portal Translations
    • Maintenance and Migration
      • Changes to Premium Libraries
  • FAQ
    • FAQ
    • Tutorials & Workflows
      • Password Reset
      • Dynamic Select Filtering
      • Approval Workflow
      • SSO Email Token
      • Embedding A Video
      • Data Source Validation
      • Select Data Source Options
      • Nested Form Workflows
        • Nested Wizard Forms
      • Save as Draft
      • Role-Based Conditions
      • Custom Component
      • Dynamic Radio and Select Box Values
      • Override CKEDITOR
    • Errors
    • Examples
    • License Utilization Checks
  • Contact Us
Powered by GitBook
On this page
  • Modules requiring a library license
  • Using a Library License
  • License Requirements
  • License Examples:
  • Legacy Process
  • Importing Premium Libraries

Was this helpful?

  1. Deployments
  2. Licenses

Library Licenses

PreviousLicense ManagementNextPortal Base Project

Last updated 26 days ago

Was this helpful?

Library Licenses are the licenses required to use expanded Form.io Platform functionality in an application.

Library licenses are distinct from Deployment or Developer licenses and issued separately.

Applications already using of premium libraries with the formio/js 4.x renderer do not use this Library License system.

Modules requiring a library license

The following libraries offer features that require a separate license:

In-development features that will be available through additional libraries include:

For detailed documentation on each module, refer to the appropriate section of the Form.io Help.

Using a Library License

Including these libraries in an application requires a valid license for that library to be in place and for the library to be imported.

Using a library license to enable the features within a library will look similar to the following sample:

import { Formio } from '@formio/js';
import premium from ‘@formio/premium’;
Formio.license = ‘--- YOUR LICENSE –--’;

Formio.use(Premium);

The Premium Library license refers to the unique license provided to access premium libraries and is a separate license from the other license keys used elsewhere in the Form.io Platform. Do not use a Deployment or Developer license here.

License Requirements

In order to be properly licensed, anyone using premium libraries must provide certain domains to be included in the license. Wildcard domains are allowed. Multiple domains can be included in a singular license. The required domains include:

  • Enterprise Server Hostname(s) The domain(s) where the formio/enterprise-server Docker containers are hosted within the customer environment. If these containers reside behind a Load Balancer, use the domains that resolve to the Load Balancers. These are the same hostnames that are used in applications to point the APIs to the correct endpoints. These might be indicated within the application as follows: Formio.setBaseUrl(....) Formio.setProjectUrl(...) The values passed to these functions provide the Enterprise Server Hostname(s) to the license. Commonly, these use the alias “appUrl” and “apiUrl” within configuration files for the Form.io libraries. Note: These URLs do not need to be publicly accessible. If the applications that host premium libraries can communicate to these URLs when connected to any internal networks, then these URLs must be provided and included in the license that Form.io will create and provide.

License Examples:

Example 1:

Consider the following deployment:

  • A SaaS product where every tenant uses a unique subdomain:

    • https://tenantA.mysite.com

    • https://tenantB.mysite.com

  • These applications communicate to an endpoint at a different domain:

    • https://api.mysiteapi.com

The required license would contain:

endpoints:   *.mysiteapi.com
hostnames:   *.mysite.com

Example 2:

A different deployment arrangement in which many domains are used for both the application and the API endpoints:

  • Applications domains:

    • www.ExampleOne.com

    • www.ExampleTwo.com

    • www.ExampleThree.com

  • Endpoints:

    • www.EastAPI.com

    • www.WestAPI.com

The required license would contain:

hostnames:   exampleone.com, exampletwo.com, examplethree.com
endpoints:   eastapi.com, westapi.com 

Legacy Process

Users with legacy versions of premium modules (which are required for users of formio/js 4.x) should follow the legacy process of installing modules from the PKG Repository.

Importing Premium Libraries

Premium libraries are delivered through public NPM registries and are accessed through a standard package manager.

The documentation for a specific library will have detailed instructions, but the general process is very simple and will be similar to the following options.

  • NPM: npm install --save @formio/premium

  • Yarn: yarn add @formio/premium

Application Hostname(s) The domain(s) that host the application(s), which uses the Form.io renderer and Premium Libraries. For example, if end users go to the URL to access an application that uses our Form renderer + Premium libraries, the “mysite.com” hostname is required to be provided for including in the license that Form.io will create and provide.

Refer to for the complete process.

For information on what has changed between the legacy process and the current procedure, refer to the section of the .

https://app.mysite.com
PKG.Form.io
Changes to Premium Libraries
Maintenance and Migration guide
Premium form components module
Enterprise Form Builder module
Offline module
Reporting
module
SQL connector
eSignature module
legacy versions