# Marvin

Marvin is a [package](https://datagrok.ai/help/develop/develop#packages) for the [Datagrok](https://datagrok.ai) platform that exposes the [ChemAxon MarvinJS](https://chemaxon.com/marvin) molecule sketcher as one of the sketchers available wherever a Datagrok molecule sketcher is used (cell editor, dialog, molecule input). MarvinJS is a licensed product — a valid license is required to access full functionality.

## Install

- Open Datagrok and install the latest version of the Marvin package from npm via the **Packages** tab.

![](img/download_marvin.gif)

## Configure

Open the Marvin package settings (property panel) and fill in the required properties:

- **License Path** — URL to the MarvinJS license XML file.
- **Mol Convert Path** — URL of the ChemAxon `molconvertws` web service. When set, structure conversions (V2000 ↔ V3000, SMILES, SMARTS) go through ChemAxon's remote service.

Click **Save** and reload the page.

![](img/set_license_path.png)

## Use

After configuration, MarvinJS appears in the sketcher picker alongside the other sketchers (OpenChemLib, Ketcher, …) and can be selected from the dropdown.

![](img/open_marvin.gif)
