# ChatGPT

Para utilizar el módulo integrado con inteligencia artificial, es preciso estar suscripto al Plan Scale y contar con una cuenta de pago en OpenIA y una API Key que  vincularán a su panel de control en Optiwe.&#x20;

{% hint style="info" %}
**Nota:** La administración de la cuenta de OpenAI y los cargos que se generen son responsabilidad exclusiva del cliente. Optiwe no se hace responsable por su gestión ni por su facturación.
{% endhint %}

#### ABRIR UNA CUENTA DE PAGO EN OpenIA

1. Ve a <https://platform.openai.com> y crea una cuenta (Sign up), o inicia sesión con la cuenta que ya tengas (Log in).

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

* Crea tu organización

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

* Invita a tu equipo: puedes omitir este paso con *I´ll invite my team later:*

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

* Generar API Key: para identificar mejor te recomendamos nombrarla como ChatbotOptiwe, al igual que el proyecto.

<figure><img src="/files/6Pc4cI0yrykR4DCHc2Fa" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Importante**: Debes copiar y pegar la ApiKey para mantenerla a tu alcance,  ya que luego quedará secreta y no podrás acceder a ella. &#x20;

Esta API Key será la que luego vincularás en el panel de control de Optiwe                                &#x20;

<p align="center"><img src="/files/sK3an3tIYC1DIGxXZsrp" alt="" data-size="original"></p>
{% endhint %}

#### CONFIGURAR MÉTODO DE PAGO

Abre **Settings → Billing / Payment** y agrega un método de pago (tarjeta de crédito/debito). <https://platform.openai.com/settings>

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

#### ADMINISTRAR LÍMITES DE CONSUMO

Puedes configurar un presupuesto mensual para controlar el consumo de tu cuenta

**Settings → Limits** <https://platform.openai.com/settings/organization/limits>

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

También puedes crear alertas para cuando el consumo alcance cierto % de tu presupuesto

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

{% hint style="info" %}
Lo que se cobra = la cantidad de texto procesado (tokens) × el precio del modelo que uses. El precio es cada 1000 tokens\
✅ Cuanto más largo tu prompt o más extensa la respuesta, más cuesta.\
✅ Cada modelo tiene su propia tarifa. El usado en Optiwe es 4o mini <https://platform.openai.com/docs/pricing>
{% endhint %}

#### VINCULAR API Key EN OPTIWE

1. Ir a la configuración en el panel de control: <https://app.optiwe.com/dashboard/settings>

<figure><img src="/files/GlZyjs5Nq7k4pdMJUsjc" 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://soporte.optiwe.com/chatgpt.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.
