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

Google Assistant is one of the most widely used voice assistants in the world. Although it supports a wide range of products including smartphones, smart displays, smart speakers, and other smart home devices, support for desktop PCs has always been a hassle. Google has not shown interest in bringing Assistant to desktops and laptops, with the exception of Chromebooks. If you’re someone who’s looking for a way to use Google Assistant on your Windows, macOS, or Linux machine, there’s good news. A Chennai-based developer Melvin. L. Abraham has built an unofficial cross-platform Google Assistant desktop client based on Google Assistant SDK. Today, we’ll be showing the steps involved to set it up and use Google Assistant on your PC.

Use Google Assistant on Windows, macOS, and Linux

The process to enable Google Assistant can seem a bit complicated at first glance. However, if you spare a few minutes to follow the steps, you can easily set it up and start using Google Assistant to control your PC. Another aspect worth mentioning is that this client is under development, and hence, you may experience occasional bugs while using it.

1. Register Device for Using Google Assistant on PC

1. To get started, download the latest version of the desktop client from GitHub to your PC. I’m using a Windows 10 machine for this demonstration, but you can download the one based on your system’s operating system.

download google assistant app

2. Install the Assistant app on your PC. At this stage, it won’t work on your PC and you should configure the backend first. To do that, open the Actions Console from your web browser and click on ‘New Project.’ You should log in with your Google account to access Actions Console.

open actions console

3. Go through Google’s terms of service, choose the ‘Yes’ toggle, and click on ‘Agree and continue.’

agree to google tos

4. When the New Project popup appears, set a new project name, choose the language and your region. After filling in these details, click on the ‘Create project’ button.

create and name new project

5. Soon after you click Create project, a page to help you set it up appears. From here, scroll down and you’ll notice an option for device registration. Click on the ‘Click here’ hyperlink.

assistant device registration

6. You’ll now be taken to the device registration page. Click on the button that says ‘Register Model’ to proceed further.

device registration page for assistant

7. You should now set the product name, manufacturer name, and device type. The developer says that you can set any device type. I’ve used TV as the device type and you can choose any other device type if you prefer. Once done, click on the ‘Register Model’ button.

name the device and set device type

8. We’ve now reached an important step where you should download the key file. This will be a ‘.json’ file and you’ll need this file later to configure the client. Click on the ‘Download OAuth 2.0 credentials’ button to download this file.

download oauth 2.0 credentials

2. Enable Google Assistant API and Setup Consent Screen

1. Open Google Cloud Platform’s Console and click on the drop-down menu next to GCP’s logo in the top-left corner.

select a project gcp

2. You should now choose the project you created earlier. To do so, click on the ‘All’ tab, locate the project, and hit the Open button.

choose and open project gcp

3. From GCP’s left side menu, click on ‘APIs & Services’ to enable Google Assistant API.

open apis and services section

4. From the Dashboard, click on ‘Enable Apps and Services.’ You’ll now be taken to the API library page.

enable apis and services

5. On API Library’s search page, type Google Assistant and choose ‘Google Assistant API.’

Google Assistant API from API library

6. Click the ‘Enable’ button to enable Google Assistant API.

enable google assistant api

7. When Google Assistant API’s page opens, switch to the Credentials section from the left sidebar and click on ‘Configure Consent Screen.’

configure consent screen8. When you’re in the OAuth consent screen, set ‘External’ as user type and click on ‘Create.’

oauth consent screen

9. On the app information page, choose your email in the user support email section.

add user support email

10. Without leaving the page, scroll down, enter your email address in the developer contact information box, and click on ‘Save and Continue’.

add developer contact information

11. You don’t have to alter anything on the ‘Scopes’ page. Click on ‘Save and Continue’ to proceed to the next step.

skip scopes

12. The same holds true for Optional Info. Click on Save and Continue to go further.

skip optional info

13. On the page that appears now, click on the ‘Add users’ button to add test users.

add test users

14. You should now add users with the email address. As the developer of the client points out, you can add multiple users by separating email IDs with a comma. I’ve used the email address that I’ve been using in this setup process. Once done, click on Save.

add users for app

3. Setup Google Assistant Client Authentication

You’ve now prepared your PC to run Assistant as you’ve already completed device registration and configured the consent screen of the API. With a few additional steps, you can start using Google Assistant on your PC.

1. Open the Google Assistant client that you installed and head to the Settings by clicking on the gear icon in the top-left corner of the app.

open settings of google assistant client

2. You should now use the OAuth 2.0 credentials .json file that you previously downloaded. Click on the Browse button under the Authentication section and set the JSON file’s path to ‘Key File Path.’ You can leave the ‘Saved Token Path’ empty.

set key file path

3. After setting the path, click on the Save button.

save key file path

4. The app will now prompt if you’d like to automatically set the saved tokens path. Click on the ‘Automatically set a path’ option to go ahead.

automatically set tokens path

5. You should now restart the application. To do that, click on the ‘Relaunch Assistant’ button in the bottom-left corner.

click on relaunch assistant

6. When the app opens up again, you’ll see a page urging you to paste the authentication code. At the same time, a new authentication page opens in your default web browser.

get token assistant client

7. Switch to the authentication page and choose your Google account to allow permissions.

authenticate using google account

8. Click on ‘Allow’ to grant Google Assistant permissions.

grant assistant permissions

9. You’ll now see an authentication code. Click on the copy button to copy it to your system’s clipboard.

copy authentication code

10. Switch back to the client app and paste the code in the given field and click on Submit.

submit authentication code

11. You can now restart the Assistant to finally start using it. Click on the ‘Relaunch Assistant’ button to do that.

relaunch assistant after auth code

4. Google Assistant Client Impressions

Although unofficial, the Google Assistant client is designed well. It looks elegant, has rounded corners, and you can resize the app horizontally and vertically. You can use the app to issue a variety of basic voice commands, including searches, checking the weather, and smart home controls. On Windows machines, you can access the client with the keyboard shortcut ‘Windows+Shift+A.’

check weather assistant client

On the app’s settings page, you get the options to tweak several aspects of the app to suit your preference. For instance, you can choose to keep the app always on top of other apps for quick access. In case you want a light theme, you can switch themes from settings.

google assistant client settings

I also tried playing a few Google Assistant games to test its capabilities and it worked just fine. Below is the Google Assistant game ‘Are you feeling lucky?’ through Assistant on a Windows 10 PC:

games on assistant client

However, there are a bunch of caveats. You can’t use the app to play music from music streaming services, play YouTube videos or Netflix movies and TV shows, or launch apps. In addition, you can’t use the Hey Google / Ok Google command to trigger the Assistant. Instead, you’ll have to manually open the app to type or use voice commands. That said, hotword detection is on the to-do list of the project, and it may come in the future.

assistant client upcoming features

Try Google Assistant on your PC

If you’re interested to contribute to this open-source project, you can do so from the project’s GitHub page. It remains to be seen if Google ever creates desktop Assistant clients for other platforms, but until that happens, you can check this out and see if you find it useful. To test all the capabilities of the app, take a look at our best Google Assistant tricks article and try them out.

Comments 3
Leave a Reply

Loading comments...