Registering a project with Google


Please Share

Google Cloud Platform Are you in the process of developing an application designed to incorporate one one or more of the Google APIs? Do you already have an application and want to add Google data to it? Before you can access most of the Google APIs you must register your project on Google Developer console.    In this post we will look at how to create your first project and set up the consent screen.

This article is part of a 6 part series designed to help you on your way to becoming a Google Developer.


Let us get started ….

What is the Google Developer console?

The Google Developers Console is a site used by developers for for managing and viewing traffic data, authentication, and billing information for the Google APIs that their projects uses.

Within the Google Developers Console, you can find  all the settings, credentials, and metadata about the application or applications you’re working on that make use of Google APIs.  The Developers Console is where you manage the settings for your project, such as generating API credentials, activating APIs, and managing  billing information for your project.

To access most Google APIs your project must be registered on the Google Developer console.

Why do I need to register my application?

By creating a project on the Google Developers console Google can keep track of which applications are making requests to their APIs.   They can track the number of request that are being sent by each application and make sure that the API is not being excessively spammed by one application.

They can keep track of Quota (the number of requests being sent) in order to require billing if necessary.

Creating a new project

From the Google developers console click on select project and go to create project.   Here we are going to create a new project.
Google Developer console create project

A window will pop up where you can supply a name for this project. This is just an internal name used for the project on Google developers console no one else is going to see it besides you.
Google Developer console create new project

Once you click on Create a progress window will appear in the bottom right corner of your browser

Google Developer console project created

Once it is complete click on the link and come to your new project.

Credentials screen

Google developers console consent screen

One of the most important things to remember to set up first is the consent screen.     Under APIs & auths -> credentials select the second tab oauth consent screen

Make sure that an email has been selected and give your project a name.    This is the name that will appear to the users when they authenticate your application, the email address will also be shown to them for support.

Failure to supply this normally results in an Error: invalid_client no application name error from Google.

Conclusion

We have now created our first project on Google Developers console.   Remember it is very important to set the information on the consent screen to avoid an invalid_client error from Google when making requests.

Join me in the next post where we will look at adding APIs to our project and discuss the quota for the APIs.

Remember to check the previous post in this series.   Google Development for Beginners

 

Please Share


Linda Lawton

About Linda Lawton

My name is Linda Lawton I have more than 20 years experience working as a developer and a database expert. I have been working with several of the Google APIs, since 2012. I helping others in the On-Line community to develop with the Google APIs, by creating my own blog www.daimto.com. This and my presence on a number of On-Line developer forums lead me to be noticed by the Google Analytics API development team. I was nominated for and recently became one of the first Google Developer Experts for Google Analytics.

Leave a comment

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