|
| 1 | +# API Key Issuance |
| 2 | + |
| 3 | +To use AI services and external platforms in CodeFreeAI, you need an **API Key**. This guide explains how to get API keys for each service. |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +## 📋 Services Requiring API Keys |
| 8 | + |
| 9 | +### AI Services (4 Types) |
| 10 | + |
| 11 | +| Service | Provider | Free | Pricing | Guide | |
| 12 | +|---------|----------|------|---------|-------| |
| 13 | +| **ChatGPT** | OpenAI | ❌ | Pay-as-you-go | [Get Key](chatgpt.md) | |
| 14 | +| **Claude** | Anthropic | ❌ | Pay-as-you-go | [Get Key](claude.md) | |
| 15 | +| **Gemini** | Google | ✅ (Limited) | Free/Paid | [Get Key](gemini.md) | |
| 16 | +| **Grok** | xAI | ❌ | Pay-as-you-go | [Get Key](grok.md) | |
| 17 | + |
| 18 | +### Output Services (4 Types) |
| 19 | + |
| 20 | +| Service | Purpose | Free | Guide | |
| 21 | +|---------|---------|------|-------| |
| 22 | +| **INBLOG** | Blog Posting | ✅ | [Get Key](inblog.md) | |
| 23 | +| **Slack** | Team Messaging | ✅ | [Get Key](slack.md) | |
| 24 | +| **Telegram** | Messaging/Notif | ✅ | [Get Key](telegram.md) | |
| 25 | +| **Discord** | Community Messaging | ✅ | [Get Key](discord.md) | |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +## 🔑 What is an API Key? |
| 30 | + |
| 31 | +An API Key is **credentials** for accessing external services. |
| 32 | + |
| 33 | +[See API Key Details](what-is-api-key.md) |
| 34 | + |
| 35 | +**Key Points:** |
| 36 | +- 🔐 Store safely like a password |
| 37 | +- 💳 Charged based on usage (Paid services) |
| 38 | +- ⚡ Immediately usable |
| 39 | + |
| 40 | +--- |
| 41 | + |
| 42 | +## 💰 Cost Information |
| 43 | + |
| 44 | +### Services to Start for Free |
| 45 | + |
| 46 | +✅ **Gemini** - 60 Free requests/min (Limited) |
| 47 | +✅ **INBLOG** - Unlimited Free |
| 48 | +✅ **Slack** - Unlimited Free |
| 49 | +✅ **Telegram** - Unlimited Free |
| 50 | +✅ **Discord** - Unlimited Free |
| 51 | + |
| 52 | +### Paid Services |
| 53 | + |
| 54 | +💳 **ChatGPT** - $0.15~$0.60 per 1M tokens |
| 55 | +💳 **Claude** - $3.00~$15.00 per 1M tokens |
| 56 | +💳 **Grok** - $2.00~$8.00 per 1M tokens |
| 57 | + |
| 58 | +**Note**: 1M Tokens = Approx. 750,000 words (English) |
| 59 | + |
| 60 | +--- |
| 61 | + |
| 62 | +## 🚀 Quick Start Guide |
| 63 | + |
| 64 | +### 1️⃣ Start for Free |
| 65 | + |
| 66 | +If you are just starting, use **Free Services**: |
| 67 | + |
| 68 | +1. [Get Gemini API Key](gemini.md) - AI Text Generation (Free) |
| 69 | +2. [Create Telegram Bot](telegram.md) - Send Result (Free) |
| 70 | + |
| 71 | +**Complete in 5 mins:** |
| 72 | +``` |
| 73 | +[Telegram Webhook] → [Gemini] → [Telegram] |
| 74 | +``` |
| 75 | + |
| 76 | +### 2️⃣ Prepare for Production |
| 77 | + |
| 78 | +If you need better performance: |
| 79 | + |
| 80 | +1. [Get ChatGPT API Key](chatgpt.md) - General Purpose AI |
| 81 | +2. [Get Claude API Key](claude.md) - Long Document Processing |
| 82 | + |
| 83 | +--- |
| 84 | + |
| 85 | +## 🛡️ API Key Security |
| 86 | + |
| 87 | +**NEVER reveal your API Key!** |
| 88 | + |
| 89 | +### ✅ Safe Usage |
| 90 | + |
| 91 | +- ✅ Set workflow to **Private** |
| 92 | +- ✅ Regenerate key periodically |
| 93 | +- ✅ Set usage monitoring |
| 94 | +- ✅ No upload to GitHub |
| 95 | + |
| 96 | +### ❌ Dangerous Usage |
| 97 | + |
| 98 | +- ❌ Include key in public repo |
| 99 | +- ❌ Share screenshots |
| 100 | +- ❌ Share with multiple people |
| 101 | +- ❌ Log in browser console |
| 102 | + |
| 103 | +[See API Key Security Details](security.md) |
| 104 | + |
| 105 | +--- |
| 106 | + |
| 107 | +## 📊 Recommendations by Service |
| 108 | + |
| 109 | +### Usage Combinations |
| 110 | + |
| 111 | +**1. Personal Productivity Automation** |
| 112 | +- Gemini (Free AI) |
| 113 | +- Telegram (Free Notif) |
| 114 | +- **Monthly Cost: $0** |
| 115 | + |
| 116 | +**2. Team Collaboration Automation** |
| 117 | +- ChatGPT (High Quality AI) |
| 118 | +- Slack (Team Messaging) |
| 119 | +- **Monthly Cost: ~$20 (Usage based)** |
| 120 | + |
| 121 | +**3. Content Auto-Generation** |
| 122 | +- Claude (Long Docs) |
| 123 | +- INBLOG (Blog) |
| 124 | +- **Monthly Cost: ~$50 (Usage based)** |
| 125 | + |
| 126 | +**4. Advanced AI Workflow** |
| 127 | +- ChatGPT + Claude + Gemini (Multi-AI) |
| 128 | +- Slack + Telegram + Discord (Multi-Output) |
| 129 | +- **Monthly Cost: ~$100+ (Usage based)** |
| 130 | + |
| 131 | +--- |
| 132 | + |
| 133 | +## 🎯 Next Steps |
| 134 | + |
| 135 | +### Get AI Service API Key |
| 136 | + |
| 137 | +1. [Get ChatGPT API Key](chatgpt.md) - OpenAI GPT-4o |
| 138 | +2. [Get Claude API Key](claude.md) - Anthropic Claude |
| 139 | +3. [Get Gemini API Key](gemini.md) - Google Gemini |
| 140 | +4. [Get Grok API Key](grok.md) - xAI Grok |
| 141 | + |
| 142 | +### Set Output Service |
| 143 | + |
| 144 | +1. [Get INBLOG API Key](inblog.md) - Auto Blog Posting |
| 145 | +2. [Slack Bot Setup](slack.md) - Team Messaging |
| 146 | +3. [Telegram Bot Setup](telegram.md) - Personal Messaging |
| 147 | +4. [Discord Bot Setup](discord.md) - Community Messaging |
| 148 | + |
| 149 | +--- |
| 150 | + |
| 151 | +## ❓ FAQ |
| 152 | + |
| 153 | +**Q: Can I use it without an API Key?** |
| 154 | +A: Some nodes (Trigger, Http Response, etc.) work without it, but AI services require one. |
| 155 | + |
| 156 | +**Q: Is there a free trial?** |
| 157 | +A: Gemini allows limited free usage, others are pay-as-you-go. |
| 158 | + |
| 159 | +**Q: I lost my API Key** |
| 160 | +A: Regenerate key from the service provider and update your workflow. |
| 161 | + |
| 162 | +**Q: Can I reuse the same API Key?** |
| 163 | +A: Yes, but usage is aggregated. |
| 164 | + |
| 165 | +**Q: How to save API Key costs?** |
| 166 | +A: Consider Gemini (Cheap), Prompt Optimization, Caching, etc. |
0 commit comments