# Generar credenciales de API en ION

Sigue las instrucciones a continuación para generar un ID de cliente de API y un secreto de cliente en ION:

1. En ION, navega hasta **API de GraphQL**:

   <img src="/files/d48df4744a2858516dd8be7d5388f8414ec73141" alt="" width="563">
2. Copia la siguiente consulta:

```graphql
mutation CreateAPIKey {
  createApiKey {
    apikey {
      clientId
      clientSecret
    }
  }
}
```

3. Luego pégalo en el Graph de Ion*i*panel de QL y haz clic en ejecutar.

<img src="/files/5887058a2ba5c245698b34c15c60714fba0cb27f" alt="" width="563">

4. Tu **ID de cliente** y **secreto de cliente** aparecerán. Copia estos datos para conectar Ion en Violet.

<img src="/files/76d09c9bada778b8f2c40c453deb9b778ee93722" alt="" width="563">


---

# 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.violetlabs.com/es/aplicaciones/i/ion/generar-credenciales-de-api-en-ion.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.
