Youtube

You can import data from your YouTube account and use recipes to retrieve lists of IDs as datasets.

This capability is provided by the “Youtube” plugin, which you need to install. Please see Installing plugins.

How to set up

Using an API key

Go to Youtube’s Developper page and follow the instructions to obtain an API key.

Using Google SSO

  1. Go to your Google App’s credential page, select your project or create a new one.

  2. Go to Library and search for the word youtube. Select YouTube Data API v3 and activate it.

  3. Back to your project page, create a OAuth Client ID credential. Take note of the credentials’ Client ID and Client secret.

  4. Activate an OAuth consent screen. Note that at this stage, there is no need to get it verified by Google.

  5. In Dataiku, go to App > Plugins > Youtube > Google Single Sign On, create and name a new preset and complete the connection details gathered at step 1.

How to use

User registration

In order to use this plugin, each user will have to allow it to access their youtube account. To do so: 1. Log in to Dataiku with your user account. 2. Go to profile page > Credentials > youtube. 3. Look for the preset created in step 3. 4. Click on the edit button and you will be redirected to Google Accounts page.

Note

If the OAuth consent screen is not verified by Google (step 2), an error message will be displayed, and the user will have to go to advanced parameters and click on non secure access before to allow Dataiku access to Youtube.

Dataset

  1. Go to your Dataiku Flow.

  2. Select Youtube in the plugin section of the dataset menu.

  3. Pick the preset you previously configured.

  4. Choose the request type and fill in the missing details where necessary.

Recipe

In some cases it can be more efficient to pass as a parameter the list of ids that need to be processed. In this case, use the recipe:

  1. In your Dataiku Flow, select Youtube in the recipe menu.

  2. As input, use a dataset containing the list of IDs to retrieve.

  3. Note the title(s) of the column(s) containing the ID list.

  4. Run the recipe.