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

ModeLogin RequiredData PersistenceSharing
OpenNoSession onlyEach user gets their own instance
PersonalYesPermanent per userEach user has private data
TeamYesPermanent sharedEveryone shares one instance
Access CodeCode requiredPermanent sharedCode 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

AB
1appMy 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

ABC
1appMy Tracker
2modepersonal

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

ABC
1appTeam Dashboard
2modeteam
3accessListuser1@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:

ABCD
5viewSheet1!A1:G20
6nameDashboard
7readACLeveryone@company.com
8writeACLadmin@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

ABCD
1appCompetition Scoring
2modeaccess code
3access codes
4Judge1alpha123
5Judge2beta456
6Judge3gamma789

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:

ABCD
8viewSheet1!A1:F20
9nameJudge Panel
10accessKeysJudge1, Judge2, Judge3
11viewSheet1!A25:F40
12nameScoreboard
13publictrue

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:

ABC
1appCompany Calculator
2allowedOrigins*.mycompany.com

Examples

ABC
2allowedOrigins*.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

ScenarioRecommended Mode
Public calculator anyone can useOpen
Tool where users save their own dataPersonal
Internal tool for your teamTeam
Collaborative app without NExS accountsAccess Code
Public display with private admin areaAccess Code (with public views)

Combining Features

Public View + Private Admin

ABCD
1appScore Tracker
2modeaccess code
3access codes
4Adminsecret123
5viewSheet1!A1:D20
6nameEnter Scores
7accessKeysAdmin
8editableB2:B10
9viewSheet1!F1:H20
10nameScoreboard
11publictrue

Admins enter scores; everyone else sees the public scoreboard.

Team Mode with Role-Based Access

ABCD
1appProject Tracker
2modeteam
3accessListmanager@co.com, dev1@co.com, dev2@co.com
4viewDashboard!A1:J30
5nameOverview
6readACLmanager@co.com, dev1@co.com, dev2@co.com
7viewAdmin!A1:F20
8nameSettings
9readACLmanager@co.com
10writeACLmanager@co.com

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

Next Steps