> ## Documentation Index
> Fetch the complete documentation index at: https://support.customtypeone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Nightscout

> Conéctate directamente a la URL de tu sitio de Nightscout

SugarPixel+ puede conectarse directamente a un sitio de Nightscout para descargar los datos de glucosa.

<Steps>
  <Step title="Confirma que tu sitio funciona">
    Abre tu sitio de Nightscout en un navegador web, confirma que se ven lecturas y copia la URL de tu Nightscout.
  </Step>

  <Step title="Comprueba si tu sitio requiere un token">
    Abre tu sitio de Nightscout en una ventana privada o de incógnito del navegador. Si te pide un API Secret, tu sitio tiene acceso restringido y necesitarás un token de solo lectura.
  </Step>

  <Step title="Crea un token de solo lectura (si es necesario)">
    Abre tu sitio de Nightscout y ve a **Admin Tools**. Confirma que existe un rol llamado **readable** con el permiso `*:*:read`; créalo si no existe. Agrega un nuevo Subject: Name = **SugarPixel**, Roles = **readable**. Copia el token de acceso generado.
  </Step>

  <Step title="Ingresa los datos en SugarPixel+">
    Escribe tu URL (y el token, si es necesario) exactamente como aparece, ya que SugarPixel+ no permite pegar texto, y luego toca **Test Connection**.

    <Info>
      Si Nightscout recibe datos de bomba confiables y en tiempo real (por ejemplo, de una app de bomba DIY), SugarPixel+ puede mostrar IOB y COB en la pantalla principal. Actívalo en **≡ → Display → User Themes**.
    </Info>
  </Step>
</Steps>

## Solución de problemas

<Columns cols={2}>
  <Card title="La pantalla se queda en “Starting Up”" icon="triangle-exclamation" color="#D97706" href="/es/sugarpixel-plus/troubleshooting/stuck-on-starting-up" horizontal />
</Columns>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.