A Datahub connection allows you to write data in other data stores to Datahub by using Datahub Writer.

Datahub offers a comprehensive data import scheme to support fast computing for large amounts of data.

Note Workspaces in standard mode support the connection isolation feature. You can add connections for the development and production environments separately and isolate the connections to protect your data security.


  1. Log on to the DataWorks console as a workspace administrator, find the target workspace, and then click Data Integration in the Actions column.
  2. In the left-side navigation pane, click Connection to go to the Workspace Manage > Data Source page.
  3. On the Data Source page that appears, click Add Connection in the upper-right corner.
  4. In the Add Connection dialog box that appears, click DataHub in the Big Data Storage section.
  5. In the Add DataHub Connection dialog box that appears, set the parameters.
    Parameter Description
    Connection Name The name of the connection. The name can contain letters, digits, and underscores (_) and must start with a letter.
    Description The description of the connection. The description cannot exceed 80 characters in length.
    Applicable Environment The environment in which the connection is used. Valid values: Development and Production.
    Note This parameter is available only when the workspace is in standard mode.
    DataHub Endpoint The endpoint of Datahub. This parameter is read-only, which is automatically obtained from system configurations.
    DataHub Project The ID of the Datahub project.
    AccessKey ID The AccessKey ID used as the logon credential. You can view the AccessKey ID on the User Info page.
    AccessKey Secret The AccessKey secret used as the logon credential.
  6. Click Test Connection.
  7. After the connectivity test is passed, click Complete.

    The connectivity test checks whether the entered information is correct.

What to do next

Now you have learned how to configure a Datahub connection. You can proceed with the next tutorial. In the next tutorial, you will learn how to configure Datahub Writer.