How To Get Access Token Google Api Updraftplus

UpdraftPlus is a popular WordPress plugin that allows you to back up your website automatically. One of the features of UpdraftPlus is the ability to store your backups in Google Drive. To do this, you need to get an access token for Google API. In this article, we will explain how to get an access token for Google API UpdraftPlus.

Step 1: Create a Google Developer Account

The first step is to create a Google Developer account. Go to the Google Developers Console website and click on “Create Project”. Enter a project name and click on “Continue”. You will be taken to the dashboard of your new project.

Step 2: Enable Google Drive API

Next, you need to enable the Google Drive API. Go to the “APIs & Services” section of the dashboard and click on “Enable APIs and Services”. Search for “Google Drive API” and click on it. Click on “Enable” to enable the API.

Step 3: Create a Service Account

Now, you need to create a service account. Go to the “IAM & Admin” section of the dashboard and click on “Service Accounts”. Click on “Create Service Account” and enter a name for your service account. Make sure to select “Furnish a new private key” and choose JSON as the key type. Click on “Create” to create the service account.

Step 4: Download the Private Key

After creating the service account, you will be taken to the service account details page. Scroll down to the “Private Keys” section and click on “Create”. Choose JSON as the key type and click on “Create”. The private key will be downloaded to your computer.

Step 5: Configure UpdraftPlus

Finally, you need to configure UpdraftPlus to use the access token. Go to the UpdraftPlus settings page and click on “Google Drive”. Enter the client ID and client secret from your service account details page. Click on “Save Changes” to save your settings.

Conclusion

In conclusion, getting an access token for Google API UpdraftPlus is a simple process that involves creating a Google Developer account, enabling the Google Drive API, creating a service account, downloading the private key, and configuring UpdraftPlus. By following these steps, you can easily store your website backups in Google Drive using UpdraftPlus.