Web apps built with Apps Script can be distributed in the G Suite Marketplace, where G Suite domain administrators can find, install and authorize them for all or some users in their domains.
This section lists a number of considerations and details that you should address when you distribute a web app.
Team ownership of the web app
If you are building the web app as part of a team, think carefully about which account you want to publish from. Collaborating with Team Drives is recommended. Alternatively, you may wish to create a common team account to serve as the owner of the script project. Avoid situations where you lose access to your add-on's code and console settings because a member of your team left your organization.
Changing web app ownership across domains
Web apps deployed in one domain cease to function if their ownership changes to a Team Drive or account in a different domain. This can be corrected by having the new owner or collaborator redeploy the web app in the new domain. Alternatively, if the web app is moved back to its original domain the web app will start functioning again for that domain without redeploying.
Steps to prepare for distribution
Prior to distributing, you should:
- Ensure your web app is in good working order and is complete — works in progress should not be published.
- Make sure the web app meets the requirements for web apps.
- Ensure you have the required assests required for publication to the G Suite Marketplace. You can also prepare the optional assets to enrich your G Suite Marketplace listing.
Domain-wide distribution instructions
Domain-wide distribution requires configuring the G Suite Marketplace SDK for your web app. In order to do this, you must have access to the Cloud Platform project the add-on uses, which may not be the case if the script resides in Team Drive. If necessary you can switch your script to use a standard Cloud Platform project that you can access.
Once you've prepared all the required assets, you can Publish your web app to the G Suite Marketplace.
Migrating from the Chrome Web Store
In order to improve the discovery experience for users and admins, we are phasing out publication of web apps to the Chrome Web Store as part of domain-wide distribution. Because of this change, you may need to take some additional steps to migrate existing web apps that were published to both locations.
If you have a web app that was previously published to the Chrome Web Store and G Suite Marketplace, do the following:
- Verify that you have enabled the G Suite Marketplace SDK for your app.
- Complete the Configuration panel of the G Suite Marketplace SDK, updating and adding any required information.
- Complete the Publish panel of the SDK.
- Click Publish changes when you're done.
Install a published web app for a domain
To install the published web app on for all users in a G Suite domain, see this support article. Only an administrator can install an app for all users in the domain.