Registering a project with Google


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.
[wp_ad_camp_3]

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.

[wp_ad_camp_2]

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

 


About Linda Lawton

My name is Linda Lawton I have more than 20 years experience working as an application developer and a database expert. I have also been working with Google APIs since 2012 and I have been contributing to the Google .Net client library since 2013. In 2013 I became a a Google Developer Experts for Google Analytics.

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.