Set up gcloud CLI and enable the API

This page describes how to set up a project. You need a project before you can create resources for Oracle Database@Google Cloud.

In order to create resources using Oracle Database@Google Cloud, you must have an active marketplace order on the same billing account that you want to create resources on and have the Oracle Database@Google Cloud API enabled. This guide walks you through how to set up your project.

Before you begin

  • Confirm that you have an active marketplace order and that your Oracle Cloud Infrastructure (OCI) account is linked to the order. If you don't have an active order, Place an order for more information.

  • Install Google Cloud CLI on your development machine.

Set up a Google Cloud project

To install Google Cloud CLI on your Google Cloud project and to enable the Oracle Database@Google Cloud API, complete the following steps:

  1. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  2. Open a terminal window, and set your project as the default project for the Google Cloud CLI using the following command:

    gcloud config set project 'MY_PROJECT_ID'
    

    Replace the following:

    • MY_PROJECT_ID: the ID of your project (not the project name)

  3. Make sure that billing is enabled for your Google Cloud project.

  4. This project must match the project that your Oracle Database@Google Cloud order is linked to.

  5. Enable the Oracle Database@Google Cloud API for the project.

    Enable the Oracle Database@Google Cloud API

What's next