Publish add-on on GSuite marketplace in "unlisted" mode

402 Views Asked by At

I have a GSuite add-on that I would like to publish only on the domains of my customers (who have GSuite accounts). From what I understand of the G Suite Marketplace:

  • I can't put the Add-On Public because everyone on the planet will be able to install it
  • I can't put it Private because I need users outside my domain to be able to access it

What would be the solution for this use case?

1

There are 1 best solutions below

1
Wicket On

AFAIK there is no official guide to publish and add-on for limited number of external domains.

While some services have a whitelist, this is not the case for G Suite Marketplace Add-ons and Editor Add-ons as of August 6, 2020.

So you will have to think that your add-on could be installed by anyone with a Google account but you could set something to limit it use.

Some alternatives:

G Suite add-on

  • Set conditions to set the content to be shown on cards

G Suite Editor Add-on

  • Set a dynamic custom menu
  • Set conditions to set the content to be shown on dialogs and sidebars

Maybe the simpler solution will be to use the script properties to set a list of valid domains. To do this you could use Session.getActiveUser().getEmail() / Session.getEffectiveUser().getEmail() then something to get the user domain and compare it with your add-on's whitelist.

References