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

# grindxp integrations

> Manage credentials for external integrations.

```bash theme={null}
grindxp integrations
```

Interactive menu to add, update, or remove credentials for:

| Integration            | Credential                                |
| ---------------------- | ----------------------------------------- |
| Telegram               | Bot token                                 |
| Discord                | Webhook URL, public key                   |
| WhatsApp Cloud API     | Phone number ID, access token, app secret |
| WhatsApp Web (Baileys) | Session via QR code or pairing code       |
| Google Calendar        | OAuth credentials                         |

Credentials are stored encrypted in your vault (`companion_settings` table).

## WhatsApp Web

WhatsApp Web uses the [Baileys](https://github.com/WhiskeySockets/Baileys) library to connect via the WhatsApp Web protocol (no cloud API key needed):

```bash theme={null}
grindxp integrations
# Select: WhatsApp Web
# Choose: QR Code or Pairing Code
```

A QR code is displayed in the terminal. Scan it with WhatsApp on your phone to link.

<Warning>
  WhatsApp Web sessions can be revoked by WhatsApp at any time. Use the official WhatsApp Cloud API
  for more stable integrations.
</Warning>
