📖 Complete Setup Guide
Step-by-step instructions to copy Google Sheets and deploy Apps Script
🎥
Watch Video Tutorial First
💡
Pro Tip: Watch this video tutorial first to understand the complete process visually, then follow the detailed steps below.
📊 Part 1: Copy Google Sheet to Your Drive
1
Open the Google Sheet Link
Click on the Google Sheet link provided with your file. The sheet will open in a new tab.
💡
You must be logged into your Google account to copy the sheet.
2
Make a Copy to Your Drive
Follow these steps to copy the sheet:
- Click on File menu (top-left corner)
- Select Make a copy from the dropdown
- A dialog box will appear:
- • Change the name if desired (optional)
- • Select the folder in your Drive (optional)
- Click Make a copy button
⚠️
Important: Do NOT use "Download" option. You must use "Make a copy" to preserve Apps Script functionality.
3
Verify Your Copy
After copying, you'll see:
- The sheet opens automatically with "Copy of" in the title
- You are now the owner of this copy
- Check your Google Drive - the sheet is saved there
- You have full edit permissions
✅
The Google Sheet is now yours! You can rename it, move it, or edit it as needed.
⚙️ Part 2: Set Up Apps Script Code
1
Open Apps Script Editor
In your copied Google Sheet:
- Click on Extensions menu
- Select Apps Script
- A new tab opens with the Apps Script editor
- You'll see the code that powers your sheet
2
Configure Sheet/Folder IDs (If Required)
Some scripts need configuration. Look for these in the code:
// Configuration - Update these IDs const SHEET_ID = 'your-sheet-id-here'; const FOLDER_ID = 'your-folder-id-here';
How to find Sheet ID:
- Look at your Google Sheet URL
- URL format: https://docs.google.com/spreadsheets/d/SHEET_ID/edit
- Copy the long string between /d/ and /edit
How to find Folder ID:
- Open the Google Drive folder
- Look at the folder URL
- URL format: https://drive.google.com/drive/folders/FOLDER_ID
- Copy the string after /folders/
💡
Not all scripts require this step. Only update if you see these variables in the code.
3
Save Your Changes
After making any required changes:
- Click the 💾 Save button (or press Ctrl+S / Cmd+S)
- Wait for "Saved" confirmation
🚀 Part 3: Deploy as Web App (If Applicable)
1
Create New Deployment
In the Apps Script editor:
- Click Deploy button (top-right)
- Select New deployment
- Click the gear icon ⚙️ next to "Select type"
- Choose Web app
2
Configure Deployment Settings
Set the following options:
- Description: Add a description (e.g., "Initial deployment")
- Execute as: Select Me
- Who has access: Choose based on your needs:
- • Only myself - Private use only
- • Anyone - Public access (most common)
- • Anyone with Google account - Requires login
🔒
Security Note: Choose "Only myself" for sensitive data. Use "Anyone" only for public tools.
3
Authorize and Deploy
Complete the deployment:
- Click Deploy button
- If prompted, click Authorize access
- Select your Google account
- Review permissions and click Allow
- Copy the Web app URL provided
🎉
Success! Your web app is now live. Save the URL - you'll need it to access your app.
🔧 Part 4: Manage & Update Deployments
1
View Existing Deployments
To see your deployments:
- Click Deploy button
- Select Manage deployments
- You'll see all active deployments with their URLs
2
Update Existing Deployment
After making code changes:
- Save your code changes first
- Go to Deploy → Manage deployments
- Click the ✏️ Edit button
- Select New version under Version
- Add a description of changes
- Click Deploy
💡
The URL stays the same when updating. Users automatically get the new version.
🔨 Troubleshooting Common Issues
!
Authorization Errors
Problem: "This app isn't verified" warning
Solution:
- Click "Advanced" link
- Click "Go to [Your App Name] (unsafe)"
- This is safe for your own scripts
!
Script Not Working
Common fixes:
- Check Sheet/Folder IDs are correct
- Ensure you saved the code
- Verify deployment settings
- Check execution logs: View → Executions
!
Permission Denied
Solutions:
- Ensure you're using the copied sheet (not original)
- Check folder permissions if using folders
- Re-authorize the script
⚡ Quick Actions
💬 Need Help?
🤝
Still having issues?
Contact our support team via WhatsApp: +92 322 408 3545 or check the video tutorial again.
Most issues are resolved by:
- Making sure you're logged into Google
- Using "Make a copy" not "Download"
- Following the deployment steps exactly
- Checking Sheet/Folder IDs if required