How to Install Google Assistant for PC (Windows 10, Mac, Linux)


Now if you’re here, you probably want google assistant for pc, right?

Let me give you a straightforward answer to the question, Can I get a google assistant for pc?

The answer is “Big Yes”.

Even though the procedure requires some technical work, it can give you what you desire i.e google assistant on your pc.

Before I show you the steps, here’s something interesting…

The above google trends data clearly illustrates how many people in the USA are looking for google assistant for pc.

Anyways, this how-to tutorial will solve queries like:

  • Can I get google assistant for pc?
  • Google Assistant for Windows 10
  • How to get google assistant on windows 10?
  • How to install google assistant on windows 10?
  • And many more!

I know that you’re excited to read the rest, right? Hmm…

Don’t Miss: 21+ Awesome Chrome Extensions that can help you be More Productive

Note: Instructions in this How to tutorial applies to Windows 10, Linux, Mac OS, and Chrome browser 😉


How to Get Google Assistant for PC on Windows 10

As of today, there are many AI assistants out there, for example, Siri, Cortana, Amazon Alexa, etc but by far most people rate Google Assistant as one of the best in the market.

Guide_to_Get_Google_Assistant_for_PC

Google Assistant is available on smartphones and smart home devices, but it’s not available for pc, and hence Kevin has to write a guide on how to get google assistant on your pc. By the way, do you know Who Kevin is? (It’s me 😉)

Jokes apart, let’s come back to the topic…

Remember, at the beginning of the tutorial, I mentioned the word “technical”, it’s because you need to follow some command-line instructions.

As of now, this is the only way to get Google Assistant on Windows 10.

Before we get started, make sure you have done two things:

  1. Create a system restore (Not necessary but just in case something goes wrong)
  2. Enable Access to Voice & Audio Activity in your Google Account.

Bonus: I have also attached a video tutorial for better understanding, so if you find my words difficult, watching the video may help you install google assistant on your pc.

Don’t Miss: How to Check your Mouse DPI Easily


How to Install Google Assistant

  1. First, download Python for Windows from here.

Note: For some of you, the latest v 3.8.2 will work and for some, it won’t. It’s a common issue with almost all the versions of python.

So, I would recommend you download a few versions like 3.6.5, 3.6.7, 3.7.7, etc and try each version one by one. (On the download page, you can find all the versions released so far)

  1. Next, you have to install Python software on your Windows 10 PC.
  2. Run the .exe setup.
  3. Now, Checkmark “Add Python 3.6 (version) to Path” & then click on Customize Installation.
Checkmark_Add_Python_to_Path
  1. Now, make sure to enable optional features. Check these settings and click Next.
Enable_optional_features
  1. In the Advanced Options, make sure to check “Add Python to Environment variables”
Check_Add_Python_to_environment_variables
  1. Now, click on Install and then simply wait until Python gets installed on your Windows PC.
Click_Install_then_wait_for_Python_to_get_installed

Once Python is installed, open a command prompt (cmd) and type “python” (without quotations).

If python is installed correctly on your pc, then the command prompt should display your current Python version.

Now, Open Windows File Explorer and navigate to the main drive (usually C:), then create a New Folder with name GoogleAssistant.

Note: Don’t include any space in the folder name. It should be GoogleAssistant not Google Assistant. This will be important in future steps.

The above steps were not as difficult as you thought, right?

Dear friend, the technical part is yet to come 😜. Now let’s move to the next step i.e to configure google assistant API.

Also Check out: 21+ Best Chrome Extensions for Productivity


Configure Google Assistant API

  1. Open Google Cloud Platform in a web browser (Chrome) and select Create Project. Sign in with your Google account if prompted.
Create_project_in_google_cloud_platform
  1. Enter WinGoogleAssistant as your project name, then edit the Project-ID underneath. When you have written down the Project-ID, select Create.

Imp: You will need the Project-ID later to use Google Assistant. Typically, the Project-ID consists of two-three words and a string of numbers separated by dashes.

Create_Project_Name_WinGoogleAssistant_with_project_ID
  1. Now, Open Google Assistant APIs in a new tab, then select Enable to enable the Google Assistant API for your project.
Enable_Google_Assistant_API
  1. After enabling the Google Assistant API, you would probably be landed on the overview tab and from there, Select Create Credentials.
Create_Credentials_in_Google_Assistant_API
  1. On the Add credentials to your project screen, choose the below provided “three responses”:
  • For Which API are you using? choose Google Assistant API.
  • For Where will you be calling the API from? choose Other UI (e.g., Windows, CLI tool).
  • For What data will you be accessing? choose User data.
Select_these_3_credentials
  1. After answering all of the above questions, click on What credentials do I need?
  2. Next, Select Set up OAuth consent screen.
Setup_Consent_Screen
  1. Now, in the OAuth Consent Screen Tab, Change the Application Type to Internal, and then type WinGoogleAssistant in the Application name field, then simply scroll to the bottom of the screen and select Save.
Change_Application_Type_to_Internal
  1. Now, On the Credentials tab, click on Create credentials, then select Help me choose. On the next screen, select the same options as you did in step _ above. Remember the three responses, yes, then select the same options here as well.
  • For Which API are you using? choose Google Assistant API.
  • For Where will you be calling the API from? choose Other UI (e.g., Windows, CLI tool).
  • For What data will you be accessing? choose User data.

Anyways, next step…

  1. Now you need to create an OAuth Client ID, so simply put WGAcredentials in the Name box under Create an OAuth 2.0 client ID, then select Create OAuth client ID.
Name_Credentials_WGAcredentials
  1. Now, simply download the credentials (JSON format) by clicking on the download button or else click on the Done button as you can download it from the credentials page. Let me show you how to do that…

  1. On the credentials page, you can see your OAuth Client ID & other info, focus on the right side of the credentials where 3 icons are displayed, first one is edit, second is delete and the third one is the download icon. It should display Download JSON when you hover over the option.
Download_Credentials_in_JSON_format_from_Credentials_Page
  1. Click on Download and then Save the JSON file in the GoogleAssistant folder you created in the C drive.

Now comes the technical part, let’s dive into CMD…


Install the Google Assistant Sample Python Project

  1. Open the Windows Command Prompt (CMD) as an administrator and enter the following:

py -m pip install google-assistant-sdk[samples]

Install_google_assistant_sdk_command_in_cmd
  1. Wait for the installation to complete, then enter this command:

py -m pip install –upgrade google-auth-oauthlib[tool]

Type_google_auth_command
  1. Now, open Windows File Explorer, C drive, GoogleAssistant folder and then click on the JSON file name and press F2, now Ctrl + A to select all & then Ctrl + C to copy the file name. Another method is to right-click on the JSON file and select Properties.
Right_click_select_properties_of_json_file
  1. By default, you’ll land in the general tab, here, click in the file name field and press Ctrl + A to select all, then press Ctrl + C to copy the weird file name.
Copy_the_json_file_name
  1. Now, come back to the Command Prompt Window and type this command:

google-oauthlib-tool –client-secrets C:\GoogleAssistant\

Then, press Ctrl + V to paste the JSON file name which you copied in the last step. Press the spacebar, and then type this:

–scope https://www.googleapis.com/auth/assistant-sdk-prototype –save –headless

Now, Hit Enter. (By the way, I love to hit enter 😜)

Paste_commands_and_hit_enter
  1. You’ll next see a URL displayed with a prompt to Enter the authorization code. (Don’t worry, you have that) Just Highlight the entire URL, starting with https://, and then press Ctrl + C to copy the whole URL
Prompt_asking_authorization_code
  1. Now, Open a browser and paste the copied URL into the URL field & hit enter. Now, Select the same Google account you used earlier to configure the Google Assistant API.

For some reason, I’m using Aditya’s image. 😎

Choose_an_account_to_access
  1. On the next screen, choose Allow to give the application access to Google Assistant.
  2. After giving access, a page should appear where you should see a long string of letters and numbers. (your client’s Access Token) Simply, copy the authorization code.
Copy_authorization_code
  1. Next, Switch back to the CMD Window and then press Ctrl + V to paste the authorization code and then hit Enter. You should see the credentials saved message.
Credentials_Saved_message

Testing Google Assistant on PC

Now we have completed all the procedures to install google assistant on pc, but we need to figure out whether it’s perfectly done or not, right?

  1. So, To test if Google Assistant can properly access your microphone, enter this command:

py -m googlesamples.assistant.grpc.audio_helpers

Your computer should record 5 seconds of audio and play it back to you. If you can successfully hear the audio then you can move to the next step…

Type_this_Testing_command
  1. Open the browser for the final time & get back the Project-ID that you wrote down in step _ (the letters and numbers that displayed when you created your Cloud Platform project), then type the following command & hit Enter:

cd C:\GoogleAssistant

Next, type this project id command:

googlesamples-assistant-devicetool –project-id

Press the spacebar and type your Project-ID, then press the spacebar again and then type:

register-model –manufacturer “Assistant SDK developer” –product-name “Assistant SDK light” –type LIGHT –model “GA4W”

Finally, Hit Enter to finish the process.

Model_successfully_registered

You’ll see the “Model successfully registered” message. You are almost done.


Get Google Assistant with Push-to-talk

To get Google Assistant with push to talk capabilities, type the command below followed by a single space and your Project-ID (hope you remember it 😜)

py -m googlesamples.assistant.grpc.pushtotalk –device-model-id “GA4W” –project-id

Get_google_assistant_with_push_to_talk_feature

Just wait for the command prompt to output “press Enter to send a new request” then press Enter to begin talking to Google Assistant.


Woah! Now you have a working demo of Google Assistant on Windows 10. With this configuration, after you hit Enter, you can simply ask Google Assistant questions directly.

Thankfully, you don’t have to say the traditional “OK, Google” command. Instead, just do what I love to do i.e hit Enter while the program is active, then speak or shout 😜

Personal Opinion on Using Google Assistant for PC

Personally, I don’t like Google Assistant for Windows particularly for 2 reasons:

  1. It doesn’t have all of the capabilities that Microsoft’s Cortana offers for navigating Windows.
  2. You have to follow the above-mentioned guide to get it on your pc which might be tough for some people 😜

I wish we had some easy methods to get google assistant on pc, but the harsh truth is the above method is the only and proven method to get google assistant for Windows 10 or other devices.

But thankfully,

you can ask almost any question and get an answer only if you’re connected to the internet.

Don’t Miss: 21+ Awesome Windows 10 Tips & Tricks

Just a Point to Note: You’ll need your Project-ID each time you want to activate Google Assistant from the CMD. You can always go to your Google Cloud projects to view it.

I hope that you understood the whole guide, if so great, give yourself pat on the back.

And if you didn’t then no worries, Kevin always has solutions ready 😉

I found a youtube video that demonstrates How to install google assistant on Windows 10, 7, 8, Mac, Linux.

The guy in the video shows exact methods as I have shown above but we have little differences at some points which should not be a problem.

You can either go with my detailed tutorial or his easy to understand tutorial.

I just want you to understand and get what you want!

Enough talking, here’s the video tutorial…


Video Tutorial explaining How to “Easily” Install Google Assistant on Windows 10, 7, 8, Mac, Linux

Pretty simple and easy to understand, right?

Do you know, I have paid him to make this tutorial (Just kidding 😜)

As I mentioned above, you can use my detailed method or his quick & easy to understand method (easy to understand as it’s a video)

Don’t Miss: How to Check your Mouse DPI


How to Get Google Assistant for Chromebook

If you have a Chromebook or Chrome OS device, you can easily enable Google Assistant. No need to open cmd 😜

In the browser Omnibox,

  1. Go to chrome://flags, type assistant in the search box
  2. Then, next to the “Enable Google Assistant” option, choose Enable from the drop-down menu that appears.
  3. Now, after you enable Google Assistant, select the Restart Now button in the lower right.
  4. Then, go to chrome://settings, and scroll down to “Search and Assistant”, select Google Assistant, move the slider for Assistant to “on”.
  5. Enable the “OK Google” setting to allow the system to listen for and respond to that voice command.

You can Adjust any other options, as desired.

Now don’t tell me that it wasn’t easy when compared to the above method, it’s super easy…


Here, I have answered some of the faq’ that might be helpful for you…

Can I Use Google Assistant on my PC?

The very short answer is Yes, you can use google assistant on your pc.

Although google assistant is not available on desktop pc, but you can use it by installing python software and running some command lines in Windows Command Prompt.

Above, I have provided detailed guide on How to Install Google Assistant on your PC or Laptop.

Is there Google Home App for PC?

Basically it’s not, but you can Use the Google Home App on PC with an Android Emulator.

You can install Bluestacks Android emulator for Windows to run Android apps on your PC. With the help of Bluestacks, you can install and run several Android applications, including the Google Home app.

How do I use Google Assistant on my laptop?

Just follow the above-provided guide.
The procedure is exactly same to use google assistant on Laptop as well as your PC irrespective of your Operating System.


Final Words

I hope that this detailed guide, I have solved queries like:

  • How to Get Google Assistant for PC ?
  • How to Install Google Assistant on Windows 10 ?
  • How to Test if Google Assistant is working or not ?
  • How to Get Google Assistant for Chromebook ?
  • And a few more!

I hope that this How to tutorial helped you in the successful installation of google assistant, if so, please let me know 🙂

Note: I have provided the proven method by taking references from multiple websites including google’s official pages, so I don’t think that this method won’t work.

If you apply it carefully, then It works.

Hey, I know that you are a Windows 10 user, then why don’t you check out the following guides and tutorials written by me …

Here are a few more…

Leave a Reply

Close Menu
0 Shares
Share
Pin
Tweet