How to get Google API Key
📋 Prerequisites
- Google
Account: A standard Gmail or Google Workspace account.
- Billing
Method: A valid credit card or bank account is required for
identity verification. You will not be charged unless you exceed the
10,000-request monthly limit.
🛠️ Step-by-Step
Instructions
1. Create a Google Cloud Project
- Go
to the Google
Cloud Console.
- Click
the project dropdown in the top bar and select "New Project".
- Name
your project (e.g., "MyCommuteMatrix")
and click Create.
2. Set Up a Billing Account
- In
the left-hand menu, go to Billing.
- Click
"Add Billing Account" or "Link a Billing
Account".
- Enter
your payment details.
3. Enable the Routes API
- Go
to APIs & Services > Library in the sidebar.
- Search
for "Routes API".
- Select
it and click the Enable button.
4. Generate Your API Key
- Navigate
to APIs & Services > Credentials.
- Click
+ Create Credentials at the top and select API Key.
- A
dialog box will appear with your new key. Copy this string for use
in your dashboard.
- Keep the key secret.
Optionally, you can also limit the usage by quota to ensure it stays free.