How to Get Google Assistant on Windows, macOS, and Linux

0

This tutorial is about how to get Google Assistant on Windows, macOS, and Linux. We will do our best for you to understand this guide. I hope you will like this blog How to Get Google Assistant on Windows, macOS, and Linux. If your answer is yes, please share after reading this.

Check how to get the Google Assistant on Windows, macOS and Linux

Google Assistant is an AI developed by Google that makes our lives easier. AI rules almost every device, including smartphones, smart TVs, cars, and more. The voice assistant has made its way to almost every device, but it’s yet to come to desktops, and if you’re one of those people like us who’s been waiting for an app to bring Google Assistant to your computers desktop, then your wait is finally over. . Yes! You read that right, thanks to a developer named Melvin L. Abraham has created an unofficial desktop app that brings Google Assistant to your desktop, and now you can use your voice assistant to get things done on your PC. Let’s take a detailed look at the newly announced app.

Google Assistant is Google’s answer to Amazon’s smart home assistant, Alexa. Initially only available with limited functionality in the Google Allo app, Google Assistant was later introduced with Google Home and Pixel smartphones to bring the full power of Google Assistant to consumers. After a few months of waiting, smartphones running Android 6.0+ have also received Google Assistant, and just a few days ago Google released the Google Assistant SDK, which allows Assistant to work on virtually any platform. form.

Get Google Assistant on Windows/Mac/Linux Machines

You must have Python installed whether or not you are using Windows, macOS, or a GNU/Linux distribution. Installation is quite easy and is already well documented on the Python wiki, so we won’t go into too much detail about getting Python working on your computer. Once Python is working on your machine (you can confirm it is working by opening a terminal/command prompt and then just typing python). If you see that the terminal/command prompt returns the current version of Python on your computer, then you’re golden.

Next, before we can install the files necessary for Google Assistant to work, we need to enable access to the Google Assistant API in the Google Cloud Platform Console.

Configure the Google Assistant API

Below are step-by-step instructions that walk you through the process of enabling the Google Assistant API in the Cloud Platform Console so that you can access Google Assistant through the Python program. All of these steps are platform-independent, which means they are the same for Windows, macOS, and GNU/Linux users.

  • Go to the Projects page in the Google Cloud Platform Console.
  • Click “Create Project” at the top.
  • Name the project “My Google Assistant” and click “Create”.
  • Wait a few seconds for the console to create your new project. You should see a spinning progress icon in the top right.
  • Once you are done creating your project, you will be taken to your project settings page.
  • Click this link to go directly to the Google Assistant API page. At the top, click “Activate”.
  • Google will warn you that you need to create credentials to use this API. Click “Create Credentials” in the top right. This will take you to a setup wizard page where Google will help you determine what kind of credentials you need to use this API.
  • Under “Where will you call the API from”, select “Other UI (e.g. Windows, CLI tool)”. For “what data will you access”, select the “User data” circle. Now tap “What credentials do I need?”
  • Google should recommend that you create an OAuth 2.0 client ID. Name the Client ID whatever you want, for example, your name + Office. Once you are done choosing a name, click on “create a client ID”.
  • Under ‘Product name displayed to users’, enter ‘My Google Assistant’. Click continue.
  • Click “Done”. There is no need to click download here, as we only need the client secret, which we will download below.
  • Now, in the list of OAuth 2.0 Client IDs, you should see the Client ID you just created. On the right, click the download icon to download the client_secret_XXX.json file, where “XXX” is your client ID. Save this file anywhere on your computer, ideally in a new folder called “google assistant”.
  • Go to your Google account activity monitoring page and make sure that “Web & App Activity”, “Location History”, “Device Information”, and “Voice & Audio Activity” are activated. This is so that Google Assistant can read personalized information to you.

Install the Google Assistant sample Python project

  • Open a terminal/command prompt window and perform the following steps. First enter this command:
    • py -m pip install google-wizard-sdk
  • You should see a bunch of downloaded and installed dependencies when you enter this command. These are required for the sample Python project to work. Wait for it to finish.
  • Once done, enter the following command (make sure to adjust the path):
    • py -m googlesamples.assistant.auth_helpers –client-secrets
    • pathtooursecret_client_XXX.apps.googleusercontent.com.json
  • At the command prompt, you will see a response telling you to visit a URL to authorize the app.
  • Copy this access token and paste it into the command prompt where it asks for the authorization code. If successful, you will see a response indicating that your credentials have been saved.

Final words: How to get Google Assistant on Windows, macOS, and Linux

Hope you understand this article How to Get Google Assistant on Windows, macOS, and Linux, if your answer is no, you can ask anything via the contact forum section linked to this article. And if your answer is yes, share this article with your family and friends.

Share.

About Author

Comments are closed.