Menu Close
    Convert your store into Multi Vendor Marketplace

    How to get Google API Key

    In this documentation, we’ll see how you can get Google API Key.

    API KEY

    The API key is a unique identifier that is used to authenticate requests associated with your project for usage and billing purposes.

    Now, to get the keys, follow these instructions:

    Home-–-My-First-Project-–-Google-Cloud-Platform
    • Click the project drop-down and select or create the project for which you want to add an API key.
    Home-–-My-First-Project-–-Google-Cloud-Platform-1
    • Clicking on the NEW PROJECT will redirect you to the following page. Further, click on CREATE to proceed.
    New-Project-–-Google-Cloud-Platform
    • Once the project is created, follow the 2nd step to select the created project from the drop-down menu.
    • Furthermore, you need to click the menu button and select APIs & Services > Credentials. Refer:
    Home-–-Dummy-Project-–-Google-Cloud-Platform
    • On the Credentials page, click Create credentials > API key.
    Credentials-Dummy-Project-Google-Cloud-Platform
    • The API key created dialog displays your newly created API key. Click on RESTRICT KEY before using it in production.
    Credentials-Dummy-Project-Google-Cloud-Platform-1
    • The new API key is listed on the Credentials page under API keys. On the following page, you can rename, copy, regenerate, delete & restrict the created API key.
    screencapture-console-cloud-google-apis-credentials-key-10352928-8ef7-4451-9be2-86af1476e579-2019-12-18-14_35_35-1

    Here you have two kinds of restrictions:

    Application restrictions

    An application restriction controls which websites, IP addresses, or applications can use your API key. You can set one application restriction per key.

    • None
    • HTTP referrers (web sites)
    • IP addresses (web servers, cron jobs, etc.)
    • Android apps
    • iOS apps

    API restrictions

    API restrictions specify the enabled APIs that this key can call

    • Any API
    • Restrict API from the drop-down options
    screencapture-console-cloud-google-apis-credentials-key-10352928-8ef7-4451-9be2-86af1476e579-2019-12-18-14_47_40-1

    Once the key is generated, you need to enable APIs & services

    For this, click on Dashboard > ENABLE APIS AND SERVICES

    APIs-Services-–-APIs-Services-–-Dummy-Project-–-Google-Cloud-Platform

    On the redirected page, search & select the service for which you want to enable the API

    API-Library-Dummy-Project-Google-Cloud-Platform

    Say, we need to enable ‘Maps JavaScript API‘. Click on it, you’ll land on the following page where you need to click on ENABLE.

    APIs-Services-Dummy-Project-Google-Cloud-Platform

    Once enabled, you’ll be redirected to the following page from where you can disable the service & also, view the stats.

    Maps-JavaScript-API-–-Google-Maps-–-Dummy-Project-–-Google-Cloud-Platform

    So, similarly, one can enable multiple services as per the requirement.

    Need Help?

    You can drop your query/suggestion at [email protected] or create your ticket at Webkul UV Desk.
    Checkout Webkul Blogs for more!

    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top