Skip to content

Set up your team ​

About 15 minutes.

Note

An owner or admin of your Raft server does this once.

Installed Stamp in Raft?

After a server installs Stamp in Raft, Stamp's entry in the server's installed Apps can offer "Continue setup" (later "Manage configuration"). It opens Stamp's setup page for that server (/setup?server=…), which signs you in and walks through Steps 1 to 3 below (Step 4 is telling your agents). Raft shows the setup as complete once the GitHub App is configured: someone on the server has connected GitHub and a GitHub App installation is bound to the server. Agents signing in is not part of setup; the page shows how many have signed in. Only an owner or admin's visit updates the status Raft shows. Raft does not tell Stamp when Stamp is installed again on a server, so Stamp's setup page asks Raft whenever it is opened: if Stamp is no longer installed there, the page's "Stamp is set up" banner says so instead of "Raft now shows Stamp as ready"; if it was installed again and Raft shows the setup as not finished while Stamp is set up, an owner or admin opening Stamp's setup page (from Raft's link or not) reports the current status to Raft. Uninstalling Stamp in Raft (or deleting the server) ends Stamp access on that server: Raft tells Stamp, and Stamp signs the server's agents and people out there (their sessions, CLI sign-ins and SSH keys), and their approvals given before no longer count. The act-as grants its people gave to agents on other servers end for good too. It does not narrow the repositories Stamp works on or delete their data; those follow the GitHub App (Data retention). After installing Stamp again, everyone signs in again.

Step 1: Sign in to Stamp ​

Go to stamp.build, choose "Login with Raft" and pick your server. Once you are in, the address reads stamp.build/s/<your-server>/…; links you share with your team carry that prefix.

From a server's setup page, "Sign in to your server with Raft" signs you in to that server only: Raft's sign-in page lists just that server. To sign in to one more server, choose "Add another server" in the account menu and pick the server on Raft's sign-in page; Stamp then brings you back to the list you chose it on (home, Pull requests, Requests, Repositories or Insights, which then show the new server too); a list you narrowed to one server stays narrowed. From any other page, or one whose address names a server (?server=), you land on the home page. If you pick a server you are already signed in to, Stamp keeps your sign-in as it was and says so. If you leave Raft's sign-in page without choosing a server, you stay signed in to the servers you already had.

A link to a page of another server opens it once this browser is signed in to that server. If it is not (a link a teammate shared, say), Stamp first shows a page that asks you to sign in to that server; "Sign in to server" signs you in and then opens the page. Where opening the page would switch the server this browser is on, a link on another website never switches by itself: the same page asks first, with "Switch to server", as it does for a server you are signed in to as two people.

Opened from the Apps entry of Raft's desktop or mobile app, Stamp signs you in by itself. If you already agreed to Stamp on the server you opened it from, Raft lets you straight in; the first time, Raft asks you to agree. Choosing Cancel there brings you to Stamp's sign-in page. After you sign out in such a tab, Stamp waits 10 minutes before it signs you in by itself again. In any other browser or tab, a signed-out Stamp shows its sign-in page as before.

With Raft's account sign-in (rolling out), Stamp checks with Raft about once a minute while you use it that you still allow Stamp, and on which servers and with which role. Stamp keeps no Raft token of yours. Revoking Stamp in Raft signs you out of Stamp everywhere, the command line (stamp login) included, at your next use a minute or more later; leaving a server ends your sign-in there; a role Raft changed applies at once. If Stamp cannot get Raft's answer for 5 minutes, your requests are refused until it can (safe to try again), and nothing is signed out.

The language you choose in Stamp (Language in the account menu, or Settings › Appearance & language) applies to everything Stamp writes in the web app, on every server and in every browser you use; "Follow system" follows your browser's language.

Step 2: Connect your own GitHub account ​

Choose "Connect GitHub".

The setup page at the step Connect your GitHub account: what Stamp does as you on GitHub, a note on how your token is kept, and the Connect GitHub buttonThe setup page at the step Connect your GitHub account: what Stamp does as you on GitHub, a note on how your token is kept, and the Connect GitHub button

Connecting records your Stamp approvals on GitHub under your own name, backs act-as requests that name you, and lists the GitHub installations you manage in the next step.

Wherever you choose Connect GitHub (the setup page, a banner, a request or pull request page), Stamp brings you back to that same page once GitHub is done, not to the home page. This holds for another server's Connect GitHub too: you come back to the page you were on, not to that server's home, and a list that shows all your servers still shows all of them.

Your GitHub connection belongs to your Raft account (rolling out): one GitHub sign-in serves every server you use Stamp on that uses the same GitHub App. Settings → GitHub lists every server and how each is connected. A server that still uses another GitHub account of yours offers "Use @login on server": Stamp ends that account's sign-in there and uses your Raft account's GitHub account. "Disconnect GitHub" ends your GitHub connection on every server. Until your connection moves to your Raft account (at your next GitHub sign-in once it is turned on for you), each server keeps its own.

Step 3: Install the GitHub App ​

Stamp reaches GitHub through a GitHub App. "Install the GitHub App for your server" lists the GitHub accounts and organizations with Stamp installed that you manage:

  1. Pick one under "Choose an account or organization to bind", choose "All repositories" or "Only selected repositories", then "Bind to this server".
  2. Not listed? Under "Don't see your account or organization?", choose "Install Stamp on GitHub" and pick the organization and repositories there. Returning to Stamp binds the installation to this server.
  3. If your organization requires third-party App approval, an organization owner approves the installation on GitHub first; then reopen the page and bind it under "Choose an account or organization to bind". From the setup page, an install you start on an organization you do not own becomes GitHub's request to its owners: the step says it waits, and once an owner approves it on GitHub, Stamp connects it to this server by itself and messages you (details).
  4. Choose "Continue". Bound installations appear under "Bound to this server" and in Settings → GitHub (/settings/github).

"Skip for now" lets you look around first, but no repositories show and agents cannot push or open pull requests until an installation is bound.

From Raft's setup page

On the setup page Raft's "Go to setup" opens, the install step asks where Stamp goes before it leaves for GitHub: "Your account" (the GitHub account you connected) or "An organization" you name. Stamp checks the name with GitHub first and opens GitHub's install page on that account, so GitHub does not ask again; coming back, Stamp binds only an installation on that account (one on another account is not bound, and the page lists it for you to bind). A name that is not a GitHub login (at most 39 letters, digits and single hyphens, none at either end) or that GitHub does not know is refused on the spot: you stay on the setup page, which says why, and nothing is started. While you are signed in, "Back to Raft" returns to Stamp's page on your server in Raft. Once it is done, the step lists every GitHub account the server is connected to, with its number of repositories.

The setup page for an owner of a server that has no GitHub App yet, at the step that connects the server to GitHub: the GitHub organization Stamp is already installed on, with the button Use this organizationThe setup page for an owner of a server that has no GitHub App yet, at the step that connects the server to GitHub: the GitHub organization Stamp is already installed on, with the button Use this organization

Repositories added or removed on GitHub later sync automatically. See The server's GitHub App.

Step 4: Sign your agents in ​

Once the Stamp integration is installed for an agent in Raft, tell it:

Read https://stamp.build/llms.txt and follow it to sign in to Stamp.

The agent installs the CLI, signs in under its own identity, and can then push code and open pull requests.

An agent you run yourself outside a Raft computer (an external agent with raft agent login) signs in the same way once RAFT_PROFILE is set in its environment: stamp login runs through its raft CLI, with no browser.

Claude Code, Codex or Cursor on your own computer, with no Raft at all, gets its own identity with stamp agent login (CLI 0.18.0 or later), which you approve in the browser: see Agents on your own computer.

Step 5: Check it works ​

  1. In Settings → Merge queues, choose "Open" next to your organization, and check that the expected repositories are listed under Queues or Repositories without a queue.
  2. Ask an agent to open a test pull request. It appears on Stamp's home page with the agent as its author (on stamp.build, you can also replace github.com with github.stamp.build in a GitHub pull request or repository link to open it in Stamp).
  3. Choose "Approve" on the pull request page. If the agent turned auto-merge on, it merges once CI passes.

Optional: post GitHub events to a Raft channel ​

Stamp's bot can post a repository's pull requests, reviews, CI failures and releases into a Raft channel, one thread per pull request. A server owner or admin grants Stamp's bot on Raft first, and someone adds the bot to the channel. Then add the channel in Repository settings › Notifications. See Channel notifications.

Optional: use the command line yourself ​

People can also use the stamp CLI to list or approve pull requests from a terminal:

  1. Install it: npm i -g @botiverse/stamp-cli (or curl -fsSL https://stamp.build/install.sh | sh).
  2. Run stamp login to get an address and a short code.
  3. Open stamp.build/device in a browser signed in to Stamp, enter the code, check that the named computer is yours, and choose "Approve". Only a member, admin or owner of the server can approve (a guest cannot), and the sign-in lasts at most 90 days before stamp login is needed again. A link with the code in it (stamp.build/device/<code>) opens the same page with the code filled in; nothing is read until you choose "Continue", and a code that matches nothing says "No login is waiting for this code" there.

The CLI stores and renews its own session on that computer; stamp whoami shows who is signed in, and stamp logout ends the session. Each computer signed in this way is listed under Settings → My agents, where you can sign it out; see My agents. In CI, set STAMP_TOKEN instead, which always takes precedence over a stored session.

If you get stuck, send us the message shown on the page; it usually states the next step.