The overwhelming popularity of voice assistants inspires users to experience them on their desktop computers and laptops as well. The case here is Google Assistant. The virtual assistant is an intelligent response to Siri and Alexa from Apple and Amazon respectively. If you can put up with some primary use of terminal on your computer, you can quickly get Google Assistant on Windows and macOS.

Sponsored Links

On your Mac, you have to use your Terminal, and on Windows PC, you need to open Command Prompt to experience Google Assistant. Even if you are new to Terminal or Command Prompt, you should not be apprehensive about the two, as you just have to copy and paste the commands already written in this tutorial. Though the process to use Google Assistant on Windows or Mac is simple, you need to be careful while following the steps as your single mistake can collapse the castle.

How to Get Google Assistant on Mac and Windows Computer

How to Install and use Google Assistant on Mac and Windows Computers

What do you need to get Google Assistant?

Before you start using Google Assistant on your Windows and macOS, you should know a few necessary things:

  • On your macOS, you will have to use Terminal, and on your Windows computer, you need Command Prompt to set up Google Assistant.
  • You need Python 3 installed on your Mac or Windows computer. Note that most Macs come with Python by default, but then they need to check the version. It should be Python 3.x on your Mac. You can download this version from Python website.

After having these two things, it’s time to configure Google Assistant on your Mac and Windows computers.

Step #1. Open Google Cloud Platform on your Mac or Windows computer.

Step #2. Next, click on Create Project.

Click on Create Project in Google Cloud Platform

Step #3. Here, you need to give a suitable name to your project; for fun, I have used SiriCompetitor as the project name. Then click on Create button.

Write suitable Project name and Click on Create in Google Cloud Platform

Step #4. When the process is over, click on the bell icon and then click on notification related to your project.

Click on bell icon and then click on notification in Google Cloud

Step #5. Now head over to this page, and then click on ENABLE.

Click on Enable to active Google Assistant API

Step #6. Google asks you to create Credentials to use the API. Click on Create credentials button in blue.

Click on Create credentials in Google Cloud Platform

Step #7. You are now on ‘Add credentials to your project’ page, where you have to select ‘Other UI (for example, Windows, CLI)’ under “Where will you be calling the API from?”

Select Other UI in API from Section in Google Cloud

Next, choose “User Data” in “What data will you be accessing?” And then click on “What credential do I need?”

Sponsored Links

Select User Data and then Click on What credentials do I need in Google Cloud

Step #8. It’s time to create a client id; give a suitable name and then click on “Create client ID.”

Give suitable name and then click on Create client ID in Google Cloud

Step #9. You will be asked to provide your project name in the field of “Product name as shown to users”; next, click Continue.

Provide you project name and then click on Continue in Google Cloud

Step #10. You have an option to download credentials; however, you can do this later and click on Done.

Click on Done to complete the process in Google Cloud

Step #11. Open Activity Controls and check that all the options are turned on.

Turn ON all the options in Activity Controls

Next, you can see the client ID you have created earlier. You need to click on the download button on the right of the screen. A JSON file will be downloaded on your computer; you should save this file somewhere you can access it quickly from.

Download the JSON file in Google Cloud

Use Google Assistant on Mac and Windows Computer

You have successfully followed the procedure to set up Google Assistant, and now it is time to test the virtual assistant.

On your Mac

Open Terminal and type the following command:

python3 -m googlesamples.assistant.audio_helpers

A five-second audio recording will start on your Mac followed by a playback. If you can listen to the playback, you can use Google Assistant.

On your Windows computer

Launch Command Prompt and type this command:

python3 -m googlesamples.assistant

That’s it! You can start using Google Assistant on your Windows computer. Your Google Assistant API supports all commands you execute on your Android and Google Home.

That’s all friends!

Don’t Miss:

Would you like to get and use Google Assistant on your Windows and macOS? Share your feedback with us on Facebook, Twitter, and Google Plus.