The Best Method to Install Google Assistant for Windows

With a lot of AI assistants in the market today, you must have been familiar with Google Assistant for Windows. A lot of smartphone users have used Google Assistant AI for the past few years. It is one of the most used virtual personal assistants which everyone has come to know and love. As an AI generated program, Google Assistants definitely makes certain things easier for smartphone users. But what can Google Assistants offer for Windows PC users?

In order to use Google Assistants, you must have an active Google app first on your device. This goes for Android device users as well as iPhone users. With Google Assistant, Google can finally compete in the market of AI. In comparison to Siri, Amazon Alexa, Cortana, and many other AIs, Google Assistant proves itself to be worthy of the praise. Google Assistant is readily available on any devices and can be easily used. Despite the availability of Google Assistant in the mobile device market, this AI personal assistant can hardly be available on PC or other smart home devices just yet. Unlike any movie streaming apps for Android or Windows skins, installing Google Assistant on Windows PC takes a couple of adjustments.

Nevertheless, you do not have to worry for you can now install Google Assistant on your Windows 10 PC. All you have to do is following the most efficient methods to get you to enjoy the service of Google Assistant on your Windows 10 PC. Take a look at a couple of methods to install Google Assistant for Windows 10 below. See which one works best for you.

How to Install Google Assistant on Windows PC

How to Install Google Assistant on Windows PC
How to Install Google Assistant on Windows PC

In order to install Google Assistant for Windows 10, you must have a certain app first. This app can help you install the program which is not meant for PC easily. Before we get to the various methods of installing Google Assistant for Windows, you must download a special app called Python first. Take a look at what you need to do below.

Downloading Python

Python for Windows
Python for Windows
  1. First, you can click on this link to download Python for your Windows PC.
  2. Proceed to download the latest Python release, say Python 3.6.4, and run the installer once you finish downloading it.
  3. Check the mark on the box next to “Add Python (version) to PATH” and select the option “Customize installation”.
  4. Check everything in the current window and proceed to click on the “Next” button.
  5. Once the next window appears, check on the box next to the option “Add Python to environment variables“.
  6. Then, click on the option “Install” and wait for the Python installation to finish.
  7. After the installation is complete, you can restart your Windows PC.
  8. Once the PC turns back on, press Windows and X buttons at the same time.
  9. Afterward, you can choose the option “Command Prompt (Admin)”.
  10. On the command prompt, type python and press Enter.
  11. You will then be directed to the current Python version on your Windows PC. If not, then you must try to install the Python program again.

Configuring the Google Assistant API to Install Google Assistant for Windows

Once you have a Python app on your Windows PC, you can now install Google Assistant on it. In this method, we will use the Google Assistant API to help you install Google Assistant for your Windows 10 PC. To perform this method, you can follow the steps below.

  1. Head to the Google Cloud Platform Console official site and click on the option “CREATE PROJECT”.
  2. Proceed to name your project with the name you wish for and click on the option “Create”.
  3. Wait until your new project is finally realized.
  4. After the project is made, you can see the bell icon on the top right corner. Click on it and choose your project.
  5. You will be taken to your project page at once.
  6. On the left-hand menu of the project page, click on “APIs & Services”.
  7. Afterward, you can choose the section “Library”.
  8. Once you get on the Library page, search for “Google Assistant” immediately by typing it in the search box.
  9. On the search result, click on the option “Google Assistant API” and click on the option “Enable”.
  10. Afterward, find the option”Credentials” on the left-hand menu and proceed to select the option “Create credentials”.
  11. Then, you can select the option “Help me choose”.

Credential Questions

After you click on the option “Help me choose”, you will now be directed to “Add credentials to your project” window. These are the questions and the answers you should fill in.

  • Question: Which API are you using?
    Answer: Google Assistant API
  • Question: Where will you be calling the API form?
    Answer: Other UI (e.g. Windows, CLI tool)
  • Question: What data will you be accessing?
    Answer: User data

Afterward, you can resume the process of installing Google Assistant from Google Assistant API by following the steps below.

  1. Once you finish with the credential questions, you can now select the option “What credentials do I need?“.
  2. Afterward, you can type the name of the Client ID with any names you like.
  3. Proceed to click on the option “Create Client ID”.
  4. Then, you can click the option “Done” and open a new tab.
  5. Head to the section “Activity controls” from this point on.
  6. Turn on all the toggles if they are not turned on yet.
  7. Head back to the Credentials tab again at once.
  8. Proceed to click on the download icon on the far right of the screen in order to download the credentials.
  9. Save the credentials safely on your Windows 10 PC drive.

Installing the Google Assistant Sample Using Python Project

  1. First, press Windows and X buttons at the same time.
  2. Afterward, you can click on the option “Command Prompt (Admin)”.
  3. Once the Command Prompt window appears, you can type py -m pip install google-assistant-sdk[samples] on it and press Enter.
  4. Proceed to type pip install –upgrade google-auth-oauthlib[tool] afterward and press Enter.
  5. Once again, type the command google-oauthlib-tool –client-secrets path/to/client_secret_XXXXX.json –scope https://www.googleapis.com/auth/assistant-sdk-prototype –save –headless on the Command Prompt window and press Enter.
  6. Wait until the commands above finish processing.
  7. Once the process finishes, an URL will appear shortly after.
  8. Proceed to open the Web browser on your Windows 10 PC and find the option “navigate to this URL”.
  9. Afterward, you can choose your Google account or other Google account you use to configure the Google Assistant API.
  10. A new page will appear and a code will be displayed as your client’s Access Token.
  11. Proceed to copy the code and paste it into the Command Prompt window.
  12. Once you paste the code and press Enter, you will have the credentials saved on your Windows 10 PC.

At this point, you the credentials you need to install Google Assistant on your Windows 10 PC should be saved already

Installing Google Assistant Using Testing Google Assistant on Windows PC

  1. First, you can press Windows and X buttons at the same time.
  2. Afterward, choose the option “Command Prompt (Admin)”.
  3. Then, you can type pip install –upgrade google-assistant-sdk[samples] into the Command Prompt window and press Enter.
  4. Afterward, you can use the Test Google Assistant app to see if the Google AI can have proper access to your microphone. To do this you can type the command “googlesamples-assistant-audiotest –record-time 10” into the Command Prompt window and press Enter. The 10-second audio recording will begin at once.
  5. If you can successfully hear the audio then you can move to the next step.
  6. Afterward, you will need to register your device before using Google Assistant on your Windows 10 PC.

Registering Device to Install Google Assistant on Windows PC

  1. Head to the directory of your PC where you save the downloaded Client Secret file earlier.
  2. Open the Command Prompt window again and type googlesamples-assistant-devicetool register-model –manufacturer “Assistant SDK developer” –product-name “Assistant SDK light” –type LIGHT –model Name_Anything on the Command Prompt window. Press Enter afterward.
  3. Then, you can type the command “googlesamples-assistant-pushtotalk –project-id #Value# –device-model-id Name_Anything” and press Enter. You must replace Name_Anything with the name you prefer and name the #Value# with the project ID you made earlier.
  4. Type “googlesamples-assistant-pushtotalk” into the Command Prompt window and press Enter to open Google Assistant on your Windows 10 PC.
  5. At last, wait until you see an output “press Enter to send a new request”.
  6. Once you see it, you can press Enter to start operating and talk to Google Assistant.

Using AutoVoice for Google Assistant on Windows PC

1. Head to the Command Prompt with Admin rights once again.

2. Then, you can type the following commands below and press Enter after each one.

py -c "from distutils.sysconfig import get_python_lib; from urllib.request import urlretrieve; urlretrieve('https://joaoapps.com/AutoApps/Help/Info/com.joaomgcd.autovoice/googleassistant/__main__.py', get_python_lib() + '/googlesamples/assistant/__main__.py')"

3. Afterward, you can open Google Chrome and head to the AutoVoice extension page.

4. Look on the right corner of the app page and click the option “ADD TO CHROME”.

5. Afterward, you can set the Wake-up Command to the phrases you like. The general commands will be, “Hey Google” or “Okay Google”.

6. Once you set the AutoVoice commands, you can now enable the option “Always Listening”.

7. Additionally, you can set the “Wake up Expression” differently from the Wake-up Command. Remember that Wake up command is for Google Assistant and the Wake-up Expression is for the AutoVoice extension.

8. Afterward, you can type the command “googlesamples-assistant-pushtotalk” into the Command Prompt window and press Enter.

9. At last, you can begin to use Google Assistant. Try to activate the app by uttering the Wake-up Command onto your computer microphone first. From then on, you can operate Google Talk on Windows 10 and use it to your own liking.

Leave a Comment

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