Importing using the webUI

Learn about importing a flow definition developed in NiFi using the CDF webUI.

  • Create a data flow in NiFi and download it as a flow definition JSON file. For more information, see Creating a Flow Definition.
  • Make sure that you have DFCatalogAdmin permission to perform this task. For information on account and resource roles, see DataFlow Authorization.
  1. Open Cloudera DataFlow by clicking the DataFlow tile in the CDP sidebar.
  2. Click Catalog from the left navigation pane.

    The Flow Catalog page is displayed. Previously imported flow definitions are displayed, one definition per row.

  3. Click Import Flow Definition.
  4. Provide a name (Flow Name) and a description (Flow Description) for the flow definition.
  5. In the NiFi Flow Configuration field, select the JSON file you downloaded from NiFi.

    Alternatively, you can drop the JSON file into this field to select it.

  6. Optional: You can add comments to the flow definition version you are importing (Version Comments).
  7. Optional: You can add custom tags to the flow definition version you are importing (Custom Tag).
  8. Click Import.

You have successfully imported your NiFi flow to Cloudera DataFlow. It is available in the Flow Catalog as the first version of your flow definition.

Deploy the flow definition to an environment. For more information, see Deploying Flows.