> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/global-settings/global-settings-docs-es/seguridad/aplicaciones-conectadas/crear-una-aplicacion-conectada-para-acceso-a-la-api.md).

# Crear una aplicación conectada para acceso a la API

{% hint style="success" %}

#### Credenciales de usuario requeridas

\[**Usuario de Flosum**] - **Administrador del sistema** Rol
{% endhint %}

## ![](https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FSxcnKlaJKPzDqONWoDNv%2FSummary2-Small-Icon.svg?alt=media\&token=5e3253d0-a069-4ba5-9c06-83c70bd0b21d) Descripción general

Este artículo le muestra cómo crear una Connected App y obtener el **Id de cliente** y **Secreto del cliente** valores para proporcionar acceso a las API públicas de Flosum.

{% hint style="info" %}
Para obtener instrucciones sobre cómo comenzar con las API de Flosum, consulte el siguiente artículo.

* [Inicio rápido de la API](/api/api-es/inicio-rapido-de-la-api.md)
  {% endhint %}

## Crear Connected App

{% stepper %}
{% step %}

### Acceda a Global Settings

1. Desde cualquier **Flosum Cloud App**, haga clic en el **App Switcher** icono en la parte superior del menú lateral izquierdo.

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2Fgh5FcQCnErKAjJ7isiuB%2FGS-Access-01.png?alt=media&amp;token=ddf01506-f133-4e49-825a-76a2a237e3a8" alt="" width="563"><figcaption></figcaption></figure></div>
2. Haga clic en **Configuración global**.&#x20;

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2Fx5vntzgpLuT50fMTzwT9%2FGS-Access-02.png?alt=media&amp;token=f67a125f-5087-47c2-9bc6-9393c3d2b7a5" alt="" width="563"><figcaption></figcaption></figure></div>
3. La **Configuración global** aplicación se abrirá en una nueva pestaña.

{% hint style="info" %}
También se puede acceder a Configuración global iniciando sesión directamente a través de la URL de inicio de sesión de Flosum Cloud Apps. Consulte el siguiente artículo para obtener instrucciones de inicio de sesión.

* [Iniciar sesión en Configuración global](/global-settings/global-settings-docs-es/primeros-pasos/iniciar-sesion-en-configuracion-global.md)
  {% endhint %}
  {% endstep %}

{% step %}

### Cree una nueva aplicación conectada

1. Haga clic en **Aplicaciones conectadas** desde el menú de la barra lateral izquierda.
2. Haga clic en **Crear**.

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FZ6rBCAKqfurJMA60ylZq%2FCreatingAConnectedAppForApiAccess-S02-01.png?alt=media&amp;token=10320f8d-a1b8-4ce3-9b9a-1d05c6cbd569" alt="" width="563"><figcaption></figcaption></figure></div>
3. Ingrese un **Nombre** para su Connected App.
4. Haga clic en **Crear**.

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FTlWvE70p4qTuDEGq7uOj%2FCreatingAConnectedAppForApiAccess-S02-02.png?alt=media&amp;token=878410e6-8cf5-4072-955a-75201efc115c" alt="" width="375"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Configurar la Connected App

1. Haga clic en la Connected App que acaba de crear.

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FP6iG0BL2SkUSyx8YW7jx%2FCreatingAConnectedAppForApiAccess-S03-01.png?alt=media&amp;token=a2a6b8c6-0b09-4486-b675-b2940bfa1c67" alt="" width="563"><figcaption></figcaption></figure></div>
2. Haga clic en **Editar**.

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FF1ku4EgDBIB20TEeU4FI%2FCreatingAConnectedAppForApiAccess-S03-02.png?alt=media&amp;token=5ed1bc2c-62fe-4ced-89a2-120e5143e0c9" alt="" width="563"><figcaption></figcaption></figure></div>
3. Haga clic en el **Flujos de autenticación** menú desplegable.
4. Marque las casillas **Código de autorización** casilla de verificación.
5. Marque las casillas **Token de actualización** casilla de verificación.

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FWnrZe9Nsy8o5SlEJ1EM9%2FCreatingAConnectedAppForApiAccess-S03-03.png?alt=media&amp;token=4fbe1fab-23f9-4621-a2d1-e5bc9bb086a6" alt="" width="563"><figcaption></figcaption></figure></div>
6. Haga clic en **AÑADIR URL** en la sección **URLs de devolución de llamada permitidas**.

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FoWqp160mEe2xlFWhwzft%2FCreatingAConnectedAppForApiAccess-S03-04.png?alt=media&amp;token=2ae66fa1-380b-4d50-9f4c-3577a7c5b3ed" alt="" width="563"><figcaption></figcaption></figure></div>
7. Introduzca la URL de redireccionamiento que se usará para su aplicación durante la autenticación.
8. Haga clic en **Guardar**.

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FYtbVXB274hQWocrTG6u0%2FCreatingAConnectedAppForApiAccess-S03-05.png?alt=media&amp;token=e6a8b579-8287-4d64-ae0e-33f04d6d0241" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Copiar ID de cliente y secreto de cliente

El `Id de cliente` y `Secreto del cliente` se utilizan durante el proceso de autenticación de la API. Puede copiar estos valores desde su Connected App.

1. Haga clic en el **Id de cliente** campo para copiar este valor.
2. Guarde el valor copiado.
3. Haga clic en el **secreto del cliente** campo para copiar este valor.
4. Guarde el valor copiado.

   <div align="left"><figure><img src="https://2629070795-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2F4f4tYZ7kKfbQL64jKrkz%2FCreatingAConnectedAppForApiAccess-S04-01.png?alt=media&amp;token=f0862501-e5b0-4ef2-85bb-6db4100d9efc" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}


---

# 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://docs.flosum.com/global-settings/global-settings-docs-es/seguridad/aplicaciones-conectadas/crear-una-aplicacion-conectada-para-acceso-a-la-api.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.
