Search code examples
google-apps-scriptgoogle-sheetsadd-inadd-ongoogle-apps-marketplace

How to use google app script addon by app script manifest or local environment?


I am new to google app script. I don't know how to deploy the Google add-on. I have tried some setups for deployment but have not been able to do the deployment. so, I have some questions below.?

  1. Can we use the google app script add-on without deploying on google marketplace? or how to use google add-on local environment?. or Can we use the google add-on just by passing appscript.json? as we do in excel? In the excel add-in we just pass the manifest file and we put the dist folder on the local server so anyone can use that add-in.

Can anyone guide me about this.


Solution

  • I suggest you read https://developers.google.com/apps-script/add-ons/ and https://developers.google.com/workspace/marketplace

    To deploy an add-on (i.e. create a version of the script that can be used by an app in the Google Workspace Marketplace) see https://developers.google.com/apps-script/concepts/deployments

    To test an add-on (install it without having to publish it in the Google Workspace Marketplace) See https://developers.google.com/apps-script/add-ons/how-tos/testing-editor-addons.

    To publish an app in the Google Workspace Marketplace see https://developers.google.com/apps-script/add-ons/how-tos/publish-add-on-overview and https://developers.google.com/workspace/marketplace/how-to-publish.

    Sheets and other Google Workspace products are on the cloud, so you can't copy a file somewhere to install and add-on. If you have are a Google Workspace customer you can publish a private app in the Marketplace. Then the admin can install the app for its users.