Skip to content

/ Creating Google API Key§

Disclaimer§

The following process is provided for supplemental purposes only. For exact and detailed instructions, please refer to the official Google API Documentation.

Prerequisites§

  • Sign in to your Google account.

Process§

  1. In your web browser, open

    https://console.cloud.google.com/

  2. Create a project for the API key:

    1. In the toolbar (upper part of the window) click Select a project.
      The Select a project dialog appears.

    2. In the dialog that appears, in the top right part, click  New Project.
      New project view appears.

    3. In the view, in the Project Name field, enter your project name. Then click Create.

  3. Select the created project:

    1. In the upper part of the page (toolbar), click Select a project.
    2. In the dialog that appears, select the Recent tab.
    3. In the list of recent projects, click the created project.
    Tip

    For quick access, use the following URL:

    https://console.cloud.google.com/welcome?project=<your project ID>
    
  4. Create an API key:

    1. In the window, in the Quick access area, click APIs & Services.
      API section appears.

    2. In the window that appears, in the menu that appears in the left, click Credentials.
      List of credential types appears.

      Tip

      For quick access to the section, use the following URL:

      https://console.cloud.google.com/apis/credentials?project=<your project ID>
      
    3. In the right pane, next to the Credentials title, expand  Create credentials, and then select API key.
      Generated key appears in the API key created dialog.

    4. In the dialog, click Copy  to copy the key for the future use.

    5. In the dialog, click Close.
    6. In the API Keys area, in the entry with the created key, right click Actions , and then select Edit API key.
      The key settings appear.

  5. Set up application restrictions for the key:

    1. In the window that appears, in the Application Restrictions area, click Websites.
    2. In the Website area, set up domain names for your Dispatcher App hosts that will access Google Maps.
  6. Set up API key use restrictions:
    1. In the API restrictions area, click Restrict Key.
    2. From the Select APIs list, select Maps JavaScript API.
    3. Additionally, from the same list, select Places API.
  7. Click Save to save changes.

Postrequisites§