How to create Google API
Create Google API Key
An API key is required to authenticate with Google PageSpeed Insights API. You need to attach the API key to the URL of the Google PageSpeed Insights API.
Before getting started, follow the below steps to enable the PageSpeed Insights API library and create an API key.
- Go to the Google Developers Console.
- Select the project from the Project drop-down menu at the top. If you don’t have an existing project, create a new one.
- In the sidebar, select Library under the APIs & Services section.
- Search for the PageSpeed Insights API service in the API list and select PageSpeed Insights API.
- Click the ENABLE button to make the PageSpeed Insights API Library available.
- In the sidebar, select Credentials under the APIs & Services section.
- In the Credentials page, select Create credentials » API key.
- The API key will be created and a dialog will appear with the newly created API key.
Copy the API key for later use in the script on Google PageSpeed Insights API request.
In Elite-WPP –> Settings, paste your Google API Key.
