Adding Deployment Keys to CI/CD Services
This article describes how to activate your Kendo UI for Vue license in popular CI/CD services. Use Deployment Keys for build pipelines and provide the key through an environment variable or a secure file.
Deployment keys are dedicated license keys for build pipelines. Each deployment key is tied to one application and its selected products. You cannot use deployment keys for application development.
Developer license keys remain valid for CI/CD deployments, so existing pipelines do not need to be updated. For new pipelines, we recommend using deployment keys. For more information, see the differences between developer license keys and deployment keys.
To activate your license in a CI/CD environment:
- Go to the Deployment Keys page.
- Click Add Application. In the form that opens:
- Add the application name.
- Select the type of application: public or private.
- Select the set of products used in the application.
- Copy the deployment key and store it securely.
- Create an environment variable named
TELERIK_LICENSE, and set it to the deployment key value. Alternatively, store the key securely in atelerik-license.txtfile.
The following general requirements apply to all CI/CD environments:
- Regardless of the CI/CD tool you use, the step that installs the project dependencies must be executed before the step that activates the license.
- The license activation step requires the
@progress/kendo-licensingpackage to be downloaded and set up in your local environment or CI/CD pipeline. - Store the deployment key securely in an environment variable, a secret, or a secure file. Never hardcode a key in the build script.
- The CI pipeline configurations are not executable. They merely outline the specific sequence of steps.
For a runnable demo with setup pipelines for all CI services mentioned on this page, refer to the DevOps - Pipeline and Workflow GitHub repository.
Creating an Environment Variable
Set TELERIK_LICENSE to your deployment key. Each platform has a different process for setting environment variables. The following examples cover popular CI/CD services.
Starting with the 2025 Q1 release, the name of the environment variable changes from
KENDO_UI_LICENSEtoTELERIK_LICENSEand the downloaded file changes fromkendo-ui-license.txttotelerik-license.txt. This change is required as all Telerik UI and Kendo UI products now use the same licensing mechanism with a common license key. Existing pipelines can continue to use the legacy names. See the Handling License Key File Name and Environment Variable Name Changes in the 2025 Q1 Release knowledge base article for more details.
GitHub Actions
- Create a new Repository Secret or an Organization Secret. Set the secret name to
TELERIK_LICENSEand paste the deployment key as its value. - After running
npm installoryarn, add a build step to activate the license.
steps:
# ... install modules before activating the license
- name: Install NPM modules
run: npm install
- name: Activate Kendo UI License
run: npx kendo-ui-license activate
# Set working directory if the application is not in the repository root folder:
# working-directory: 'ClientApp'
env:
TELERIK_LICENSE: ${{ secrets.TELERIK_LICENSE }}
# ... run application build after license activation
- name: Build Application
run: npm run build
GitLab CI/CD Pipelines
- Go to Settings > CI/CD > Variables in your GitLab project.
- Add a new
TELERIK_LICENSECI/CD variable. Paste the deployment key as its value, and mask the variable. - After running
npm installoryarn, add a build step to activate the license.
build:
stage: build
script:
# ... Install modules before activating the license.
- npm install
- npx kendo-ui-license activate
# ... Run the application build after license activation.
- npm run build
Vercel
-
In your Vercel project, go to Settings > Environment Variables.
-
Add
TELERIK_LICENSEand use the deployment key as its value. For details, see Vercel environment variables.The following screenshot shows the supported legacy
KENDO_UI_LICENSEname. Use the recommendedTELERIK_LICENSEname for new configurations.
-
Under Settings > Build and Deployment, override the Install Command with
npm install && npx kendo-ui-license activate.
The next deployment activates the license for the Kendo UI for Vue components in your project. The components no longer show a watermark or a license warning in the console.
Azure Pipelines (YAML)
- Create a new Secret Variable named
TELERIK_LICENSE. - Paste the deployment key as its value.
- Install the project dependencies with
npm installoryarn. - Add a build step that runs
npx kendo-ui-license activateoryarn run kendo-ui-license activateafter installing the project dependencies.
The following examples show the syntax for Windows and Linux build agents.
pool:
vmImage: 'windows-latest'
steps:
# ... install modules before activating the license
- script: call npm install
displayName: 'Install NPM modules'
- script: call npx kendo-ui-license activate
displayName: 'Activate Kendo UI License'
# Set working directory if the application is not in the repository root folder:
# workingDirectory: 'ClientApp'
env:
TELERIK_LICENSE: $(TELERIK_LICENSE)
# ... run application build after license activation
- script: call npm run build
displayName: 'Build Application'Azure Pipelines (Classic)
-
Create a new Secret Variable named
TELERIK_LICENSE. -
Paste the deployment key as its value.
-
Add a new Bash task to the Agent job before the NPM build task and configure it with the
TELERIK_LICENSEenvironment variable set to$(TELERIK_LICENSE). This is required because Azure DevOps does not automatically pass secret variables to Bash tasks.
-
Change the step to inline and use the following command:
# Activate the license
npx kendo-ui-license activate

Using Secure Files on Azure DevOps
Secure files provide a file-based alternative for license keys in Azure Pipelines. This approach does not have the size limitations of environment variables.
The licensing package supports two file-based options:
- Set the
TELERIK_LICENSE_PATHvariable. This option requires@progress/kendo-licensingv1.5.0 or later. - Add
telerik-license.txtto the project directory or a parent directory.
For a YAML pipeline, use the DownloadSecureFile@1 task. Then map its secureFilePath output to TELERIK_LICENSE_PATH.
# ... Install modules before activating the license.
- script: npm install
displayName: 'Install NPM modules'
- task: DownloadSecureFile@1
name: DownloadTelerikLicenseFile
displayName: 'Download Telerik License Key File'
inputs:
secureFile: 'telerik-license.txt'
- script: npx kendo-ui-license activate
displayName: 'Activate Kendo UI License'
env:
TELERIK_LICENSE_PATH: $(DownloadTelerikLicenseFile.secureFilePath)
For a classic pipeline, add a Download secure file task. Set its output variable name to telerikLicense, then add a PowerShell task with the following script:
$Env:TELERIK_LICENSE_PATH = "$(telerikLicense.secureFilePath)"
npx kendo-ui-license activate
Alternatively, copy the secure file to the project directory before you activate the license:
Copy-Item -Path "$(telerikLicense.secureFilePath)" -Destination "$(Build.Repository.LocalPath)\telerik-license.txt" -Force
npx kendo-ui-license activate
If you use Task Groups, replace
$(telerikLicense.secureFilePath)with$(Agent.TempDirectory)\telerik-license.txt. Task Groups do not support output variables.
Setting the License Key with CDN Scripts
When you load Kendo UI for Vue components from CDN scripts, activate the license with a script license key:
-
Go to the License Keys page in your Telerik account.
-
On the Progress® Kendo UI® for Vue row, click the Download key link in the LICENSE KEY column and copy the license code.
-
Load the common
@progress/kendo-licensingscript before the component scripts.html<script src="https://unpkg.com/@progress/kendo-licensing/dist/index.js"></script> -
Add your script license key after the
@progress/kendo-licensingscript.html<script src="https://unpkg.com/@progress/kendo-licensing/dist/index.js"></script> <script>KendoLicensing.setScriptKey('YOUR_SCRIPT_LICENSE_KEY');</script> -
Add the rest of the scripts you want to use.