How to get Google API Key


📋 Prerequisites


🛠️ Step-by-Step Instructions

1. Create a Google Cloud Project

  1. Go to the Google Cloud Console.
  2. Click the project dropdown in the top bar and select "New Project".
  3. Name your project (e.g., "MyCommuteMatrix") and click Create.

2. Set Up a Billing Account

  1. In the left-hand menu, go to Billing.
  2. Click "Add Billing Account" or "Link a Billing Account".
  3. Enter your payment details.

3. Enable the Routes API

  1. Go to APIs & Services > Library in the sidebar.
  2. Search for "Routes API".
  3. Select it and click the Enable button.

4. Generate Your API Key

  1. Navigate to APIs & Services > Credentials.
  2. Click + Create Credentials at the top and select API Key.
  3. A dialog box will appear with your new key. Copy this string for use in your dashboard.
  4. Keep the key secret. Optionally, you can also limit the usage by quota to ensure it stays free.