Get an Anthropic (Claude) API Key
For: Tenants who want to use their own AI key (cost goes directly to your account). Time: 5 minutes.
Why bring your own key?
- Transparent cost: the LLM bill goes straight to your Anthropic account, visible on Anthropic’s dashboard.
- Full control: you set the spending limit, monitor per model, and disable any time.
- Compliance: regulated industries (finance, healthcare) often require own-key for auditable data flow.
If you do not want to manage this, leave the field empty. Danum provides a fallback and bills the usage in your monthly invoice (see Usage & Billing).
Steps
1. Create an Anthropic account
- Go to https://console.anthropic.com/
- Click Sign Up (top right). You can use Google OAuth or email.
- Verify your email (check inbox).
2. Set up billing
- After signing in, open Billing in the sidebar.
- Click Add payment method and enter your card (Mastercard or Visa).
- Add initial credit (minimum $5, about Rp 78,000). Credits are consumed per API call.
- Set spending limit: set “Monthly usage limit” to a comfortable number (for example $50, about Rp 780,000). When the limit is hit, the API stops. This prevents over-charge.
3. Generate the API key
- Open API Keys in the sidebar.
- Click Create Key.
- Name the key (for example
danum-ai-production). - Copy the key now. Anthropic only shows it once. If you lose it, create a new one.
- Format: starts with
sk-ant-and is about 100 characters long.
4. Enter it in the Danum dashboard
- Open https://ai.numintek.com/app/settings/llm-keys
- Find Anthropic API Key.
- Paste the key and click Save.
- Danum encrypts it (AES-256-GCM per tenant) and starts using it for all your AI requests within 60 seconds.
Verify
- Send a message to your channel (WhatsApp / Widget / Telegram) and wait for the AI reply.
- Check the Anthropic dashboard > Usage — you should see new usage.
- Check the Danum dashboard > Usage & Billing — token counts go up, but AI cost is 0 (because you use your own key; Danum does not charge you).
Cost estimate
Default Danum model is Claude Sonnet 4.6:
- Input: $3 per 1M tokens (about Rp 46,500)
- Output: $15 per 1M tokens (about Rp 232,500)
For a small hospitality tenant (500 chats per month, roughly 10-turn conversations) expect Rp 50,000-200,000 per month.
Troubleshooting
Q: I got an invalid_api_key error.
Check the key format (sk-ant-*). If you just created it, wait 10 seconds and retry.
Q: I got an insufficient_credit error.
Top up credit at Anthropic dashboard > Billing.
Q: Can I use a different model? Yes, but the per-tenant model selection UI is not built yet. Contact support if you need it.
Q: Is the key safe on Danum? Yes. AES-256-GCM encryption with per-tenant HKDF-SHA256 key derivation. Ciphertext lives in the Danum DB; the decryption key is never logged or backed up alongside the ciphertext.