o7planning

Create Credentials for Google Drive API

View more Tutorials:

1- Create Credentials

Suppose that you have a Gmail account: abc@gmail.com, then the Google will provide you with 15GB of hard drive space free of charge on Google Drive. You can store your files on it. For your application to be able to manipulate with the files on Google Drive, it needs a credentials. The credentials is simply a file which will be placed on the computer where your application is being deployed like the following illustration:
You need to create a project on Google API Console, and a Credentials and download this Credentials file to your computer.
First of all, log in your Gmail account and then access the following link:
Press "Continue" to start to create a project.
On the "Create Credential" site, press "Cancel" to skip.
On the "OAuth consent screen" tab, enter your email and Product name where you should enter your company name)
Chọn kiểu ứng dụng là Other, và nhấn nút Create.
Press "Download" to download  the Credentials file which is in JSON format.
After downloading, you obtain a file with very long name, change its name into client_secret.json

2- Enable Google Drive API

Next you need to enable Google Drive API.
Click the "Enable" button to enable the Google Drive API.

3- Google Drive API

View more Tutorials:

Maybe you are interested

These are online courses outside the o7planning website that we introduced, which may include free or discounted courses.