Deployment Modes

NExS offers four deployment modes that control who can access your app and how data persists. Choose the right mode based on your use case.

Mode Overview

Mode Login Required Data Persistence Sharing
Open No Session only Each user gets their own instance
Personal Yes Permanent per user Each user has private data
Team Yes Permanent shared Everyone shares one instance
Access Code Code required Permanent shared Code holders share one instance

Open Mode

Open mode is the default. Anyone with the URL can use the app, and each session is independent.

Configuration

A B
1 app My Calculator

No mode setting needed—Open is the default.

Behavior

  • No login required
  • New instance created each time someone opens the app
  • Data exists only while the browser tab is open
  • Closing or reloading starts fresh

When to Use

Open mode works well for public-facing tools like calculators, quote generators, and interactive demonstrations. It’s ideal for embedded widgets where each visitor should work independently with their own fresh instance.

Personal Mode

Personal mode requires users to log in. Each user’s data persists permanently in their own private instance.

Configuration

A B C
1 app My Tracker
2 mode personal

Behavior

  • Users must log in to NExS platform
  • Each user has their own copy of the app
  • Data persists until the app is deleted
  • Users can return and continue where they left off

When to Use

Personal mode is perfect for tools where users need to save their work—expense trackers, personal dashboards, goal tracking tools, or any app that benefits from persistent user data. For example, an employee could enter their monthly expenses and return anytime to update or review their data.

Team Mode

Team mode creates a single shared instance that specified team members can access.

Configuration

A B C
1 app Team Dashboard
2 mode team
3 accessList user1@company.com, user2@company.com

Behavior

  • Users must log in with an email on the accessList
  • Everyone sees and edits the same data
  • Changes by one user appear for all users
  • Data persists permanently

Access Control

Restrict access to specific views with readACL and writeACL:

A B C D
5 view Sheet1!A1:G20
6 name Dashboard
7 readACL everyone@company.com
8 writeACL admin@company.com
  • readACL — Who can see this view
  • writeACL — Who can edit inputs in this view

When to Use

Team mode suits internal dashboards, shared planning tools, status boards, and collaborative data entry. For example, a project status dashboard where team members update their sections while managers view the overview.

Access Code Mode

Access Code mode allows collaborative access without requiring NExS accounts. Users enter a code instead of logging in.

Configuration

A B C D
1 app Competition Scoring
2 mode access code
3 access codes
4 Judge1 alpha123
5 Judge2 beta456
6 Judge3 gamma789

Behavior

  • Users enter an access code (like a password)
  • All code holders share the same instance
  • Changes appear in real-time for all users
  • Data persists permanently
  • Different codes can have different permissions

View Access by Code

Restrict views to specific access keys:

A B C D
8 view Sheet1!A1:F20
9 name Judge Panel
10 accessKeys Judge1, Judge2, Judge3
11 view Sheet1!A25:F40
12 name Scoreboard
13 public true

In this example:

  • Judges see “Judge Panel” (requires their code)
  • Anyone can see “Scoreboard” (marked public)

When to Use

Access Code mode excels at competition scoring, event check-ins, collaborative workshops, and role-based forms. For example, in a cooking competition, three judges log in with their codes to enter scores while a public scoreboard displays results in real-time without requiring a code.

Security: Allowed Origins

By default, NExS apps can be embedded on any website. Use allowedOrigins to restrict embedding:

A B C
1 app Company Calculator
2 allowedOrigins *.mycompany.com

Examples

A B C
2 allowedOrigins *.mycompany.com

Other patterns:

  • www.mycompany.com — Only on specific server
  • *.mycompany.com, *.partner.com — Multiple domains
  • https://*.mycompany.com — HTTPS only

This prevents others from embedding your app on unauthorized sites.

Choosing the Right Mode

Scenario Recommended Mode
Public calculator anyone can use Open
Tool where users save their own data Personal
Internal tool for your team Team
Collaborative app without NExS accounts Access Code
Public display with private admin area Access Code (with public views)

Combining Features

Public View + Private Admin

A B C D
1 app Score Tracker
2 mode access code
3 access codes
4 Admin secret123
5 view Sheet1!A1:D20
6 name Enter Scores
7 accessKeys Admin
8 editable B2:B10
9 view Sheet1!F1:H20
10 name Scoreboard
11 public true

Admins enter scores; everyone else sees the public scoreboard.

Team Mode with Role-Based Access

A B C D
1 app Project Tracker
2 mode team
3 accessList manager@co.com, dev1@co.com, dev2@co.com
4 view Dashboard!A1:J30
5 name Overview
6 readACL manager@co.com, dev1@co.com, dev2@co.com
7 view Admin!A1:F20
8 name Settings
9 readACL manager@co.com
10 writeACL manager@co.com

All team members see the Overview. Only the manager can access Settings.

Next Steps