Skip to main content

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

Comments

Popular posts from this blog

Websites To Get Free Mechanical Projects for Free

Websites to Get Projects for Mechanical Engineers Mechanical engineering is a versatile and dynamic field that requires constant innovation and practical experience. One of the best ways to gain hands-on experience and deepen your understanding of mechanical engineering concepts is by working on projects. Whether you are a student, a recent graduate, or a professional looking to expand your skills, finding the right projects can be a game-changer. Here are some top websites where you can find exciting and challenging projects for mechanical engineers. NOTE: A youtube video is uploaded on the same topic, Please kindly have a look into the same 👉 here 👈 1. NevonProjects NevonProjects offers a wide range of project ideas and kits for mechanical engineering students. This platform is known for its comprehensive list of projects that cover various domains withi

5 Websites to Get Free Projects with Project Reports - Part 1

Well, I know most of you are final-year students searching for those final-year projects, and the good news is you are at the right place on earth where you will get the best information about your problem. When it comes to finding free projects complete with project reports, several online resources stand out. Here are five websites that provide a wealth of projects across various domains, complete with detailed documentation. 1. SourceCodester    - Overview : SourceCodester offers a vast array of projects in different programming languages including PHP, VB.NET, C#, Python, and Java.    - Features : Each project comes with complete source code, documentation, and sometimes even video tutorials. This makes it an excellent resource for students and professionals looking to learn and develop their skills.    - Project Reports : Many projects include detailed reports and diagrams such as UML diagrams, database schemas, and SRS (Software Requirement Specification) documents.    - Website

How to Find the Maximum RAM Capacity of Your Computer

When you purchase a new desktop or laptop, it works out to be much more affordable to go for a cheaper model first and later upgrade the RAM to its maximum performance. The question is, how much RAM can your computer take? Is it already at its maximum, or is there still room for an upgrade? Follow this easy-to-understand guide to find out how much RAM your computer currently has and the maximum RAM capacity it supports. Find Out How Much RAM Your Computer Has It is quite easy to find out the amount of RAM in your computer. In Windows 10, you can learn your installed RAM by using the keyboard shortcut  Win  +  PAUSE . This will also provide your processor name and operating system type (32- or 64-bit). After this, use  Ctrl  +  Shift  +  ESC  to open the taskbar and size up your RAM limits. It gives the number of slots you have, the clock speed per slot, the kind of RAM you have (DDR3 or DDR4), and how much is available. Mac users can select “About This Mac” from the Apple menu to know