|
| 1 | +# How to Connect GitHub Organization to Vercel |
| 2 | + |
| 3 | +## The Problem |
| 4 | +When you moved your repository to `stellar-nexus-experience` organization, Vercel can no longer see it because the GitHub organization isn't authorized in Vercel. |
| 5 | + |
| 6 | +## Solution: Authorize Organization Access |
| 7 | + |
| 8 | +### Step 1: Install/Update Vercel GitHub App for Organization |
| 9 | + |
| 10 | +1. **Go to GitHub Organization Settings** |
| 11 | + - Navigate to: https://github.com/organizations/stellar-nexus-experience/settings/installations |
| 12 | + - Or: GitHub → stellar-nexus-experience → Settings → Third-party access |
| 13 | + |
| 14 | +2. **Check if Vercel is Installed** |
| 15 | + - Look for "Vercel" in the list of installed apps |
| 16 | + - If you see it, click "Configure" |
| 17 | + - If you DON'T see it, go to Step 3 |
| 18 | + |
| 19 | +3. **Install Vercel App** (if not installed) |
| 20 | + - Click "Add GitHub App" or "Install new app" |
| 21 | + - Search for "Vercel" |
| 22 | + - Click "Install" |
| 23 | + - Select "stellar-nexus-experience" organization |
| 24 | + - Choose repository access: **"All repositories"** OR **"Only select repositories"** (then select demo-suite) |
| 25 | + - Click "Install" |
| 26 | + |
| 27 | +### Step 2: Grant Repository Access to Vercel |
| 28 | + |
| 29 | +1. **In GitHub**, go to: https://github.com/organizations/stellar-nexus-experience/settings/installations |
| 30 | +2. **Find Vercel** and click **"Configure"** |
| 31 | +3. Under **"Repository access"**, select: |
| 32 | + - **"All repositories"** (recommended), OR |
| 33 | + - **"Only select repositories"** → Check "demo-suite" |
| 34 | +4. **Scroll down** and click **"Save"** |
| 35 | + |
| 36 | +### Step 3: Reconnect Vercel to GitHub |
| 37 | + |
| 38 | +1. **Go to Vercel**: https://vercel.com/dashboard |
| 39 | +2. **Click your avatar** (top right) → **Settings** |
| 40 | +3. Go to **"Git"** section |
| 41 | +4. **Disconnect** GitHub (if connected to your personal account) |
| 42 | +5. **Connect** GitHub again |
| 43 | +6. **Authorize** access to organizations when prompted |
| 44 | +7. Make sure **stellar-nexus-experience** organization is checked |
| 45 | +8. Grant **read/write access** to repositories |
| 46 | + |
| 47 | +### Step 4: Import/Reconnect Repository in Vercel |
| 48 | + |
| 49 | +1. Go to: https://vercel.com/dashboard |
| 50 | +2. Click **"Add New..."** → **"Project"** |
| 51 | +3. You should now see **"stellar-nexus-experience"** organization |
| 52 | +4. Click on **stellar-nexus-experience** |
| 53 | +5. Find **demo-suite** repository |
| 54 | +6. Click **"Import"** |
| 55 | + |
| 56 | + **OR** if you're reconnecting existing project: |
| 57 | + |
| 58 | +1. Go to your existing project: `stellar-nexus-experience` |
| 59 | +2. Navigate to **Settings** → **Git** |
| 60 | +3. Click **"Disconnect"** from old repository |
| 61 | +4. Click **"Connect Git Repository"** |
| 62 | +5. Select **stellar-nexus-experience/demo-suite** |
| 63 | +6. Configure project settings (Framework, Build Command, etc.) |
| 64 | +7. Click **"Deploy"** |
| 65 | + |
| 66 | +### Step 5: Verify Webhook is Created |
| 67 | + |
| 68 | +1. Go to: https://github.com/stellar-nexus-experience/demo-suite/settings/hooks |
| 69 | +2. You should see a webhook from Vercel |
| 70 | +3. Recent deliveries should show successful deliveries |
| 71 | + |
| 72 | +## Troubleshooting |
| 73 | + |
| 74 | +### "Organization not found" in Vercel |
| 75 | +- You need to authorize organization access in GitHub |
| 76 | +- Go back to Step 1 and make sure Vercel app is installed for the organization |
| 77 | + |
| 78 | +### "Repository not found" in Vercel |
| 79 | +- Make sure repository access is granted in GitHub Vercel app settings |
| 80 | +- Try disconnecting and reconnecting GitHub in Vercel |
| 81 | + |
| 82 | +### "Webhook not working" |
| 83 | +- Delete the old webhook in GitHub |
| 84 | +- In Vercel, disconnect and reconnect the repository |
| 85 | +- This will recreate the webhook |
| 86 | + |
| 87 | +### Still not working? |
| 88 | +1. Check your Vercel plan (Pro required for private org repos) |
| 89 | +2. Contact Vercel support |
| 90 | +3. Check GitHub organization permissions |
| 91 | + |
| 92 | +## Important Notes |
| 93 | + |
| 94 | +- **Organization owner/admin access** is usually required to install GitHub apps |
| 95 | +- **Vercel Pro** plan may be needed for private organization repositories |
| 96 | +- After setup, ALL commits to main branch will auto-deploy |
| 97 | + |
| 98 | +## Expected Result |
| 99 | + |
| 100 | +✅ Organization appears in Vercel dashboard |
| 101 | +✅ demo-suite repository is visible |
| 102 | +✅ All commits trigger automatic deployments |
| 103 | +✅ Webhook is successfully delivering in GitHub |
| 104 | + |
0 commit comments