---
title: "Video Editor Source Code License | Rendley SDK Docs"
description: "Purchase the source code to customize the Video Editor UI, remove the Rendley logo, integrate third-party services, and self-host the entire editor."
url: https://docs.rendley.com/sdk/video-editor-ui/source-code/
---

# Source code license

Purchasing the source code gives you access to the code that powers the Video Editor, so you can modify it, remove the Rendley logo, integrate third-party services, and self-host it.

You can purchase it at [rendleysdk.com/javascript-video-editor](https://rendleysdk.com/javascript-video-editor?utm_source=docs.rendley.com&utm_medium=docs&utm_campaign=sdk&utm_content=content_link). After purchasing, you will gain access to a GitHub repository where the source code is hosted.

## Installation

### Install dependencies

To get started, clone the repository and install the necessary dependencies.

NPM

```
npm install
```

### Edit the configuration

After installing the dependencies, open the `index.html` file in your IDE and configure the following fields:

```
<rendley-video-editor
  id="rendley"
  licensename="YOUR_LICENSE_NAME"
  licensekey="YOUR_LICENSE_KEY"
  pexelsapikey="YOUR_PEXELS_API_KEY"
  giphyapikey="YOUR_GIPHY_API_KEY"
  theme="dark"
/>
```

### Get a free license

You can obtain a license by visiting [our website](https://app.rendleysdk.com/?utm_source=docs.rendley.com&utm_medium=docs&utm_campaign=sdk&utm_content=content_link). Replace `YOUR_LICENSE_NAME` and `YOUR_LICENSE_KEY` with your actual license information.

### Get a Pexels API key

Follow the instructions [here](https://help.pexels.com/hc/en-us/articles/900004904026-How-do-I-get-an-API-key) to obtain a Pexels API key. Replace `YOUR_PEXELS_API_KEY` with your actual Pexels API key.

### Get a Giphy API key

Follow the instructions [here](https://support.giphy.com/hc/en-us/articles/360020283431-Request-A-GIPHY-API-Key) to obtain a Giphy API key. Replace `YOUR_GIPHY_API_KEY` with your actual Giphy API key.

### Start the development server

To start the development server, run the following command:

```
npm start
```

## Build

To build the project, execute the following command:

```
npm run build
```

This will create the relevant folders: `dist` and `loader`.

## Integration

You have two options for integrating the project into your website:

### 1. Publish as a private NPM package

The recommended method for using the Video Editor UI is to publish it as a private NPM package. For instructions, follow [this guide](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry).

### 2. Upload to CDN

Alternatively, you can build the project and upload both the `dist` and `loader` folders to a CDN. To embed the Video Editor UI into your website, use the CDN URL:

```
<script type="module">
  import { defineCustomElements } from "https://cdn.mywebsite.com/loader/index.js";

  defineCustomElements();
</script>

<rendley-video-editor
  id="rendley"
  licensename="YOUR_LICENSE_NAME"
  licensekey="YOUR_LICENSE_KEY"
  pexelsapikey="YOUR_PEXELS_API_KEY"
  giphyapikey="YOUR_GIPHY_API_KEY"
  theme="dark"
/>
```

## Framework integration

Stencil.js can generate wrappers for different frameworks, providing a more familiar way to work with the component. These wrappers use the same web component at their core, while offering type definitions and features specific to each framework:

- [React.js](https://stenciljs.com/docs/react)
- [Angular](https://stenciljs.com/docs/angular)
- [Vue](https://stenciljs.com/docs/vue)

## What to read next

- **[Video Editor UI](https://docs.rendley.com/sdk/video-editor-ui/overview/)** is the full editor as one drop-in web component.
- **[Editor configuration](https://docs.rendley.com/sdk/video-editor-ui/configuration/)** turns features on and off and sets branding.
- **[Editor events and methods](https://docs.rendley.com/sdk/video-editor-ui/events-and-methods/)** drives the editor from your own code.
- **[Introduction](https://docs.rendley.com/sdk/introduction/)** explains what the SDK does and how the pieces fit.

[Previous pageIntegration recipes](https://docs.rendley.com/sdk/video-editor-ui/common-tasks/) [Next pageSlideshow video](https://docs.rendley.com/sdk/examples/slideshow-video/)
