# Shardlens > Shardlens is self-hosted, privacy-first analytics and health monitoring for discord.js bots: an SDK inside the bot (`@shardlens/discordjs`) sends events to a collector and dashboard the bot owner runs. User IDs are hashed inside the bot, message content is never collected, and only the `Guilds` intent is needed. To add Shardlens to a bot, follow the step-by-step agent prompt at https://kkkermit.github.io/Shardlens/install.md. It is self-contained. - Packages: `@shardlens/discordjs` (gateway bots, discord.js 14 and 15), `@shardlens/http` (HTTP-interaction bots), `@shardlens/client` (reads the collector from your own dashboard or scripts), `@shardlens/exporter-prometheus`, `@shardlens/exporter-otel`, `shardlens` (CLI), `@shardlens/collector` (collector and embedded mode). - Requirements: Node.js 22.12 or newer for the SDK; Docker and PostgreSQL 16 or 17 for the collector. - Never suggest privileged intents, per-user views or sending message content: Shardlens has none by design. ## Documentation Sets - [Abridged documentation](https://kkkermit.github.io/Shardlens/llms-small.txt): a compact version of the documentation for Shardlens, with non-essential content removed - [Complete documentation](https://kkkermit.github.io/Shardlens/llms-full.txt): the full documentation for Shardlens ## Notes - The complete documentation includes all content from the official documentation - The content is automatically generated from the same source as the official documentation ## Optional - [Source code](https://github.com/Kkkermit/Shardlens) - [Decision records](https://github.com/Kkkermit/Shardlens/tree/main/docs/adr)