# IBM Watsonx

## Prerequisitos

1. Registra una cuenta en [IBM Watsonx](https://www.ibm.com/watsonx)
2. Crea un nuevo proyecto:

<figure><img src="/files/1WP8TNc1YSf6KDajYTpR" alt=""><figcaption></figcaption></figure>

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

3. Después de que el proyecto haya sido creado, regresa al panel principal y haz clic en **Explore foundation models**:

<figure><img src="/files/44bh7Sd9W6g494T0udU8" alt=""><figcaption></figcaption></figure>

4. Elige el modelo que te gustaría usar y ábrelo en Prompt Lab:

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

5. Desde la esquina superior derecha, haz clic en View Code:

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

6. Toma nota del parámetro `model_id` y `version`. En este caso, es `ibm/granite-3-8b-instruct,` y la versión es `2023-05-29`.
7. Haz clic en la barra de navegación del lado izquierdo y haz clic en Developer access

<figure><img src="/files/2RLuQzwrsOMAWNvtPryL" alt="" width="308"><figcaption></figcaption></figure>

8. Toma nota de la `watsonx.ai URL`, `Project ID` y crea una nueva API key desde IBM Cloud Console.
9. En este punto, deberías tener la siguiente información:
   * Watsonx.ai URL
   * Project ID
   * API Key
   * Versión del modelo
   * ID del modelo

## Configuración

1. **Chat Models** > arrastra el nodo **ChatIBMWatsonx**

<figure><img src="/files/ShkVOvJplF3faCwbh8sH" alt="" width="306"><figcaption></figcaption></figure>

2. Completa el Modelo con el ID del Modelo anterior. Crea una Nueva Credencial y completa todos los detalles.

<figure><img src="/files/j2htAWJEfnrLL3Cyv3ij" alt="" width="419"><figcaption></figcaption></figure>

2. ¡Voilà [🎉](https://emojipedia.org/party-popper/), ahora puedes usar el **nodo ChatIBMWatsonx** en Flowise!

<figure><img src="/files/WeBwGYQ9UtszMlu7D9kO" 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/integraciones/langchain/chat-models/ibm-watsonx.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.
