← BACK TO HELP
How to register and set Up a google fonts API access key?
Google Fonts is an extensive library of free and open-source web fonts, offering a simple and effective way to enhance the visual appeal of your website or application. To access this library programmatically, you need a Google Fonts API access key. This blog post will guide you through the steps to register for and set up a Google Fonts API access key.
Step 1: Create a Google Cloud Account
To begin, you need a Google Cloud account. If you already have a Google account (for Gmail, Google Drive, etc.), you can use the same credentials to sign in. If not, create a new account at Google Cloud.
Step 2: Access Google Cloud Console
Once logged in, navigate to the Google Cloud Console. This is your dashboard for all Google Cloud services, including API management.
Step 3: Create a New Project
In the Google Cloud Console:
- Click on “Select a project” at the top of the page.
- In the popup, click on “NEW PROJECT”.
- Enter a project name and select a billing account if required.
- Click “Create”.
Step 4: Enable the Google Fonts API
After creating your project:
- Go to the “APIs & Services” dashboard.
- Click “+ ENABLE APIS AND SERVICES”.
- Search for “Google Fonts API”.
- Click on it and then click “ENABLE”.
Step 5: Create an API Key
Now, you need to create an API key for your project:
- In the “APIs & Services” dashboard, click on “Credentials”.
- Click on “+ CREATE CREDENTIALS” at the top of the page.
- Select “API key”. The API key will be created and displayed to you.
- (Optional) Click on the API key to set API restrictions for added security.