Platform Setup Guide
← Back to Home

How It Works

🚢
Vessel fills
Submit Form
⚙️
Google Apps
Script receives
📊
Saved to
Google Sheet
🏢
Miami views
Dashboard
1

Create a Google Sheet

This will store all submitted reports

Go to sheets.google.com and create a new blank spreadsheet.

Name it something like "Anglo Eastern — Hotel Director Reports".

ℹ️
Use the same Google account that the Miami office has access to. You can share the sheet with the Miami team so they can also view raw data directly in Google Sheets.
2

Open Apps Script Editor

Inside your Google Sheet

In your Google Sheet, click Extensions → Apps Script in the top menu.

A new tab will open with the Apps Script editor. Delete all existing code in the editor.

3

Paste the Script Code

Copy from the apps-script.gs file

Open the file apps-script.gs (included with this platform). Copy the entire contents and paste it into the Apps Script editor.

// The script handles two things:
doPost(e) → receives form submissions from the vessel
doGet(e) → returns all reports as JSON for the dashboard

Click the 💾 Save button (or Ctrl+S) in the Apps Script editor.

4

Deploy as Web App

This creates the URL that connects everything

In the Apps Script editor, click Deploy → New deployment.

In the dialog that appears:

⚠️
Critical settings:
Type: Web App
Execute as: Me (your Google account)
Who has access: Anyone (this allows the vessel to submit without logging in)

Click Deploy. Google will ask you to authorise the script — click Authorise access and follow the prompts.

After deployment, you will see a Web App URL that looks like:

https://script.google.com/macros/s/AKfycby...YOUR_ID.../exec

Copy this URL — you will need it in the next step.

Important: Every time you update the script code, you must create a New Deployment (not update existing) to get a fresh URL. The old URL will stop working after an update.
5

Paste the URL into Both Pages

Submit page (vessel) and View page (Miami)

The URL is saved automatically in the browser once you paste it. You only need to do this once per device.

On the vessel: Open the Submit Report page → paste the URL in the yellow banner at the top.

In Miami: Open the View Dashboard page → paste the same URL in the yellow banner → click Load Reports.

💡
The URL is stored in the browser's local storage, so it will be remembered next time you open the page on the same device.
6

Test the Connection

Submit a test report to verify everything works

On the vessel side, open Submit Report, fill in the vessel name and date, then click Submit Report to Miami.

On the Miami side, open View Dashboard and click Load Reports. The test report should appear within seconds.

You can also check the Google Sheet directly — a new row should have been added to the Reports tab.

Setup complete! The platform is now live. The vessel submits daily, Miami views instantly. No email attachments needed.
📋

Daily Workflow (Once Set Up)

What each party does every day

🚢 Onboard (Hotel Director):

1. Open Submit Report page
2. Fill in all sections (Cape Denison, The Hut, Crew Mess, Summary)
3. Click Submit Report to Miami
4. Done — takes about 5–10 minutes


🏢 Miami Office:

1. Open View Dashboard page
2. Click ↻ Refresh to see latest reports
3. Click any report card to expand and read full details
4. Filter by vessel name or date as needed

💡
Bookmark both pages on the respective devices. The vessel page works on any browser including mobile. The Miami dashboard works on any device with internet access.