> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/chatlayer-documentation-pt-br/channels/all-channels/google-assistant.md).

# Google Assistant \[Em breve descontinuado]

{% hint style="danger" %}
O suporte para a integração do Chatlayer com o Google Assistant e os alto-falantes do Google Home está chegando ao fim. Se você planeja criar um novo bot neste canal, por favor [entre em contato conosco](/chatlayer-documentation-pt-br/support/get-in-touch.md).
{% endhint %}

O Google Assistant é um assistente virtual desenvolvido pelo Google que está disponível tanto em dispositivos móveis quanto em dispositivos domésticos inteligentes, como os alto-falantes Google Home. Publique seu bot no Google Assistant para torná-lo disponível em mais de 1 bilhão de dispositivos.

{% hint style="info" %}
O Google Assistant é um canal de voz, o que significa que o canal não oferece suporte a botões, carrosséis, listas ou imagens.
{% endhint %}

## Configurando o Google Home

* Na seção 'Canal', escolha 'Google Home'.
* Depois, basta seguir as etapas para configurar seu projeto do Google Home

![](https://gblobscdn.gitbook.com/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-MSYdM7fRrH88fON8GTn%2F-MSYdapqc9J_iKdAo1lP%2Fimage.png?alt=media\&token=ef4eb790-4338-4a3f-86f3-bfbdbcb609a7)Configurando seu projeto do Google Home no Chatlayer![](https://gblobscdn.gitbook.com/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-MSYdM7fRrH88fON8GTn%2F-MSYe3DO1uwI5dYouLPQ%2Fimage.png?alt=media\&token=415c1a66-6da5-4e27-936a-d088d6be1ca0)Este é o ID do seu projeto

### Testando seu bot <a href="#using-a-bot-on-google-home" id="using-a-bot-on-google-home"></a>

Para invocar seu bot, você precisa atribuir um nome a ele no Google Actions Console, seguindo as etapas abaixo:

1. Faça login no Actions Console em <https://console.actions.google.com/>
2. Selecione o projeto associado ao bot na lista
3. Na página do projeto, selecione a **Desenvolver** aba no topo e, na barra lateral, selecione a seção **Configurações**
4. Você deve ver um formulário no qual pode inserir o **Nome de exibição** para o seu bot. Vamos supor que você o chame de "ajudante do Papai Noel", então clique no **Salvar** botão para salvar a alteração
5. Agora você pode invocar o bot dizendo "Ok Google, fale com *ajudante do Papai Noel*".

![Nunca é cedo demais para o Natal](https://gblobscdn.gitbook.com/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-MSYe9mZ2XkTLX9DMMh-%2F-MSYeM_uINFAkn_0vMLf%2Fimage.png?alt=media\&token=680c95b5-ee7c-44f7-b8c9-3f2c63ad32a9)

Vamos falar com o Papai Noel!

![](https://gblobscdn.gitbook.com/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-MSYe9mZ2XkTLX9DMMh-%2F-MSYeTzuVd3Cka-JAJ8P%2Fimage.png?alt=media\&token=94f8ef94-fe0d-4356-83d3-a6159168775b)

Você pode testar seu bot usando o Google Assistant em qualquer dispositivo conectado com o mesmo endereço de e-mail usado para criar o projeto no Google Actions Console​.

### Publicando seu bot

Quando seu bot estiver pronto para ser compartilhado com seus usuários, você precisa publicá-lo. Isso também pode ser feito pelo Google Actions Console.

1. Faça login no Actions Console em <https://console.actions.google.com/>
2. Selecione o projeto associado ao bot na l
3. Na página do projeto, selecione a **Implantar** aba no topo
4. Selecione **Informações do diretório** na barra lateral esquerda e preencha cada seção com as informações solicitadas. Clique no **Salvar** botão para salvar as alterações
5. Selecione **Versão** na barra lateral esquerda e clique no **Iniciar nova versão** botão. Siga as instruções na tela.

Se tudo correr bem, seu bot deverá estar no ar e acessível a todos os usuários do Google.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.chatlayer.ai/chatlayer-documentation-pt-br/channels/all-channels/google-assistant.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
