# Configure a Google Cloud Platform project

> [!WARNING]
> **Warning:** You can't launch commercial devices that integrate with the Google Assistant SDK. It's available for experimental and non-commercial uses only.

<br />

A Google Cloud Platform project gives your project access to the Google Assistant API.
The project tracks quota usage and gives you valuable metrics for the
requests made from your hardware.

To enable access to the Google Assistant API, do the following:

1. In the Cloud Platform Console, go to the Projects page. Select an existing
   project or create a new project.

   [Go
   to the Projects Page](https://console.cloud.google.com/project)
2. Enable the Google Assistant API on the project you selected (see the [Terms
   of Service](https://developers.google.com/assistant/sdk/terms-of-service)).

   [Enable
   the API](https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview)

   Click **Enable**.
3. Create an OAuth Client ID with the following steps:

   1. Create the client ID.   

      [Create
      an OAuth Client ID](https://console.developers.google.com/apis/credentials/oauthclient)

   2. You may need to set a product name for the product consent screen. On
      the **OAuth consent screen** tab, give the product a name and click
      **Save**.

   3. Click **Other** and give the client ID a name.

   4. Click **Create**. A dialog box appears that shows you a client ID and
      secret. (No need to remember or save this, just close the dialog.)

   5. Click **⬇** (at the far right of screen) for the client ID to download
      the client secret JSON file (`client_secret_<client-id>.json`).

4. The `client_secret_<client-id>.json` file must be located on the device to
   authorize the Google Assistant SDK sample to make Google Assistant queries.
   Do not rename this file.

   *For the Raspberry Pi only:*

   Make sure this file is located in `/home/pi`. If you want to upload the file
   to the device, do the following:
   1. Open a new terminal window. Run the following command in this new terminal:

      > [!NOTE]
      > **Note:** Do **not** run the following command in an SSH session connected to the device. This command transfers the JSON file from a directory on your development machine to the device. An SSH session cannot access your local directories.

      ```
      scp ~/Downloads/client_secret_client-id.json pi@raspberry-pi-ip-address:/home/pi/
      ```

      ```
      password: password-for-device
      ```
   2. Close this terminal window.