> For the complete documentation index, see [llms.txt](https://ajuda.zdg.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.zdg.com.br/avancado-recursos-tecnicos/integracoes-terceiras/projeto-no-dialogflow.md).

# Projeto no Dialogflow

Como criar um projeto no Dialogflow, obter o ID do projeto, definir a linguagem e baixar o JSON de autenticação

### Passo 1: Criação do Projeto no Google Cloud

1\. Acesse o *Google Cloud Console.*

2\. Faça login com sua conta do Google.

3\. Clique no ícone de seleção de projeto no topo da página e depois clique em "Novo Projeto".

4\. Dê um nome ao seu projeto e clique em "Criar".

### Passo 2: Ativando a API Dialogflow

1\. No Google Cloud Console, certifique-se de que você está no projeto criado.

2\. No menu lateral, vá para "API e Serviços" > "Biblioteca".

3\. Pesquise por "Dialogflow API" e clique nela.

4\. Clique no botão "Ativar".

### Passo 3: Criando um Agente no Dialogflow

1\. Acesse o Dialogflow Console.

2\. Clique em "Criar Agente".

3\. Preencha os detalhes do agente:

o Nome do Agente

o Projeto do Google Cloud (selecione o projeto criado anteriormente)

o Idioma Padrão (por exemplo, "Português (Brasil)")

o Fuso Horário

4\. Clique em "Criar".

### Passo 4: Obtendo o ID do Projeto

1\. No Google Cloud Console, vá para o menu "IAM e Administração" > "Configurações".

2\. O ID do Projeto estará listado na seção "Informações do Projeto". Copie este ID.

### Passo 5: Criando Credenciais de API

1\. No Google Cloud Console, vá para "API e Serviços" > "Credenciais".

2\. Clique em "Criar Credenciais" e selecione "Chave de conta de serviço".

3.Na janela que aparece, selecione "Nova conta de serviço".

4.Dê um nome à sua conta de serviço e, opcionalmente, atribua um papel, como "Administrador de Projeto".

5.Clique em "Criar" e depois em "Concluir".

6.Um arquivo JSON será baixado automaticamente para o seu computador. Esse é o seu arquivo de autenticação.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ajuda.zdg.com.br/avancado-recursos-tecnicos/integracoes-terceiras/projeto-no-dialogflow.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
