This page shows you how to install the Cloud Tools for IntelliJ plugin and get ready to deploy a Google App Engine project from within IntelliJ IDEA.

Before you begin

  1. Sign in to your Google account.

    If you don't already have one, sign up for a new account.

  2. Select or create a Cloud Platform project.

    Go to the Manage resources page

  3. Enable billing for your project.

    Enable billing

  4. Make sure that the following software is installed on your local system:
  5. Install the Google Cloud SDK Java Extensions by running the following command locally in your terminal:
    gcloud components install app-engine-java
Do not run this command in the same directory where you installed the Cloud SDK.

Install and Set Up Cloud Tools for IntelliJ

To install the plugins:

  1. From inside IDEA, open File > Settings. Or, on Mac OS X, open IntelliJ IDEA > Preferences.
  2. In the navigation pane, select Plugins.
  3. Click Browse repositories.
  4. In the dialog that opens, select Google Cloud Tools.
  5. Click Install.
  6. Click Close.
  7. Click OK in the Settings dialog.
  8. Click Restart.
  9. Configure the Cloud SDK location:
    1. Open File > Settings or on Mac OS X open IntelliJ IDEA > Preferences.
    2. Choose Google > Cloud SDK or Other Settings > Google > Cloud SDK.
    3. Browse to the location where you installed the Cloud SDK. If you aren't sure where you installed it, you can run gcloud info to display its location if you used the interactive installer or added it to your environment's PATH variable.
  10. Configure the project JDK:
    1. Open File > Project Structure or on Mac OS X open IntelliJ IDEA > Project Structure.
    2. Choose Project Settings > Project.
    3. If the Project SDK is missing, click New... and choose a JDK.

What's next

Send feedback about...

Cloud Tools for IntelliJ