# Como pegar o Client Secret da aplicação?

Alguns sistemas exigem o **Client Secret** da sua aplicação, uma chave essencial para integrá-la com plataformas de autenticação, como o **NCloud**, da **Nyox Applications**.

* Acesse a [página do Discord Developer Portal](https://discord.com/developers/applications) e selecione sua aplicação.
* No menu lateral, vá até a aba **"OAuth2"**.
* Nessa seção, você verá o campo **"Client Secret"**. Clique em **"Reset Secret"** para gerar um novo.
* O Discord pode solicitar sua senha ou código de autenticação de dois fatores (caso esteja ativado).
* Após isso, será exibido um código. **Copie-o e guarde-o com segurança**, pois ele é a chave de autenticação da sua aplicação.

<figure><img src="/files/CXXqUupeZDbhbxlubnPT" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
Não compartilhe esse código com **ninguém**! Pessoas mal intencionadas podem usar ele para lhe prejudicar
{% endhint %}

{% hint style="warning" %}
Nenhum membro da equipe irá solicitar seu Client Secret. Insira-o apenas no painel oficial da Nyox Applications
{% endhint %}


---

# 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.nyox.tech/tutorials/clientsecret.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.
