With the CLI
Configure your API key using the interactive CLI:
# Start the CLI
hookreplay
# Configure your API key (saved to ~/.hookreplay/config.json)
config api-key hr_xxxxxxxxxxxx
# Connect to the server
connect
Config File Location
The API key is stored in your config file at:
~/.hookreplay/config.json
Verify Configuration
View your current configuration at any time:
● hookreplay> config
┌─────────────┬──────────────────────────┐
│ Setting │ Value │
├─────────────┼──────────────────────────┤
│ API Key │ hr_xxxxx**** │
│ Server URL │ https://hookreplay.dev │
└─────────────┴──────────────────────────┘