Deploying Gmail
Last updated
Last updated
Navigate to Incidents -> Download Plugin -> Gmail Addon
Navigate to Incidents and click the Download Plugin button, then select the "Gmail Addon" option.
The addon will be deployed as a Google App, so the download contains two files in an archive:
code.js
- The plugin's runtime code.
appsscript.json
- The plugin's metadata.
Go to https://script.google.com/ and create a New Project.
When the project opens, copy the contents of code.js
into the workspace and click the Save icon. If there is any code in the workspace file before you paste, remove it first.
Next, select the Project Settings icon from the options on the left and enable the option for "Show 'appsscript.json' metadata in editor". You should also select your time zone here.
Return to the code editor and paste the contents of the appscript.json
file that you downloaded into the appscript.json
file in the editor. If there is any code in the workspace file before you paste, remove it first.
Most of the fields in this object should be left alone, but there are a few worth checking before you deploy this project.
Name: The name of the add-on in your mail client. This name appears when you hover the mouse over the button.
Logo URL: A link to the button's image. The default is an image hosted by us, but you can host your own image and link to it here.
Primary and Secondary Color: Customize the color scheme. This field accepts hex codes, use a hex code tool of your choice to find the colors you like.
Click Deploy and select "New Deployment". Make sure the addon type is both Add-on and Web App, and the options shown below for Web App are selected. When everything looks right, click Deploy and then click "Done".
Click Deploy again and this time select "Test Deployments", then select "Install".