Language:
Unlocking CreativeEditor SDK with a License Key
In this example, we will show you how to unlock the CreativeEditor SDK using a license key.
The CreativeEditor SDK is a commercial product. To use it as such and get access to its white label version - without the watermark in the export - you need to unlock the SDK with a license file. You can purchase a license at https://img.ly/pricing.
Explore a full code sample of the integration on CodeSandbox or view the code on GitHub.
Unlock CE.SDK with a License Key#
Once you have acquired a license, you need to provide it via the license
field of the configuration:
If you do not provide a valid license, the CE.SDK will
- Overlay every exported image with a watermark and
- Print a warning message to the console
Please note that every license has an expiration date and is only valid on the platforms for which it was purchased.
File:
import 'https://cdn.img.ly/packages/imgly/cesdk-js/1.11.1/cesdk.umd.js';let config = {license: 'eyJhbGciOiJSUzI1NiIsInR5…' // Replace with private license};CreativeEditorSDK.init('#cesdk_container', config).then((instance) => {/** do something with the instance of CreativeEditor SDK **/});