# Use the Relay CLI

> Tail live events, forward webhooks to localhost and send test messages from your terminal.

Source: https://helpdox.fekbd.com/docs/relay-api/sdks/use-the-relay-cli/

Tail live events, forward webhooks to localhost and send test messages from your terminal. Here is exactly what to do.

## Steps

1. 1Install the CLIHomebrew: `brew install relay/tap/relay`.
2. 2Sign in`relay login` opens your browser to confirm.
3. 3Forward webhooks`relay listen --forward localhost:3000/webhooks`.

Tip

The CLI prints the webhook secret to use while forwarding.

## Still stuck?

Include the request ID from the `Relay-Request-Id` response header — it lets us find your call in seconds.
