> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/es/aplicaciones/i/ion.md).

# ION

### Conecta ION en Violet

#### Genera credenciales de la API de ION

Para conectar ION en Violet, primero necesitarás generar un ID de cliente y un secreto de cliente:

1. En ION, navega a la **API de GraphQL.**

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

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

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

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

4. Tu **ID de cliente** y **secreto de cliente** aparecerán. Cópialos y guárdalos.

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

#### Conectar en Violet

A continuación, ya estás listo para conectar ION en Violet y crear una integración.

1. En [Violet](https://app.violetlabs.com/) (o [VioletGov](https://app.violetgov.com/)), navega a **Integraciones** y haz clic  <img src="/files/c9a1ccb6a5ec424f079229735ae4ac79c45a8d83" alt="" data-size="line">.&#x20;
2. Selecciona <img src="/files/4e814e76deee87d186cc051c63344d01c78deba3" alt="" data-size="line"> **ION**
3. Selecciona tu tipo de entorno de ION (Producción, Gov, etc.)

<img src="/files/5365d65125c1b71adb7f95fc0a6efe7eb483bd9e" alt="" width="375">

4. Ingresa tu **ID de cliente** y **secreto de cliente** y haz clic en <img src="/files/3af9056b635fc677f2f76474b76be9d4d4d4624c" alt="" data-size="line">.
5. Una vez conectado, puedes configurar qué tipos de datos ingerir, con qué frecuencia deben actualizarse los datos, aplicar cualquier asignación de atributos personalizada, etc.&#x20;
6. Por último, haz clic en **Crear** para comenzar a obtener datos. ¡Listo! Ve a la [Explorador de datos](/es/funciones/explorador-de-datos.md) para revisar tus datos una vez que se hayan ingerido.

#### Más configuraciones

\[Opcional] Asigne permisos a los usuarios o grupos de usuarios que pueden ver los datos o editar las credenciales:

<figure><img src="/files/9bde6063db1d7fdbbb7d044eb39991cc0055d692" alt="" width="375"><figcaption></figcaption></figure>

\[Opcional] Proporciona metadatos que describan tus credenciales, por ejemplo, si son para un entorno de Producción o Sandbox:

<figure><img src="/files/d04e41e7bbe8702517b13c363477ee5847eb3329" alt="" width="375"><figcaption></figcaption></figure>


---

# 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.violetlabs.com/es/aplicaciones/i/ion.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.
