# Installation

## 1. Creating the Google Actions project

Google Assistant chatbots are instances of Google Actions. To get started, visit <https://console.actions.google.com> and create a new project:

![](/files/-Mbkxz0UCOPZ0lExl51k)

In the next screens, select **Custom** then **Blank Project**, and click on **Start building**.

![](/files/-Mbky9TOUCo450G1dWnG)

![](/files/-MbkyEgUeKP-rtQudKPJ)

In the next screen, you will be able to create a display name, which is also the default invocation for your action. Read more about how to [pick the right display name here](https://support.google.com/actions-console/answer/9613473?hl=en#null)!

![](/files/-MbkyihD7dVXtGBppueg)

Finally, you will also need to retrieve your action project's ID, which you can easily copy from the URL:

![](/files/-MbkzGNaxdUDqAObvcnp)

## 2. Connecting the Channel in CSML Studio

In CSML Studio, create a new Google Assistant channel from the Channels page and fill in the requested fields. The name and description can differ from the name of the Action, they are only visible inside CSML Studio!

After you created the channel, download and install the `gactions CLI` utility from this page: <https://developers.google.com/assistant/actions/actions-sdk/>. This tool will let you "bind" your gactions and the CSML studio project, using the `gactions.json` package that you can download on the channel's configuration page:

![](/files/-Mbl0n8TpihkocbL4R65)

You will need to execute the command on a terminal and follow the instructions to authenticate your requests with Google. Concretely, after you execute the command, you will need to click on the link that the command will prompt you to visit, login with your Google account, and copy and paste the given code:

![](/files/-Mbl1ZWBvfy15NcuUsha)

After you have done this process, you can go test the bot in the Test panel:

![](/files/-Mbl1spkCcECk82-1gMU)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.csml.dev/studio/channels/google-assistant/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
