Sign in
Sign in with your email, Google or GitHub, in the browser and from the CLI, and what each role in a workspace may do.
Warnings and limits
- Fluid is open to anyone with a verified email address.
- Never paste a token into a chat or a command line.
fluid loginapproves the CLI in the browser and stores its credential itself. - Sensitive actions (connections, secrets, settings, agent tokens, approving a machine or a terminal) need a sign-in from the last 5 minutes. Inviting, changing a role, removing someone, leaving and renaming a workspace need one from the last hour.
- A console session ends after 12 hours without use, and after 7 days in any case.
- A device code lasts 10 minutes.
In the browser
Open fluid.sh/app and continue with your email, Google or GitHub. With email, Fluid sends a code to the address; it keeps no password. A Fluid account is its own: it is not a Clusy notebook account, and signing in to one does not sign you in to the other.
The session lasts while you use it: it is renewed as you work, ends after 12 hours without use, and after 7 days at most.
From the CLI
fluid loginThe browser opens on an approval page that names the machine and the workspace. Approve it, and the CLI receives a credential of its own and stores it. You never see or paste it. The page then says the terminal is connected, and you can close the tab.
| Option | When to use it |
|---|---|
--no-browser | Prints the approval page instead of opening it, so you can open it on any device. |
--device | Uses a device code: the terminal shows a link and a code like ABCD-EFGH. The link opens the approval page with that code on it; compare it with the terminal's before you approve. Nothing is typed. The code lasts 10 minutes. Over SSH or in a container, fluid login does this by itself. |
--reauth | Starts a fresh sign-in instead of reusing the current one. |
fluid setup signs in the same way when no sign-in exists. The CLI's credential renews itself every 15 minutes and lasts until it is revoked. You can revoke it in the console under Settings, Agents.
Fresh sign-in
Some actions need a recent sign-in. Adding or changing a connection, storing or deleting a secret, changing settings, making an agent token and approving a machine need one from the last 5 minutes. Approving a terminal's or a coding agent's sign-in, inviting someone, changing a role, removing someone, leaving a workspace and renaming one need one from the last hour. The console asks you to confirm it is you, and the waiting action goes ahead once you have.
Workspaces and roles
Each admitted person gets a workspace of their own, as its Owner. An Owner invites other people into it, and they join as Members, or as Administrators where the Owner picks that. See People in a workspace. What each role may do:
| Role | May |
|---|---|
| Viewer | read jobs, logs, usage, connections and settings |
| Member | also run, move, suspend, resume and stop jobs, use stored secrets by name, and make agent tokens with read and jobs access |
| Administrator | also add, change and remove connections, secrets and enrolled machines, and delete jobs from the history |
| Owner | also change settings, approve machines, clean up leaked resources, manage the plan, rename the workspace, and invite and remove people |
The console gives the roles Owner, Administrator and Member. Clusy sets Viewer on request.
Agent tokens
A coding tool or a script can use an agent token (ptl_...). Anyone in the workspace but a Viewer makes one in the console under Settings, Agents:
- its access: read, run jobs, or run jobs and manage connections, as far as your role allows: a Member's tokens read and run jobs. An agent token is never given admin access;
- an optional budget, which caps each job the token starts;
- how long it lasts: 1, 7 or 30 days (7 by default).
The token is shown once. Revoke it under Settings, Agents. fluid setup and fluid login make a sign-in of their own for the CLI and its coding tools, so most people never need a token.
Install the CLI
Install fluid on macOS, Linux or Windows (through WSL) with one command, and what the installer does.
People in a workspace
Who is in a workspace and what an Owner and a Member may do, how to invite people and accept an invitation, changing a role, removing someone, leaving and renaming a workspace, and working in several workspaces from the console and the CLI.