How can we help?

Table of Contents

Create the Google Pagespeed API Key

An extended version of the following instructions, as well as other documentation, is included in the “documentation” folder of the Goole Pagespeed Insights plugin.

Google Pagespeed Insights requires a Google API Key. Keys are free and can be obtained from Google. To get a key, you will need a Google account, such as a Gmail account. If you do not already have a Google account, you can create one here:

  1. Navigate to
  2. Log in with your Google Account (Create a Google account if you do not have one)
  3. Click the “Create Project…” button.
  4. You should now be looking at the “Services” page; if you are not, click “Services” from the menu on the left.
  5. Scroll down the Services page until you find “PageSpeed Insights API.” Click the Switch to turn it on. You must agree to Google’s Terms and Conditions to continue.
  6. After enabling the API, navigate to the “API Access” page from the left menu. Your API Key can be found under “Simple API Access.” Copy this key to your clipboard.
  7. Paste this API Key into the Options page of Google Pagespeed Insights for WordPress
Still Have a Questions?
Search for additional solutions in the MainWP Community or start your own discussion