--- title: "Licensing | Docs" description: "Remove the watermark from your grid by providing license keys associated to your registered domain names." url: https://www.zinggrid.com/docs/guides/licensing --- ```text experiment_id: web-retrieval-v1 fixture_id: /docs/guides/licensing.md mode: provenance representation: markdown origin_response_id: c472d9684f4f674f5e7a7304523de72f version: 2026-10-21 version_created_at_utc: 2026-10-21T20:42:35.720Z version_nonce: 365aee9f0cd3671d404cc5163da8e98a generated_at_utc: 2026-11-08T23:36:16.731Z response_nonce: f1fee3f896af0564848844a33fdde1dd ``` # Licensing After you buy a license, you should receive an email from our Sales department containing the license keys associating to the domains registered to the license. If you didn't receive any keys, log into your Studio account. Under the [subscription page](https://app.zingsoft.com/account/subscriptions), register your domains to the license. If you are still having trouble, feel free to contact our [Support team](mailto:support@zingsoft.com). ## License Keys The license key needs to be included in your site. If you are explicitly adding the ZingGrid script, make sure to include your license after the script like so, ```javascript ``` [Example code](https://app.zingsoft.com/demos/embed/KFM7LVR1) It is best to set the license key the earlier you can after the library script. There are three ways the license key can be set: - ZingGrid Object Property ```javascript ZingGrid.LICENSE = ['LICENSE_KEY_1', 'LICENSE_KEY_2', 'LICENSE_KEY_3', ...]; ``` > **Note:** Best for static content. - ZingGrid Object Method ```javascript ZingGrid.setLicense(['LICENSE_KEY_1', 'LICENSE_KEY_2', 'LICENSE_KEY_3', ...]); ``` > **Note:** Best for frameworks or dynamic content. - API Method ```javascript let zgRef = document.querySelector('zing-grid'); zgRef.setLicense(['LICENSE_KEY_1', 'LICENSE_KEY_2', 'LICENSE_KEY_3', ...]); ``` ## Build Codes If you have an OEM license, you would receive a build code instead of a license key. Similarly, the build code needs to be included on your site after the ZingGrid script. [Example code](https://app.zingsoft.com/demos/embed/32IGH4KZ) Set your build code in one of three ways: 1. ZingGrid Object Property ```javascript ZingGrid.BUILDCODE = ['BUILD_CODE_1', 'BUILD_CODE_ID']; ``` 2. ZingGrid Object Method ```javascript let zgRef = document.querySelector('zing-grid'); zgRef.setBuildCode(['BUILD_CODE_1', 'BUILD_CODE_ID']); ``` 3. API Method ```javascript let zgRef = document.querySelector('zing-grid'); zgRef.setBuildCode = (['BUILD_CODE_1', 'BUILD_CODE_ID']); ```