A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/maps/documentation/directions/cloud-setup below:

Set up your Google Cloud project | Directions API (Legacy)

Skip to main content Set up your Google Cloud project

Stay organized with collections Save and categorize content based on your preferences.

This guide shows how to set up your Google Cloud project before using the Google Maps Platform APIs. While you may have completed some of these steps in the Quickstart or Getting started with Google Maps Platform page, this document provides additional, useful instructions for managing your projects.

Create a project

To use Google Maps Platform, you must have a project to manage services, credentials, billing, APIs, and SDKs.

Billing setup is required for each project, but you will only be charged if a project exceeds its quota of no-charge services.

To create a Cloud project with billing enabled:

Console
  1. Create a new Google Cloud project in the Cloud console:

    Create new project
  2. On the New Project page, fill in the required information:

  3. Select Create.

gcloud
gcloud projects create "PROJECT"

Read more about the Google Cloud SDK , Cloud SDK installation , and the following commands:

Enable billing

To deploy your apps, you must enable billing. Your account won't be charged if you stay within your monthly quota. If your application needs resources that exceed the monthly quota, you will be charged for the additional usage.

If you have a billing account when you create a Cloud project, then billing is automatically enabled on that project.

To enable billing on a Cloud project:

  1. In the Cloud console, go to the Billing page:
    Go to the Billing page
  2. Select or create a Cloud project.
  3. Depending on if a billing account exists or if the selected Cloud project is associated with an account, the Billing page displays one of the following:

After you enable billing, there is no limit to the amount that you might be charged. To gain more control over your costs, you can create a budget and set alerts. For more information, see Billing.

Enable APIs

To use Google Maps Platform, you must enable the APIs or SDKs you plan to use with your project.

Console

Enable the Directions API

Cloud SDK
gcloud services enable \
    --project "PROJECT" \
    "directions-backend.googleapis.com"

Read more about the Google Cloud SDK , Cloud SDK installation , and the following commands:

View enabled APIs Shut down a project

You can disable billing and release all the Cloud resources that are being used in your Cloud project by shutting down that project:

What's next

After setting up your Google Cloud project, you must create and secure your API Key to use the Directions API:

Use API Keys

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-14 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["This guide provides instructions on setting up a Google Cloud project to use with Google Maps Platform APIs, including billing and API enablement."],["Before using Google Maps Platform APIs, you must create a Cloud project, enable billing, and enable the specific APIs you need."],["Although billing setup is required, you are only charged if your project usage surpasses the free tier quota."],["Projects can be shut down to disable billing and release Cloud resources when they are no longer needed."],["After project setup, you'll need to create and secure an API key for using the Google Maps Platform APIs."]]],["To use Google Maps Platform, you must first create a Google Cloud project, defining its name, ID, billing account, and organization. Billing must be enabled, though you're only charged if your usage exceeds the monthly quota. You also need to enable specific APIs or SDKs through the console or Cloud SDK. You can view enabled APIs, or shut down projects to disable billing and release resources, by using the console or command line. Then, you need to create and secure an API key.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4