Creating a data connection in Cloudera Data Visualization

Create a data connection by entering the connection details manually or importing the JSON configuration of an existing connection.

You can create a data connection by entering the connection details manually or importing the JSON configuration of an existing connection. For supported connection types, see Data connections in Cloudera Data Visualization. If you plan to import a connection, see Using connection details shared in JSON format for instructions on obtaining the configuration.

When you create a connection, you automatically receive privileges to create and manage datasets on that connection and to build visuals and dashboards from those datasets. For more information on user privileges, see RBAC permissions.

To manually create a data connection, you must be an administrator or have the Manage data connections privilege.

  1. On the navigation sidebar, click Data.
    The Data view opens, displaying the Datasets tab.
  2. On the side panel, click New Connection.

    The Create New Data Connection side panel is displayed.

  3. Choose how you want to create the data connection.
    Option 1: Manually create a connection
    1. On the Connection Settings tab, select the preferred connection type from the drop-down list

    2. Enter a name for the connection.

    3. Fill in the required connection details.

    4. Provide your username and password.

    5. Switch to the Advanced tab to configure additional details.

    6. Check the Parameters and Data tabs for more configuration options.

    7. Click Test to verify the connection.

      If the test fails, review the error message and verify the connection settings and required authorization. Update the configuration as needed, and test the connection again.

    8. If the test is successful, click Connect to establish the connection.

      To exit without creating a connection, click Cancel.

    Option 2: Import a connection from JSON
    1. Switch to the Import from JSON tab.

    2. Paste the connection configuration in JSON format into the text field.

    3. Click Import & Connect to auto-populate the connection details from the JSON file.

      If any configuration details are invalid, an error message appears. You can manually correct the configuration.

      To discard the import and close the modal, click Cancel.