Gateway#
The TQT Connect page connects NucleI to a gateway server. On a lab gateway it shows the lab's instruments, lets you start sessions, book time and wait in a queue. On TQT Connect, the global platform, it is used to share projects and other items with colleagues and to keep backups.
Administrators who run their own gateway: see Self-hosting the gateway.
Connecting#
Opening the page connects automatically to the last gateway address. While it connects you see Connecting to gateway.... If nothing answers, the page shows Can't reach the server with a Server address field; correct the address and press Connect. Connect to TQT Connect switches to the global platform. The disconnect button in the header ends the connection (Disconnected), and Reconnect or Connect restores it. The page refreshes every 10 seconds; after three failed refreshes it reports the server as unreachable.
You are signed in to a lab gateway as profile@computer, with no account to create. A password for the gateway's web interface is set by the gateway administrator. Switching profile reconnects as the new identity.
A lab gateway shows the Instruments, Instrument reservations and Instrument queue tabs, and Courses when Teaching features is on. TQT Connect shows only the sharing tabs.
App enrolment#
A self-hosted gateway signs in only apps that its administrator has enrolled. TQT Connect does not use enrolment.
| What the page shows | Meaning | What to do |
|---|---|---|
| Enrolment required | This computer is not enrolled with the gateway, or the gateway no longer recognises it. | Enter the Enrolment code from the gateway administrator and press Enrol. |
| Enrolment revoked | The administrator revoked this computer's enrolment. | Enter a new code and press Enrol. |
| Sign in on the gateway's web pages | The profile's account on the gateway is an administrator, LMS or identity-provider account, which cannot sign in from the app. | Open the gateway's web pages and sign in there with the account's password. To use the app, switch to another profile. |
| Profile used on another computer | This profile@computer identity is tied to another enrolled computer. |
Ask the administrator to press Release app for it on the gateway's Users page, then press Try again. |
| Too many attempts | Too many failed sign-ins or enrolments came from this computer. | Wait a few minutes, then press Try again. |
Enrolment is done once per OS user, computer and gateway: every profile of that user uses it. The credential is kept in Windows Credential Manager, the Linux Secret Service keyring, or, on macOS, a file only that user can read; see IT deployment. When the machine policy holds an enrolment token, the computer enrols itself and the code field is not needed; see IT deployment.
While connected, the header shows Enrolled as and the computer's name. Re-enrol takes a new code and replaces the credential; the computer keeps its enrolment and the identities tied to it.
Other refusals from the gateway, such as a booking-only instrument or a read-only account, are shown as a sentence in the app's language.
Instruments#
The header summarises how many devices are available, and how many are in use, offline or in maintenance. Each device is Available, In Use, Maintenance or Offline; a busy one shows who holds it and until when. Select a device to see its queue and upcoming bookings.
- Start session takes an available online instrument; End session releases it.
- Join queue puts you in line for a busy instrument; Leave queue withdraws.
- Book a time opens the reservations calendar.
Reservations#
Instrument reservations is a calendar of bookings across devices, shown as a week grid, a single day, or an agenda depending on the width of the window, with Today, previous and next navigation. Press + New, or drag across the grid, to open New Reservation: choose the Device, Start and End, add optional Notes and press Book. The end must be after the start, and if the gateway refuses the slot its message is shown. Click a booking (Click to cancel) and confirm Cancel booking to free the slot.
Instrument queue#
Instrument queue lists, for every online device, how many people are waiting and each person's position (#1, #2, ...) with the time they joined. If you are in line it shows Your position. Join queue and Leave queue are on each device.
This queue is about who gets the instrument. It is separate from the Experiment Queue, which lists the experiments you run once you have it.
Courses#
Note
Courses is a tab of its own that appears only when an administrator has turned on Teaching features (Settings, Appearance), and only on a self-hosted lab gateway. With the setting off, or on TQT Connect, nothing about courses is shown anywhere on this page.
A course ties a class to the lab's instruments. Instructors create it with New course (a gateway administrator can restrict that); students join with Join and the enrolment code the instructor gives them, or arrive through an LMS. You are an Instructor, TA or Student in each course.
Instructors and TAs get four sections:
- Assignments: create an assignment with instructions, a deadline, a rubric and an optional report template; Distribute dataset shares a project with the students, encrypted in the app, and publishes it. Whether the gateway administrator can read it depends on the course key mode (see Teaching). An assignment can be unpublished again, and an instructor can delete one that has no submissions. Review & grade lists the submissions: score the rubric, comment (threads can be resolved), approve, request changes or reopen. Saving a grade releases it to the student; Release grade can withdraw or restore it, and approving the submission releases it.
- Approvals: when the course requires approval, queued experiments wait here for Approve or Reject, with an optional note to the student.
- Members: add people by username, change their role, remove them, and (with an LMS) sync the roster.
- Instrument time: this week's use per student against the quotas, and the class slots booked for the course.
Settings (instructors) holds the weekly limits per student (experiments and minutes; empty means no limit), whether students need approval before running, the enrolment code (new code, or turn code enrolment off) and Archive this course. A gateway administrator also chooses the course's Instruments there, or on the web admin's Courses page. Limits, approval and class slots apply only to students, and only on those instruments; everyone else uses them as before. Export grades (CSV) downloads the grade book.
Students see their assignments and their own feedback, and Instrument time for the course. Submitting encrypts the project, and an attached report and Neutron log, to the course staff and to you. A student cannot leave a course that governs instruments; ask the instructor to remove you.
Running on a course instrument. When you press Start session or Join queue on an instrument that belongs to one of your courses, a small dialog asks which course the run counts against, what you are running and how many minutes you need. The instructor sees the label and minutes when approving. The gateway can refuse with a reason shown in your language: approval still pending, this week's experiments or minutes used up, a class booked into the instrument, or more than one course to choose from.
Class slots. In Instrument reservations, an instructor or TA of a course with instruments sees Book for in the booking dialog: choose Class slot for the course to reserve the instrument for the class. While a slot runs, only that course's members (and administrators) can start a session there; time in a class slot does not count against quotas.
Back up teaching.key
Comments and review notes are encrypted at rest with a key the gateway creates at start-up in data/teaching.key (the teaching.key_file setting). Back it up together with the database. Without it those texts cannot be read and the gateway refuses to start; do not delete it or replace it with an empty file.
Sharing and backups#
On the sharing tabs, items travel as encrypted packages. You can share projects, scans, samples, sequences, analyses, schedules, processors and report templates. To send one, use the share button on the item (for example in the Data Browser), search for Recipients, optionally add a Label, and press Share. For projects you can Include this project's scans. People who have not signed in to NucleI yet are listed as waiting and receive the item automatically at their first sign-in. When a share goes to several people, or to someone who is waiting, it is encrypted to a key for that group; the share dialog notes who is waiting. The share dialog and the review request dialog show Key with the way it is held (Held by the gateway or End-to-end) and let you change it for that send, unless the machine policy (Fixed by policy) or the gateway (Fixed by the gateway) fixes it; TQT Connect is always end-to-end. The gateway administrator's setting group_keys.custody, and the groupKeys key of the machine policy, decide whether the gateway holds those keys; see Who holds group keys. Sharing to TQT Connect requires Sign in with your website account, and you choose the Organization when you have several.
| Tab | Contents |
|---|---|
| Shared with me | Packages sent to you. The sender's key shows as Trusted key or New/unrecognized key. Import adds them, and Replace items that already exist overwrites same-named items after a warning. A review package sent through the gateway arrives here too; open it from Review → Import package. |
| You shared | What you sent, how many recipients have imported it, and Revoke. Revoking stops further downloads; copies already imported stay with the recipients. |
| Backups | Encrypted copies on your own account (Send to myself), restorable with Restore on any of your devices. Deleting a backup is permanent. A backup made on one computer opens on another only if that computer was registered when the backup was made — unless you set up a recovery key (below), in which case the phrase unlocks it anywhere. |
A package may show Waiting for one of your other devices if it was shared before this profile was linked to your account. It becomes available once another of your profiles opens TQT Connect.
Backup recovery key#
New backups are encrypted to every computer registered on your account at that moment, so an older backup may not open on a computer added later. The backup recovery key closes that gap (it is separate from the profile recovery key used to open an encrypted profile on another PC): Backups → recovery-key button → Set up creates one and shows 24 words exactly once — write them down. Every backup made afterwards can additionally be unlocked with the phrase. On a new computer with no usable backup, choose I already have a recovery phrase, enter the 24 words, and refresh Backups: the old backups become restorable, and the computer re-encrypts them to its own key so the phrase is not needed again. Only backups made after the setup carry the recovery key; rotate it by setting up a new one, which leaves earlier backups on the old phrase.