# Nivel de Chatflow

***

Después de haber construido un chatflow / agentflow, por defecto, tu flow está disponible al público. Cualquiera que tenga acceso al Chatflow ID puede ejecutar prediction a través de Embed o API.

En casos donde quieras permitir que solo ciertas personas puedan acceder e interactuar con él, puedes hacerlo asignando una API key para ese chatflow específico.

## API Key

En el dashboard, navega a la sección API Keys, y deberías poder ver una DefaultKey creada. También puedes add o delete cualquier key.

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

## Chatflow

Navigate al chatflow, y ahora puedes seleccionar la API Key que quieres usar para proteger el chatflow.

<figure><img src="/files/5PiuxLJAPuzP3mmaBVWX" alt=""><figcaption></figcaption></figure>

Después de asignar una API key, solo se puede acceder al chatflow API cuando se proporciona el Authorization header con la API key correcta especificada durante una HTTP call.

```json
"Authorization": "Bearer <your-api-key>"
```

Un ejemplo de llamar al API usando POSTMAN

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


---

# 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.flowiseai.com/espanol/documentacion-oficial/configuracion/autorizacion/nivel-chatflow.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.
