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.
Table of Contents
- 1 How to Install Google Assistant on Windows PC
- 1.1 Downloading Python
- 1.2 Configuring the Google Assistant API to Install Google Assistant for Windows
- 1.3 Credential Questions
- 1.4 Installing the Google Assistant Sample Using Python Project
- 1.5 Installing Google Assistant Using Testing Google Assistant on Windows PC
- 1.6 Registering Device to Install Google Assistant on Windows PC
- 1.7 Using AutoVoice for 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.
- First, you can click on this link to download Python for your Windows PC.
- Proceed to download the latest Python release, say Python 3.6.4, and run the installer once you finish downloading it.
- Check the mark on the box next to “Add Python (version) to PATH” and select the option “Customize installation”.
- Check everything in the current window and proceed to click on the “Next” button.
- Once the next window appears, check on the box next to the option “Add Python to environment variables“.
- Then, click on the option “Install” and wait for the Python installation to finish.
- After the installation is complete, you can restart your Windows PC.
- Once the PC turns back on, press Windows and X buttons at the same time.
- Afterward, you can choose the option “Command Prompt (Admin)”.
- On the command prompt, type python and press Enter.
- 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.
- Head to the Google Cloud Platform Console official site and click on the option “CREATE PROJECT”.
- Proceed to name your project with the name you wish for and click on the option “Create”.
- Wait until your new project is finally realized.
- After the project is made, you can see the bell icon on the top right corner. Click on it and choose your project.
- You will be taken to your project page at once.
- On the left-hand menu of the project page, click on “APIs & Services”.
- Afterward, you can choose the section “Library”.
- Once you get on the Library page, search for “Google Assistant” immediately by typing it in the search box.
- On the search result, click on the option “Google Assistant API” and click on the option “Enable”.
- Afterward, find the option”Credentials” on the left-hand menu and proceed to select the option “Create credentials”.
- Then, you can select the option “Help me choose”.
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.
- Once you finish with the credential questions, you can now select the option “What credentials do I need?“.
- Afterward, you can type the name of the Client ID with any names you like.
- Proceed to click on the option “Create Client ID”.
- Then, you can click the option “Done” and open a new tab.
- Head to the section “Activity controls” from this point on.
- Turn on all the toggles if they are not turned on yet.
- Head back to the Credentials tab again at once.
- Proceed to click on the download icon on the far right of the screen in order to download the credentials.
- Save the credentials safely on your Windows 10 PC drive.
Installing the Google Assistant Sample Using Python Project
- First, press Windows and X buttons at the same time.
- Afterward, you can click on the option “Command Prompt (Admin)”.
- Once the Command Prompt window appears, you can type py -m pip install google-assistant-sdk[samples] on it and press Enter.
- Proceed to type pip install –upgrade google-auth-oauthlib[tool] afterward and press Enter.
- 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.
- Wait until the commands above finish processing.
- Once the process finishes, an URL will appear shortly after.
- Proceed to open the Web browser on your Windows 10 PC and find the option “navigate to this URL”.
- Afterward, you can choose your Google account or other Google account you use to configure the Google Assistant API.
- A new page will appear and a code will be displayed as your client’s Access Token.
- Proceed to copy the code and paste it into the Command Prompt window.
- 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
- First, you can press Windows and X buttons at the same time.
- Afterward, choose the option “Command Prompt (Admin)”.
- Then, you can type pip install –upgrade google-assistant-sdk[samples] into the Command Prompt window and press Enter.
- 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.
- If you can successfully hear the audio then you can move to the next step.
- 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
- Head to the directory of your PC where you save the downloaded Client Secret file earlier.
- 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.
- 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.
- Type “googlesamples-assistant-pushtotalk” into the Command Prompt window and press Enter to open Google Assistant on your Windows 10 PC.
- At last, wait until you see an output “press Enter to send a new request”.
- 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.