DataGrip 2025.3 Help

Google Cloud

Step 1. Configure a Google Cloud connection

  1. In the Database Explorer (⌘ 1) , click the New icon New on the toolbar. Navigate to Data Source from Cloud Provider and select Google Cloud.

    Selecting Google Cloud from the cloud provider submenu in Database Explorer
  2. DataGrip opens the Clouds section on the left-hand side of Data Sources and Drivers dialog. Iin this section, enter your cloud provider account connection details on the Configuration tab of the settings area.

    1. From the Authentication type dropdown, select the authentication method you want to use.

      • GCloud Account: this will open your browser where you can sign in to your Google account. Once authenticated, select the Project ID.

      • Credential File: enter a path to the credential JSON file.

    2. You can also set up Extended Connection Settings:

      • Proxy: select if you want to use IDE proxy settings or if you want to specify custom proxy settings.

      • Custom host: enter your custom endpoint URL, for example, if you want to use it to mock a Google Cloud server.

    Cloud provider dialog
  3. Run a test connection by clicking Test connection at the bottom of the connection details area.

  4. Click Apply to save the connection configuration.

Step 2. Create a data source

To create a data source for a database stored in the cloud provider, do the following.

  1. In the Clouds section on the left-hand side of the dialog of Data Sources and Drivers dialog, open the Databases tab of the settings area.

  2. On the Databases tab, DataGrip displays the list of databases available in the account. Select the databases you want to connect to. To select multiple databases, click them holding Shift.

  3. To create a data source for the selected database, click Create data source.

    DataGrip saves the cloud provider connection configuration and opens the Data Sources section on the left-hand side of the dialog. The IDE also automatically fills the database connection details in the corresponding fields of the General tab of the settings area.

  4. Type your user credentials.

  5. Ensure that the database connection can be established using the provided details. To do this, click the Test Connection link at the bottom of the connection details section.

    Test Connection link

    If you encounter any connection issues, refer to the Cannot connect to a database page.

  6. (Optional) By default, only the default schema is introspected and available to work with. If you also want to work with other schemas, in the Schemas tab, select them for the introspection.

    Schemas tab of the Data Sources and Drivers dialog
  7. Click OK to create the data source.

  8. Find your new data source in Database Explorer (⌘ 1) .

    • For more information about Database Explorer, see the corresponding reference topic.

    • For more information about working with database objects in DataGrip, refer to Database objects.

    • To write and run queries, open the default query file by clicking the data source and pressing F4.

    • To view and edit data of a database object, open Data editor and viewer by double-clicking the object.

20 November 2025