Deploy a Google Apps Script Web App

Published on February 22, 2022

This is a quick guide about how to deploy a web app in Google Apps Script.

🏷️ Tags: #tutorials-and-guides, #apps-script, #google

A. IF YOU HAVE NOT DEPLOYED YOUR WEB APP YET...

  1. Click the Save icon on the toolbar to save your script.

2. On the top-right corner, select Deploy > New deployment.

3. In the popup, click the Gear icon to select Web app among the deployment types.

4. Make sure anyone has access to your web app and that the web app is executed as you. Click 'Deploy'.

5. Your web app is now deployed. Copy either the deployment URL or the deployment ID, according to your needs.

B. IF YOU DEPLOYED YOUR WEB APP YET AND WISH TO UPDATE IT...

  1. Click the Save icon on the toolbar to save your script.

2. Select Deploy > Manage deployments in the top-right corner.

3. Click the Edit icon.

4. Select 'New version' in Version.

5. Done. Your web app is updated, but the URL is the same as the previous version.

C. HOW TO AUTHORIZE ACCESS

The Apps Script editor might ask you for access anytime. Don't worry, here are some simple steps.

  1. Click on Authorize access.

2. Sign in to your Google account in the new window.

3. You will see a security warning in the window. You created this web app, and you know you did not create any viruses. Click on Advanced.

4. Click on 'Go to <your web app name> (unsafe)'.

5. Click on Allow.

6. You will see that the window disappeared and that the Apps Script editor is loading. Once after loading, you're done!