Creating and configuring the API key in the Google Cloud Platform console

  1. Sign in the Google Cloud Platform console.
  2. From the navigation pane, select APIs & Services > Credentials.
  3. Select Create credentials > API key .
  4. Click RESTRICT KEY.
  5. In the Application restrictions section, click HTTP referrers (web sites).
  6. In the Website restrictions section, click ADD AN ITEM.
  7. Specify the URL for your web shop. To ensure that all pages in your web shop are validated, specify a forward slash and asterisk after the URL. For example, specify https://www.mywebshop.com/*.
  8. If you have more than one web shop, repeat steps 6 and 7 for your other web shops.
  9. Click ADD AN ITEM.
  10. Specify the URL for the Stores form in the Business Center. Ensure that you include a forward slash and asterisk after the URL. For example, specify https://mysite.infor.com/ecomapp/bc/*.
    Note: To identify the URL of the Business Center, Right-click any form in the Business Center and select View frame source. The URL is displayed in the address bar. When you add the URL in the Google Cloud Platform Console, omit the final part of the address. For example, if the frame source is https://mysite.infor.com/ecomapp/bc/Welcome.jsp, use https://mysite.infor.com/ecomapp/bc/* as the URL.
  11. In the API restrictions section, click Restrict key. Restrict the key to these APIs:
    • Distance Matrix API
    • Maps JavaScript API
    • Places API
  12. Click Save.