# CoinKrazy - Quick Setup Guide (15 minutes)

## Step 1: Google OAuth Setup (3 minutes)

1. Open https://console.cloud.google.com/apis/credentials
2. Click "Create Credentials" → "OAuth 2.0 Client ID"
3. Choose "Web application"
4. Add Authorized redirect URI: `https://playcoinkrazy.com/api/oauth/callback`
5. Click Create
6. Copy the **Client ID** (looks like: `xxx.apps.googleusercontent.com`)
7. Save for later: `GOOGLE_OAUTH_CLIENT_ID`

## Step 2: GitHub OAuth Setup (2 minutes)

1. Open https://github.com/settings/developers
2. Click "New OAuth App"
3. Fill in:
   - Application name: `CoinKrazy`
   - Homepage URL: `https://playcoinkrazy.com`
   - Authorization callback URL: `https://playcoinkrazy.com/api/oauth/callback`
4. Click Create
5. Copy the **Client ID**
6. Save for later: `GITHUB_OAUTH_CLIENT_ID`

## Step 3: Stripe Setup (2 minutes)

1. Open https://dashboard.stripe.com/
2. Sign in or create account
3. Go to Settings → API Keys
4. Copy **Live Secret Key** (starts with `sk_live_`)
5. Copy **Live Publishable Key** (starts with `pk_live_`)
6. Save for later: `STRIPE_LIVE_SECRET_KEY` and `STRIPE_LIVE_PUBLISHABLE_KEY`

## Step 4: SendGrid Setup (3 minutes)

1. Open https://sendgrid.com/
2. Sign up or log in
3. Go to Settings → API Keys
4. Click "Create API Key"
5. Name it "CoinKrazy"
6. Copy the API Key
7. Save for later: `SENDGRID_API_KEY`

## Step 5: Twilio Setup (3 minutes)

1. Open https://www.twilio.com/
2. Sign up or log in
3. Go to Account → General Settings
4. Copy **Account SID** and **Auth Token**
5. Go to Phone Numbers → Manage Numbers
6. Get your Twilio phone number (or buy one)
7. Save for later: `TWILIO_ACCOUNT_SID`, `TWILIO_AUTH_TOKEN`, `TWILIO_PHONE_NUMBER`

## Step 6: Add Credentials to CoinKrazy (2 minutes)

1. Open your CoinKrazy Management UI
2. Go to Settings → Secrets
3. Add each credential:
   - `GOOGLE_OAUTH_CLIENT_ID` = [from Step 1]
   - `GITHUB_OAUTH_CLIENT_ID` = [from Step 2]
   - `STRIPE_LIVE_SECRET_KEY` = [from Step 3]
   - `STRIPE_LIVE_PUBLISHABLE_KEY` = [from Step 3]
   - `SENDGRID_API_KEY` = [from Step 4]
   - `TWILIO_ACCOUNT_SID` = [from Step 5]
   - `TWILIO_AUTH_TOKEN` = [from Step 5]
   - `TWILIO_PHONE_NUMBER` = [from Step 5]

4. Click Save

## Done! 🎉

Your platform is now fully configured with:
- ✅ Social login (Google, GitHub)
- ✅ Payment processing (Stripe)
- ✅ Email campaigns (SendGrid)
- ✅ SMS campaigns (Twilio)

Start acquiring players and watch your metrics grow!
