Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Set up gcloud CLI and enable the API\n\nThis page describes how to set up a project. You need a project before you can\ncreate resources for Oracle Database@Google Cloud.\n\nIn order to create resources using Oracle Database@Google Cloud, you must have an active\nmarketplace order on the same billing account that you want to create\nresources on and have the Oracle Database@Google Cloud API enabled. This guide walks you through\nhow to set up your project.\n\nBefore you begin\n----------------\n\n- Confirm that you have an active marketplace order and that your\n Oracle Cloud Infrastructure (OCI) account is linked to the order. If\n you don't have an active order,\n [Place an order](/oracle/database/docs/overview#place-an-order) for more information.\n\n- [Install Google Cloud CLI](/sdk/docs/install-sdk) on your development\n machine.\n\nSet up a Google Cloud project\n-----------------------------\n\nTo install Google Cloud CLI on your Google Cloud project and to enable the\nOracle Database@Google Cloud API, complete the following steps:\n\n1. In the Google Cloud console, on the project selector page, select or create\n a Google Cloud project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n | **Important:** The name you use must be between 4 and 30 characters. When you type the name, the form will suggest a project ID, which you can edit. The project ID you use must be between 6 and 30 characters, with a lowercase letter as the first character. You can use a dash, lowercase letter, or digit for the remaining characters, but the last character cannot be a dash. You should be aware that some resource identifiers (such as project IDs) might be retained beyond the life of your project. For this reason, avoid storing sensitive information in resource identifiers.\n ...see naming guidelines\n2. Open a terminal window, and set your project as the default project for the\n Google Cloud CLI using the following command:\n\n gcloud config set project '\u003cvar translate=\"no\"\u003eMY_PROJECT_ID\u003c/var\u003e'\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eMY_PROJECT_ID\u003c/var\u003e: the ID of your project (not the project name)\n\n\n3.\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\nThis project must match the project that your [Oracle Database@Google Cloud order](#before-you-begin) is linked to.\n4. Enable the Oracle Database@Google Cloud API for the project.\n\n\n [Enable the Oracle Database@Google Cloud API](https://console.cloud.google.com/flows/enableapi?apiid=oracledatabase.googleapis.com)\n\n \u003cbr /\u003e\n\nWhat's next\n-----------\n\n- Learn how to [create](/oracle/database/docs/create-instances) an instance.\n- Configure [Identity and Access Management roles](/oracle/database/docs/iam-roles) for an instance."]]