You can view information about your MaxCompute project on MaxCompute Studio only after you connect MaxCompute Studio to your project. The project information includes tables, views, user-defined functions (UDFs), and resources. This topic describes how to create and modify MaxCompute project connections.

Step 1: Create a MaxCompute Studio project

  1. Start IntelliJ IDEA. In the main menu bar, choose File > New > Project.
  2. In the left-side navigation pane of the New Project dialog box, click MaxCompute Studio. Then, click Next.
    Create a project
  3. Specify Project name and click Finish.
    Configure a project name
    Note If a project is open, a dialog box appears and asks whether you want to open the new project in a new window or the current window. In this case, click This Window.

Step 2: Connect to a MaxCompute project

  1. In the main menu bar, choose View > Tool Windows > Project Explorer.
    project explorer
  2. In the upper-left corner, click the plus sign (+) and select Add project from accessId/Key.
    **
  3. In the Add MaxCompute project dialog box, configure the parameters on the Connection tab.
    **
    Note
    • In the lower-left corner, click the Help icon to view online documentation.
    • If a timeout error occurs, click the Setting tab and modify the following parameters:
      • sync one table timeout(s): the timeout period for table synchronization. Default value: 5. Unit: seconds.
      • sync one function timeout(s): the timeout period for function synchronization. Default value: 30. Unit: seconds.
    • Use the configuration file to automatically configure the parameters.
      Parameter Description
      Properties File The directory where the configuration file odps_config.ini of the MaxCompute client (odpscmd) is saved. For more information, see Install and configure the MaxCompute client. The configuration file is used to initialize the settings of the Access Id, Access Key, Project Name, and End Point parameters.
      AK Account The Alibaba Cloud account that is used to connect to the MaxCompute project. You can click the plus sign (+) and select an existing account on the Accounts page.
      Note If no accounts exist, you must click the plus sign (+) and select Aliyun Account By AccessKey to add an account on the Accounts page. You can manually add an account or use the configuration file to automatically add it. For more information about the Accounts page, see Accounts configuration items.
    • Manually configure the parameters.
      Parameter Description
      Access Id The AccessKey ID that is used to connect to the MaxCompute project.
      Access Key The AccessKey secret that is used to connect to the MaxCompute project.
      Project Name The name of the MaxCompute project.
      Note This parameter specifies the name of your MaxCompute project rather than that of the DataWorks workspace to which the project corresponds. Log on to the MaxCompute console and view the name of your project and the DataWorks workspace to which the project corresponds on the Project management tab.
      End Point The endpoint of the MaxCompute project.
  4. Click OK. The Project Explorer page shows information about the MaxCompute project, including the tables, views, UDFs, and resources.

Step 3: Modify the connection to a MaxCompute project

  1. On the Project Explorer page, right-click the MaxCompute project whose connection you want to modify and select Modify project properties.
    **
  2. In the Modify MaxCompute project dialog box, modify the configurations of the MaxCompute project.

What to do next

After the MaxCompute project is connected, you can manage and view the data and resources of the project. For more information, see Manage data and resources.