Tutorial | Getting started with dev plugins#

Dataiku’s integration of code allows you to accomplish anything within the platform through custom code. Plugins allow you to extend the Dataiku GUI by sharing your custom code in various ways.

You can install existing plugins from the store, by uploading a Zip file, or from a Git repository.

In this course, you will learn how to write your own dev plugins.

Prerequisites#

  • Developing plugins requires that you have a good working knowledge of Python and/or R.

Technical requirements#

Create a dev plugin#

Before starting any of the tutorials, you’ll need a new dev plugin. You can create a new plugin for each tutorial, or use the same plugin for all of them. To create a dev plugin:

  1. From the application menu, choose Plugins, then click Development.

  2. Click Add Plugin, then choose Write your own.

  3. In New plugin, type an identifier for your plugin, such as first-plugin.

  4. Click Create.

The identifier should be globally unique. Prefixing plugin id’s with your company name, or something similar, will help prevent conflicting names if you import plugins from 3rd party sources.

Now that we have a skeleton for a plugin, we can add some components to it.

Plugin components#

A plugin is made of a number of components. Each component is a single kind of object in Dataiku, such as a dataset, recipe, or webapp.

The following lessons walk through development of different types of components. Each component can be added to the dev plugin you created above, or into their own new plugins.