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

# API keys

> What PilotWatt needs from FoxESS and Octopus — and what to revoke.

## FoxESS API token

|                  |                                                                                   |
| ---------------- | --------------------------------------------------------------------------------- |
| **Where to get** | [foxesscloud.com](https://www.foxesscloud.com) → User Center → API Management     |
| **Stored as**    | Encrypted in Neon — never returned to the browser after save                      |
| **Revoke**       | Delete or regenerate token in FoxESS; then Disconnect in PilotWatt Settings       |
| **Scopes**       | Device list, real-time data, work mode / scheduler (as permitted by FoxESS Cloud) |

[Full FoxESS setup →](/getting-started/connect-foxess)

## Octopus personal API key

|                   |                                                                                   |
| ----------------- | --------------------------------------------------------------------------------- |
| **Where to get**  | [octopus.energy/dashboard/developer](https://octopus.energy/dashboard/developer/) |
| **Also required** | Export MPAN + export meter serial (from developer Examples)                       |
| **Stored as**     | Encrypted API key + public MPAN/serial in settings                                |
| **Revoke**        | Regenerate key in Octopus developer dashboard; Disconnect in PilotWatt            |

[Full Octopus setup →](/getting-started/connect-octopus)

## What PilotWatt does not need

* Fox Cloud or Octopus **passwords**
* Octopus **account login** for routine operation (only API key)
* Import meter details (unless you add import features later)

## In-app help links

Add links from Settings field labels to these pages, e.g. *How to find your API key →* pointing to `docs.pilotwatt.app/getting-started/connect-foxess`.
