🛠️ Step-by-Step Setup
- Go to Google Cloud Console and ensure you are signed in.
- Create a Project: Click Select a project at the top left, choose New Project, name it, and hit Create.
- Enable the PageSpeed API:
- Open the left menu sidebar and go to APIs & Services > Library.
- Search for “PageSpeed Insights API”.
- Click on it and press Enable.
- Copy the generated text string (it usually starts with
AIzaSy)
You can paste the API in the JuiceBox Settings – Google PageSpeed Insights API Key
🔒 Recommended Security Best Practice
To prevent others from stealing your quota, restrict your key right after creating it:
- Click Edit API Key (or the pencil icon next to your key).
- Scroll down to API restrictions and check Restrict key.
- Select PageSpeed Insights API from the dropdown menu and click Save.