> For the complete documentation index, see [llms.txt](https://docs.mercuri.cx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mercuri.cx/mercuri-docs-es/caracteristicas/introduccion-mercuri-api/como-agrego-mi-api-token-a-wix-secret-manager.md).

# ¿Cómo agrego mi API token a Wix Secret Manager?

1. Después de crear el token, copia el token desde el panel de **API Token Management**.
2. Abre tu **Wix Dashboard** → **Developer Tools** → **Secrets Manager.**

<figure><img src="https://392978341-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZtOBCP9JV8XEWJpUU4t%2Fuploads%2FYzmCOwOHPYkv0ggM6Rau%2F4%20apic%20doc.png?alt=media&#x26;token=0541bb40-173f-48c7-b962-d5c2cb4a7a98" alt=""><figcaption></figcaption></figure>

3. Haz clic en **Add Secret**, pega tu **Mercuri API token** en el campo *Value* y asigna un **Secret Name** (por ejemplo: `MERCURI_MESSAGING_API_KEY`).\
   \&#xNAN;*<mark style="color:blue;">Guarda este nombre, ya que necesitarás usar el</mark>* *<mark style="color:blue;">**mismo Secret Name**</mark>* *<mark style="color:blue;">en tu código Velo en los siguientes pasos.</mark>*

<figure><img src="https://392978341-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZtOBCP9JV8XEWJpUU4t%2Fuploads%2F1BKVyP2tVL6p2GPkqjqS%2F5%20api%20doc.png?alt=media&#x26;token=61dff5b4-cf37-41e6-81fa-e4807db2d826" alt="" width="519"><figcaption></figcaption></figure>

{% hint style="info" %}
**¿Por qué usar Secret Manager en Wix?**

**Mantenimiento sencillo:** Si el token expira o necesita rotación, solo necesitas actualizarlo en Secrets Manager. No tienes que modificar cada archivo de código Velo donde se use el token.

**Gestión centralizada:** Todas las acciones de código Velo pueden acceder al mismo token de forma consistente, reduciendo errores.
{% endhint %}
